@viktorzonix again 404 … Yesterday it was visible - for a short time.
Unfortunately I’ve missed to clone :-(
@LuckyDucker - something is really strange with your github …
Regards,
Ralf
@viktorzonix again 404 … Yesterday it was visible - for a short time.
Unfortunately I’ve missed to clone :-(
@LuckyDucker - something is really strange with your github …
Regards,
Ralf
Dear @Peter,
Yes fully understood…
Without context - and may an answer regarding my questions - It‘s really hard to help.
Warmest regards,
Ralf
Dear @Peter,
I can imagine that this is a restriction of your hardware.
I’m not THAT system specialist but as far as I remember there are some limitations regarding environment and software versions on Pi2b …
Because the “actuality” of used libgpiod this may doesn’t work on this specific hardware.
I can imagine Sam (@sdetweil ) can deliver a more precise statement on this.
On pi4/5 with “current” MM versions this works - and yesterday I got feedback regarding a successful installation.
Is there any log-entry which can be useful here?
Is the right GPIO configured for PIR?
Is the PIR sensor functional / calibrated?
Is power/ground connected to PIR?
Is power supply sufficient and working?
Regards,
Ralf
Don‘t forget to go to the target module directory before installing!
cd MMM-Tronity
Ralf
@bradley1982 this is easy :-)
Your terminal states the error.
You have to issue:
npm install
The „run“ produces the error .
Good luck!
Warm regards,
Ralf
@schlomm
This is really cool.
Awesome that it works as designed…
(Was a little bit afraid that especially postinstall will fail and module doesn‘t work as expected…)
So thanks for (first !) confirmation for working module!
Warmest regards,
Ralf
Dear MagicMirror-ians
As may already known I was a real fan of MMM-Pir.
For also good known reasons this nice module is not longer maintained.
I have a local clone which runs OK but in the meantime I had switched to MMM-MQTTScreenOnOff wich attaches a “better” (radar-) sensor to my mirror. But I’ve missed the progress bar, the dimming and cron-like functionality. In addition the radar sensor is much slower than PIR- caused by a 5 second update intervall as minimum.
After plenty of tinkering and testing, and above all torturing AI heavily I’m excited to announce: MMM-PresenceScreenControl is finally out! 🎉
This module brings together the best of both worlds:
• The beloved timer bar and auto-dimming from MMM-Pir,
• The reliability, MQTT support, and simplicity of MMM-MQTTScreenOnOff,
• All cleaned up, without unnecessary complexity, cryptic cron strings, or weird build tricks.
A few highlights:
• Presence detection with PIR, MQTT, or both (whichever triggers first wins)
• A visual timer bar so you always know how long the screen will stay on
• Straightforward “ignore” and newly introduced “always-on” time windows using plain times and days—no cryptic cron needed
• Customizable screen on/off commands—works on Pi, PC, X11, Wayland, CEC, and more
• Touch mode for remote or manual override (yes, you can poke your mirror awake remotely!)
If you’re after spinning circles or relay magic, this isn’t your thing (yet 😉).
But if you want a solid, readable, and maintainable presence module that just works—even (hopefully) after updates—this is for you.
Give it a try, share your feedback, open pull requests, or ask questions right here or on GitHub:
Happy mirroring!
Ralf
@sdetweil Dear Sam,
I was able to get this done - to my big surprise …
As announced, I just have pushed it to git and will post a corresponding message tomorrow.
Do I get it right that it is recommended to edit the modules page as well?
And the 3rd Party Modules page then will populate by itself, right?
Thanks!
Warmest regards,
Ralf
@schlomm I’m absolute beginner …
Had HEAVILY used AI to get this done and have recycled a LOT.
GPIO part is from old (discontinued) module MMM-Pir from Bugsounet.
This is reflected in pirLib.js - sliightly modified for my purposes.
I do have a repository - pushed literally minutes ago …
Feel free to have a look.
Buttons should work with some modification. Essentiall for my purposes I simply query state of a single GPIO pin - to which a PIR sensor is connected. Code must be enhanced to handle more than one pin - if you are talking about “butons” - which signals plural…
As mentioned such modification should be doable with AI as well.
[ EDIT : My system is a raspi5 / bookworm as well - this is main reason for some difficulties. Some procedures simply doesn’t work anymore with new libraries and I had to change implementation…]
Good luck!
Warm regards,
Ralf