first please remove all your apikey on your post before
I see that you also use the MMM-PIR-sensor module, with a delay of 100s, this is probably the root cause of the strange behavior that you saw.
Let me explains you my analysis :
Here is how this sensor work (Source) :
The delay of detection or non-detection as to be set directly on the sensor !
So your sensor will sent to the module “MMM-PIR-Sensor” 2 possible states “HIGH” (presence) or “LOW” (no presence).
Each time the MMM-PIR-Sensor will receive a modification of the sensor status, it will sent immediately (to everyone, so to MMM-SmartWebDisplay too) a notification saying “USER_PRESENCE=true” or false.
Developer Notes (MMM-PIR-Sensor) This module broadcasts a USER_PRESENCE notification with the payload beeing true or false you can use it to pause or disable your module.
The “powerSavingDelay” is applied after this notification is sent to everyone.
And my module “MMM-SmartWebDisplay” use this notification to stop and restart the update timer.
So by setting 100s of delay on the MMM-PIR-Sensor module, it probably totally mix up all the update timer management of my module.
A small example :
- Nobody in front of the mirror for long time, so Mirror is off
- you arrives close to the Mirror, that activate the PIR sensor, the Mirror wakes up and MMM-SmartWebDisplay also wakes up, update the html page to display and set a new refresh in 1 min (because you configure it with 1min)
- your sensor doesn’t detects you anymore : during 100s, so 1min40s your Mirror will stay ON without any notification (because you desactivate “powerSavingNotification”), but MMM-SmartWebDisplay (and all other modules) received the notification “USER_PRESENCE=false”, so MMM-SmartWebDisplay stops the update of the html page.
- if your sensor detects you again during this 100s, then you should see the update of the html (directly when the sensor will send the info to the Mirror) --> Do you confirm this ?
So for me your problem is on the adjustment of your PIR sensor and the value you set for this module configuration. You can follow this very good page to adjust correctly your sensor : PIR sensor
Personally I adjust the detection delay on the sensor itself and I just set 10s of “powerSavingDelay” after a notification (powerSavingNotification: true).
I hope my explaination was clear enough !
Good luck and let me know if you still face issues,