I’ve made several attempts to fix this over the last week, but to no avail. Not sure if this is an issue with EXT-Screen or EXT-Pir. I ran a script outside of MM and confirmed that the PIR sensor is working properly. I’ve run the update, rebuild command, for both modules, but nothing seems to work.
Any help is greatly appreciated. Thanks again for all of your work with this!
Error:
[ERROR] [PIR] [CORE] Error: EINVAL: invalid argument, write
System:
32-bit Bookworm running on Pi5 with X11
Linux ClientV5 6.1.0-rpi8-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.73-1+rpt1 (2024-01-25) aarch64 GNU/Linux
Linux version 6.1.0-rpi8-rpi-v8 (debian-kernel@lists.debian.org) (gcc-12 (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT Debian 1:6.1.73-1+rpt1 (2024-01-25)
Node v20.8.0
npm v10.1.0
Config:
{
module: 'EXT-Screen',
disabled: false,
position: 'top_right',
animateIn: "flipInX",
animateOut: "flipOutX",
config: {
debug: false,
animateBody: true,
autoDimmer: true,
delay: 2 * 100 * 1000,
mode: 9,
xrandrForceRotation: "normal",
wrandrForceRotation: "normal",
displayCounter: true,
displayBar: true,
displayStyle: "Text",
displayLastPresence: false,
lastPresenceTimeFormat: "LL H:mm",
displayAvailability: true,
detectorSleeping: true,
gpio: 18,
clearGpioValue: true,
sound: false,
touchMode: 0,
ON: [],
OFF: []
}
},
{
disabled: false,
module: 'EXT-Pir',
config: {
debug: false,
gpio: 18,
reverseValue: false
}
},