Read the statement by Michael Teeuw here.
PIR / MQTT - Presence sensor(s) revived
-
@rkorell your welcome…;-)
-
I’m looking forward for the startupGracePeriod parameter and think this is going to make the module fully as I like it.
Good news — your wish came true faster than expected! 😊
v1.5.0 is released and includes the startupGracePeriod parameter you were looking forward to.
How to update:
cd ~/MagicMirror/modules/MMM-PresenceScreenControl rm -rf node_modules git pull npm installThen add to your config:
startupGracePeriod: 30, // seconds to keep screen on after startupSet it to however many seconds you want the screen to stay on after a restart — enough time to
verify everything came up correctly. After the grace period, normal presence logic kicks in. If
your PIR detects you during the grace period, it seamlessly switches to the regular countdown
timer.Also included in v1.5.0:
- logFileName parameter — debug output now goes to pm2 logs by default (no more hidden log file)
- Several internal fixes found during a code quality review
Full changelog in the README.
Enjoy! 🎉
Warm regards,
Ralf -
@rkorell
Hi Ralf, I implemented the new version and parameter.
It works great!I’m now playing with the CSS.
Made the bar smaller (50%) rounded edges and alligned the counter at the left of my screen.
For those who like this setup, just add following in ~/MagicMirror/css/custom.css
/* MMM-PresenceScreenControl */ .psc-linebar { width: 50%; height: 5px; background: #222; border-radius: 4px; margin: 6px 0 6px 0; overflow: hidden; margin-left: auto; margin-right: 0; } .psc-bar { height: 100%; width: 100%; border-radius: 4px; transition: width 0.4s ease, background 0.4s ease; box-shadow: 0 0 6px currentColor; } .psc-timer { font-size: 16px; margin-top: 4px; margin-bottom: 2px; letter-spacing: 1px; text-align: right !important; } -
@htilburgs cool!
happy, that you are satisfied!Warm regards,
Ralfinteresting that you are poistion this counterbar on thr right side of the screen.
For me it feels/looks more natural on the left side.
May this is the reason for my “acceptance” of the colorFrom / colorTo - “mismatch” you had reported … -
@rkorell
My current mirror
This is why I have it on the right. For me this feels better.
On the left side there comes the Spotify information, when I play music.
-
@htilburgs

I have a quite similar layout.
My MusicPlayer (Volumio) is on the left side, too but is spreading the region if cover-art is appearing…
Warmest regards,
Ralf -
@rkorell
I see you’re even using one of my Modules (MMM-MyGarbage)My MusicPlayer (Volumio) is on the left side, too but is spreading the region if cover-art is appearing…Did you do something special for this, or is this an option in de Module?
Because when MMM-OnSpotify appears, it just go over everything that is standing there.
So for now I’ve disabled it and looking for a solution. -
Dear @htilburgs,
Yes, I Like your garbage module - it’s really great - thanks for this!
I’m using MMM-NowPlayingOnSpotify …
This has exactly the behavioour as described.
Shows a spotify logo - which I had replaced with Volumio logo (which is my favourite spotify player) and only expands if something is played.
In this case the left corner looks like
Warm regards,
Ralf -
I’ve just seen that you had invented a solution for your problem - MMM-HideModulesOnSpotify :-)
Cool!Ralf
-
@rkorell
That’s correct!
At the end, because it currently just works with MMM-OnSpotify, it was not so difficult.I Will look into this in the near future to support other Player also.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login