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 gw

    gw 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


  • Admin

    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.



  • Jeah this is very cool!

    My Idea is to change the sleep time when iam not at home or in the night.

    Do you know the release time for 1.6?


  • Admin

    @n3ro said:

    Do you know the release time for 1.6?

    Sorry, never give estimates on open source project development. Heck, even hate making estimations for real customers on my dayjob 😉


Log in to reply
 

Suggested Topics

0
Online

11.2k
Users

11.1k
Topics

112.5k
Posts