Read the statement by Michael Teeuw here.
MMM-NewPIR v3
-
V3.1.0 is out !
- added : HDMI CEC support and other mode for turn on/off your screen
mode: 1 - use vgencmd (RPI only)
mode: 2 - use dpms (version RPI)
mode: 3 - use tvservice (RPI only)
mode: 4 - use HDMI CEC
mode: 5 - use dpms (linux version for debian, ubuntu, …)
mode: 0 - disabled and turnOffDisplay toosee new configuration of the screen field
- added: display last presence time
- added: auto updater script (npm run update)
- added: notify if update of npm library is available
- added: compatibility with MMM-UpdateNotification for automatic update
- deleted: configMerge script and use MM version integred (
configDeepMerge: true,)
-
v3.1.2 is out !
I have coded TouchScreen feature
TouchScreen Feature
You can use this feature with a mouse or your touch screen
One Click on the screen: Will wake up the screen or restart your shutdown timerDouble Click on the screen: Will turn off your screen
Edit: see next release
-
v3.1.3 is out !
Touch Screen feature change
TouchScreen Feature
You can use this feature with a mouse or your touch screen
- One Click on the NewPIR Area: will restart your shutdown timer
- Long Click on the screen: Will turn off your screen or Will turn on if needed (Toogle)
if you want to use it:
enable useTouch feature in
screen: {}fieldCSS value correct
Correct a bug if no other module in the same position is set (module not displayed)
Update of
@bugsounet/screennpm libraryCounter will send bad value on start (lost one sec.)
-
Hi, can i use this module without a sensor? As yes is everyone here who can explain me how i must go on to start the module without a sensor…
And…what sensor must i have that i can realize this module. Have anyone a link where i can buy it?
Best regards
-
Hello,
takes PIR sensor HC-SR501 it works on , perso
I ordered to see a Doppler Microwave Sensor RCWL-0516 to replace HC SR501
see topic
https://forum.magicmirror.builders/topic/11704/update-replaced-my-pir-sensor-with-a-doppler-microwave-sensor
( more aesthetic ) -
v3.1.5 is out!
added: many mode for touch screen use
added: delayed activating screensee ReadMe File for more informations
-
@pakal41 I can assure you that the Doppler sensor will work 😃
-
@Bugsounet With new version of MagicMirror I decides to try this module.
Running rpi4 with HC-SR501 sensor.
Can you please explain me how exactly ecoMode working. I have some problems with that enabled true. I’m still trying to figure out exactly problem but no luck. I’m using MMM-Globe by Eunanibus and its not reloading (not showing ) after monitor is turn on and sometime even monitor doesn’t wont to turn on. Should I just keep this option false? With ecoMode false at the moment everything is working fine.
Anyway, great work and thank you for your contribution. -
@lolo ecoMode Feature hide all modules (disable modules), after maybe your globe module have a bug on disable/resume (this fonction is a function coded in the core of MM)
-
Thx. Even one my module have problem with that. For now I will keep it as false.
-
It’s working :smiling_face_with_open_mouth:
After a couple of tries with all available PIR Modules it’s working with MMM-NewPIR perfect!
Many thanks! -
…Ohh no.
Getting update notification for MMM-NewPIR.

I’m trying in MagicMirror/modules/MMM-NewPIR
git pullbut get the message “it’s actual already”
Notification message still there.
Any idea please?
-
I had the same. After
git pullEnter
mom run updateand reboot.
-
where to run
mom run update?
I tried inhome,MagicMirror,modulesandMMM-NewPIR
got th message-bash: mom: Kommando nicht gefunden.-bash: mom: Command not found. -
Hast noone an Idea how to get rid of thus Update Message?
-
This should work
cd ~/MagicMirror/modules/MMM-NewPIRgit pullnpm run updatesudo reboot -
@lolo it works!
Many thanksAgain this Forum ist so helpful 🥳
-
Hey there Guys,
I´m stuck and I need your help.My Code:
{ module: 'MMM-NewPIR', position: 'top_left', configDeepMerge: true, config: { debug: false, screen: { delay: 2 * 60 * 1000, // 2 * 60 * 1000 = 2 Minuten turnOffDisplay: true, mode: 1, ecoMode: true, displayCounter: true, text: "Auto Turn Off Screen:", displayBar: true, displayStyle: "SemiCircle", governorSleeping: false, displayLastPresence: true, LastPresenceText: "Last Presence:", useTouch: false, delayed: 0 }, pir: { usePir: true, gpio: 21, reverseValue: false } } },My HC-SR501 Sensor is wired as following:
VCC (+5V) > GPIO PIN 2
OUT > GPIO PIN 21
GND > GPIO PIN 6Problem:
The timer runs down, the display switches off and then stays black.
It seems as the movement is not recognized by the PIR.I already tried another PIR, same failure.
Switching to another PIN > 22 with editing the config results with the same “failure”.At the moment I don´t know, where the source of my problem is buried and I could use some help from you.
Thank you in advance
-
@chrisdub have you activated the pins at your Raspberry OS?
-
@majorc said in MMM-NewPIR v3:
@chrisdub have you activated the pins at your Raspberry OS?
Good morning.
To be honest, I don´t really know. Is there a special way to activate the PINS? Maybe via raspi-config?!
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