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.- 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 - 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?
- I have a Switch command and it is working without sleep() perfectly.