MMM-SmartWebDisplay
MMM-SmartWebDisplay copied to clipboard
Problem with MMM-PIR-Sensor module
Could you please add a config variable example: updateonUserPresence: false
if (notification === "USER_PRESENCE" && updateonUserPresence)
I have a problem, every time PIR reads USER_PRESENCE and refreshes web page continuosly thank you
Hello,
not sure to understand your need, you have a PIR sensor but you don't want to use it for MMM-SmartWebDisplay, right ? So why do you use it for ?
Thanks, AgP
I use it to put the Magicmirror to sleep and then wake up when some one is present
Now every time someone moves in front of it it keeps refreshing your module so I need this option if possible thank you
Sorry for the delay, did this problem occurs after the last module update?
I guess there is a regression, I accept a PR without full tests. I should take some time to look at it...
I think I'm experiencing the same problem. I have updateInterval and NextURLInterval set to 0 since I only switch urls using user input and don't want it to switch automatically. That works fine (almost, but that's another issue). However I need to see when the url has been switched so I have displayLastUpdate set to true. Unfortunately as @rafhtl I also use MMM-Pir to turn off the screen when I'm not there. But when the Pir turns on magic mirror again LastUpdate is set to current time. I need to find a way to avoid that...