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
 

Suggested Topics

  • 4
  • 9
  • 274
  • 5
  • 933
  • 2

0
Online

11.2k
Users

11.1k
Topics

112.5k
Posts