I’m pretty new to home automation. I’ve installed a Nest and an OpenSprinkler in my home, pretty basic stuff. I’m now working on a prototype for an automated shade.
I’m trying to use a Spark Core and Relay shield to operate a Somfy L50 . I’ve successfully been able to turn on and off a lamp using my phone and the core/relay shield.
Please see the images below.
The green wire is the ground (no problem, i get that). The white is the common.
When I send power to the white and black wire (from an outlet plug) the shade rolls up. Then when I switch up the wires and send power to the white and red wire, the shade rolls down.
My question is, how can I wire this to the relay board? I’m thinking one relay to go up (black wire) and one relay to go down (red wire). But i’m not sure how to handle the power/common wire.
Does anyone have suggestions on how i would need to wire this?