does anyone knows how to send shutter device UP,DOWN,STOP to a mysensors node?
is use the following in my sketch:
if (message.type == V_UP) {
Serial.println("opening up covers");
}
else if (message.type == V_DOWN) {
Serial.println("closing up covers");
}
else if (message.type == V_STOP) {
Serial.println("stopping covers");
}
And this roule
if position of dummy-shutter is up then send custom “V_UP” nodeid: “10” sensorid: “0” cmdcode: “1”
This is my node-Output:
read: 0-0-10 s=0,c=1,t=32,pt=0,l=4,sg=0:1
send: 10-10-0-0 s=0,c=1,t=32,pt=0,l=4,sg=0,st=ok:1