OK, I have fitted the auto folding mirror that I bought on ebay Intelligent Auto CAR Rearview Side Mirror KIT Folding System HOT UK STOCK | eBay
I originally thought it would be easier to do this fitting 2 modules, 1 in each door. But on further investigation 1 is enough
You need to connect 4 wires to the mirror switch, 2 wires to the locking, 1 to earth, 1 to permanent 12v & 1 to ignition.
I have wired mine up so that the mirrors fold when I deadlock the car i.e. 2nd press on the remote lock button. This way I don't have to fold them if I know we are due a dumping of snow and risk them freezing solid & burning motor out.
I spent a bit of time trying to locate the locking wires in the car, but couldn't so decided to run these & the permanent power from the drivers door. Bit of fiddle getting wires through the grommet. I removed the speaker to help access.
To remove the mirror switch I removed the A pillar trim and then popped the dash out that holds the air vents & mirror switch as this made removing the switch easy and gave better access to the wires.
Deadlock - Purple to Blue module wire
Unlock - Yellow to Green module wire
(ignore the black wire, I was going to earth unit here, but easier inside car)
Permanent 12 Volt - White (biggest wire in loom) in window switch loom to Red module wire.
Mirror switch wires...
side to White module wire
side to brown module wire
side to Grey module wire
side to orange module wire
NOTE, there are 2 lots or red & blue wires. Look at the pic for location and test them. With ignition on one of them will have power and when you press the switch in the power swaps to the other wire. If you have a multimeter the polarity changes from negative to positive and vice versa.
Ignition - Brown to Yellow module wire
Module Earth to 10mm bolt on bonnet catch bracket
I cable tied the module to a big fat loom under the dash.
All of this was correct for my car (2009 CRV ES) and the module I bought, but you should double check all the wires before connecting yours in case module wire colours differ or module works in a different way.