Help with smartSleep()

  • Hi,

    I would like to use smartSleep(). I saw that it is implemented with the method smartSleep(mils).
    But I can't get it to work with MQTT on my Raspberry.

    1. I have a Switch command and it is working without sleep() perfectly.
      I mean the mqtt message is received in my node.
    2. Next I set up the node with smartSleep and it is sending a heart beat message every 10 seconds.
      But no Switch command that occured while smartSleep() is received now or resend by the gateway after te heartbeat.

    Do I miss anything, do I have to activate something in the MQTT-Gateway on my Raspberry?

    Ahhh I read that the controller has to support it. That is in my case OpenHab 2. Does anyone has a solution for that?

Log in to reply

Looks like your connection to MySensors Forum was lost, please wait while we try to reconnect.