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
  • 2
  • 17
  • 3
  • 20
  • 8

0
Online

11.4k
Users

11.1k
Topics

112.7k
Posts