I need a dual communication example...
-
Hello. I'm newbie with mySensors. I need my sensor nodes to be able to transmit their states (as Humidity sensors, for example), but most of the time they'd been waiting (and listening) for instructions from the gateway. I'm sure it's a common issue, but I can't find an example doing that: Nodes waiting for instructions from the GW, and reporting state every XX seconds to the GW.
Thanks a lot in advance
-
There are multiple examples doing just this.
You can look at the RealyWithButtonActuator for instance.
-
My sketches just do this, they are waiting for commands and they sends updates to the gateway periodically: http://forum.mysensors.org/topic/2747/home-automation-multi-sensor-nodes
You may modify them to update the relays status or not.