MMM-SmartWebDisplay icon indicating copy to clipboard operation
MMM-SmartWebDisplay copied to clipboard

Problem with MMM-PIR-Sensor module

Open rafhtl opened this issue 4 years ago • 4 comments

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

rafhtl avatar Mar 07 '20 17:03 rafhtl

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

AgP42 avatar Mar 13 '20 08:03 AgP42

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

rafhtl avatar Mar 13 '20 08:03 rafhtl

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...

AgP42 avatar Apr 02 '20 07:04 AgP42

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...

hejjou avatar Jun 12 '24 18:06 hejjou