A quick way to fix this:
cd modules/MMM-Buttons
npm install electron-rebuild
./node_modules/.bin/electron-rebuild
It always worked for me…
A quick way to fix this:
cd modules/MMM-Buttons
npm install electron-rebuild
./node_modules/.bin/electron-rebuild
It always worked for me…
@MyMirror in the pir.py file you need to change only one thing, the GPIO data pin to which the PIR sensor is connected (you can double check yours here: https://pinout.xyz/). The line is this one: https://github.com/deg0nz/MagicMirror-Display-Controller/blob/master/pir.py#L8
That should be all.
The line 7 stuff is for the service (ie, run the script automatically every time the Pi reboots) and is in a different file: https://github.com/deg0nz/MagicMirror-Display-Controller/blob/master/pir_sensor.service#L7
@MyMirror I don’t get any text on the display when it goes off, maybe the display is smart enough? Are you using the same software to turn it off?
@TGBB Yeah, just two 40x50 RIBBA frames glued back to back…
Any reflective film will work. Seems like the link I posted is not valid anymore, but you could use something like this…
@MyMirror Sure, I’ll try tonight, but I can already tell you:
Good luck!
@Ogret Sorry, I don’t have access to the mirror here, so I was waiting to get home today to reply to you. It’s just adding some code in the custom.css file with the right class, but seems like you already found how to do it!
Cheers,
@PaulB Did you follow all the steps? Without logs is a little bit difficult to know what’s going on… Did you try to check if the sensor is working (like with a python script or something). It sound like a config.js issue…
@Dracarys I am not seeing any update notification at all… Do you still have the issue?
@clubbi maybe you could implement this in a separate module, implementing sendNotification / notificationReceived ?
Version 1.3.0