Adding Relay tutorial
Is there a tutorial on how to add a relay for power on/power off anywhere? I just wasted 3 hours bumbling around rules/custom widget butons/operations etc but can't find a way to do it.
I just want a button to toggle a relaly node (or could be 2 buttons with on and off). The relay node shows up, but no sensors (guess it's not really a sensor though is it?). I tried to add manually, but still didn't work....
What is the correct way with easy steps please?
I did some testing, and this one works great for me!
just make sure you use the correct pins for your relays, and the count of relays....
You can setup on/off switches in your dashboard to control the relays
(i modified this sketch to make a 433MHZ gateway to control remote switches)
Hardware is built and communicating with gw. What I can't see is how to set it up in myc.
Where do you add the buttons to control the relay?
the node shows in MYC, but not the relay itself? How to add it?
This is where I am stuck!
If you look at Resources --> Nodes --> the relaynode
How many sensors show up here:
if you click the number you should see the presented sensors.
This is where we need to start,
if there are no sensors, your sketch is most probably not working correctly
All working - THANK YOU SO MUCH!!!
It was missing 'status' in the variable type....now i can build more!!!
If you come to the UK I will buy you a beer!
Might keep you to that one
virtual one for now
It was sooooo simple in the end. But I never would have guessed that 'status' would have been the variable type. I was looking for binary,0,1, even on,off...but status? Where does that come from?
Tested the 'local override switch' and that works - switches realy and updates myc dashboard.
Finally I feel like I might be getting somewhere with all this!