Gateway queue commands
-
Hey folks,
is it possible to queue commands on the gw to send it to the node later (like zwave)?
cenario:
1x battery powered node
1x mysensors gwgw send "turn light on" to node (queue)
node is in deep sleep...
...
...
node wakes up and connect to the gw
gw transmit "turn light on" to the node
...regards
n3ro -
Yes, with some changes when going/waking up from sleep. Did a proposal here (smartSleep):
https://docs.google.com/document/d/1NKq5uuNdnxF5jWnum7VT32mbKLjuvqlx2A5D1qQ-H3Q/edit#Bu the gateway won't be able to buffer outgoing commands, this have to be implemented on the controller side.
So basically, when controller receives a heartbeat message it sends the buffered commands. Node always send a heatbeat message after waking up and wait a a couple of 100 msec before going back to sleep.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login