I'm working on a project for my car. In it's stock form, my car came with a deployable spoiler. I replaced it with a fixed spoiler. With the deployable spoiler, the chassis ECU sends 12VDC to the motor, but the polarity of that signal is controlled by two microswitches in the mechanism. If the ECU sees that the stowed microswitch is closed, it sends 12VDC +/-. It then waits until the deployed microswitch closes to stop the voltage to the motor. Conversely, when it sees the deployed microswitch closed, it sends 12VDC -/+ (opposite polarity) to the motor until the stowed microswitch closes.
I need to emulate this or the car's performance is degraded significantly. There is a fixed spoiler option when you buy the car, and when that option is selected, the car comes with a little box that replaces the actuator motor and emulates this function. Unfortunately, that little box costs almost $600. I think I can emulate this with a couple relays and a latching relay, but I was hoping there was a latching relay out there that used voltage polarity to latch rather than a set/reset. Has anyone seen a latching relay like this? Anyone have any suggestions? Thank you.
Here is the wiring diagram of the spoiler:

I need to emulate this or the car's performance is degraded significantly. There is a fixed spoiler option when you buy the car, and when that option is selected, the car comes with a little box that replaces the actuator motor and emulates this function. Unfortunately, that little box costs almost $600. I think I can emulate this with a couple relays and a latching relay, but I was hoping there was a latching relay out there that used voltage polarity to latch rather than a set/reset. Has anyone seen a latching relay like this? Anyone have any suggestions? Thank you.
Here is the wiring diagram of the spoiler:




