Read the statement by Michael Teeuw here.
Module error after updating - MMM-Pir: Pir Error detected: EINVAL: invalid argument, write
-
Hi everyone,
I just can’t get it to work guys. Please help.
GPIO setup:
VIN - Pin2
OUT - Pin6
GND - Pin11Configuration:
module: ‘MMM-Pir’,
position: ‘top_left’,
config: {
debug: false,
delay: 1 * 30 * 1000,
mode: 1,
displayCounter: true,
displayBar: true,
displayStyle: “SemiCircle”,
displayLastPresence: true,
lastPresenceTimeFormat: “LL H:mm”,
xrandrForceRotation: “normal”,
wrandrForceRotation: “normal”,
touchMode: 2,
pir_gpio: 17,
pir_mode: 1,I have been playing around with all variations and have tested 3 sensors. Not sure what I’m missing.
Thank you for your support! -
@Laca44 does it work outside
MagicMirror?there are python scripts to test operation.
google search
python pir sensor test -
@sdetweil said in Module error after updating - MMM-Pir: Pir Error detected: EINVAL: invalid argument, write:
python pir sensor test
I’m a newbie and this helped a lot! Thank you! -
@Laca44 were you able to solve the problem?
-
@sdetweil Yes it helped in resolving the issue. I still need to understand what troubleshooting actually helped.