mboskamp / MMM-PIR

This MagicMirror module monitors a PIR sensor and turns on/off your display. You can even run custom scripts and control it via Telegram.
16 stars 6 forks source link

MagicMirror doesn't wake up on Sensor after X amount of time #15

Closed M08IUS0NE closed 4 years ago

M08IUS0NE commented 5 years ago

Good afternoon (or morning or evening!),

I'm running into an issue that seems to be consistent throughout either of the two PIR modules I use. The module works great for a short period of time: Walk up, sensor detects movement, wakes screen up, do my mirror things, walk away from the mirror, eventually doesn't detect new motion, goes to sleep once timer expires. I can do this consistently on time frames of less than 5-10 minutes. If I let the system run longer than that though, if I try to go wake the mirror up, I get nothing. Nothing responds, no camera, no voice, no motion, nothing. Only thing I can do is hard reset by pulling the plug and powering it off/on again.

I've seen this issue crop up a couple other times from some users but none of the fixes I've tried have had any effect. This is the LAST bug I'm trying to squash so that my mirror is fully operable and I won't have to constantly reset it every morning or something. Any assistance would be appreciated. As additional, I've tried installing xscreensaver, I've modified several different directories as per other's suggestions, all to no avail. Please let me know what I can do to add to help diagnose what the issue is and so we can rectify it (for me and possibly others!).

Raspberry Pi 3 b+ Raspbian Buster If you need anything specific from my config file, please let me know.

M08IUS0NE commented 5 years ago

Update: Figure I would update this. Still having the issue, but I was still getting sensor/Pi response after about an hour of inactivity. Pi still goes into this "sleep/hibernation/locked" mode after a certain amount of time, albeit I only notice it after going to bed and waking up 6-7 hours later.

M08IUS0NE commented 4 years ago

Even after deactivating these modules, I'm still getting freezing. Looks like a potential memory leak or other issue from another module. Closing