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.
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?
The green and white wires don’t need to go through relays–they are just connected to same color wire on your AC wall plug, white to white and green to green.
The black wire from the wall plug goes to the common terminal on TWO relays and the black and red wires from the motor go to the the NO terminals of these two relays. Obviously don’t turn them both on at the same time or the motor will burn up.
I spent part of the day, in the man cave. It isn’t pretty, but i’m wired up. I was able to run the motor up and down with the Spark App. I’ll start coding against my prototype on Monday.
I think this is a very interesting project–thanks for posting the pictures!
Wow, is that a big motor. I have been thinking of doing something like this for one of our bigger shades but it would be a bit retrofit.
Were you able to buy the motor without the Somfy IR/RF module or are you just not using that part?
@peekay123 is right about using a plastic box in two ways–the relay board is not insulated and the core needs WiFi RF signals.
Your prototype wiring looks great but for the in-the-wall service you should use something like NM-B 14/3 wire which is 14 ga wire with 3 conductors and ground. This will usually have black, red, white and bare wires.