|
Post by backonline on May 13, 2015 22:10:35 GMT
I have to say that the openhab and mqtt explanation/examples are very bad.
So i need some help here.
How can i have a switch in openhab that controls a lamp but the same switch gives me feedback if that lamp it's ON or OFF?
My problem is, i can control a lamp remotely, but if i locally turn on the light, the switch on the openhab goes on and at the same time it sends one message to turn on the light, because that same switch was turn on.
i can find examples to send and receive data but cannot find one that can do both.
can someone point me in the right direction??
Many thanks
|
|
|
Post by gandalph on Jun 2, 2015 15:11:54 GMT
means if you locally turn on the light the lamp has to communicate upstream that its status has changed... (pro mini+buttton+relay+rfm?)
|
|