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.
      mysensors-in/11/2/1/0/command
    2. Next I set up the node with smartSleep and it is sending a heart beat message every 10 seconds.
      mysensors-out/11/255/3/0/22
      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
 

497
Online

6.9k
Users

7.8k
Topics

82.7k
Posts

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