Hi, check pir_mode
feature in readme readme
by default pir_mode
is on mode 0
With pi 4 and pi 5, you can have EINVAL: invalid argument, write
error
In this case
you have to use with pi 4: pir_mode: 1,
with pi 5 pir_mode: 2,
Hi, check pir_mode
feature in readme readme
by default pir_mode
is on mode 0
With pi 4 and pi 5, you can have EINVAL: invalid argument, write
error
In this case
you have to use with pi 4: pir_mode: 1,
with pi 5 pir_mode: 2,
@Andrei-Leahu
HI, change MagicMirror folder permission as your own user (xenon) and not root
Just Released v1.5.0
check new ReadMe
ChangeLog:
Fix:
* Increase limit for GPIO number (@outlying)
Add:
* New feature added pir_mode:
* `pir_mode: 0` - use onoff library (For Raspberry Pi 3b+ and 4)
* `pir_mode: 1` - use python script with RPI.GPIO library (For Raspberry Pi 3b+ and 4)
* `pir_mode: 2` - use python script with gpiozero library (For Raspberry Pi 5, not tested on other Raspberry Pi)
A Patch will come soon with a new feature
Actually it’s coded for Rpi5 (not really tested on 3b+ and 4)
With this new patch, you will able to choice your detection script.
I will deploy it tomorrow ;)
Hi, npm run rebuild
command inside MMM-Pir
folder will help
like that:
pi@raspberrypi:~ $ groups
pi adm dialout cdrom sudo audio video plugdev games users input render netdev lpadmin gpio i2c spi
pi@raspberrypi:~ $
I have to see if you are in gpio group :)
@lavolp3
Hi, what happen really? only show default image? Or the same? Nothing?
Maybe typeOf is better for check uri value
Maybe, InnerHtml is not the better way
Can we see current full code for inspect?
@sdetweil sure, that why i use my “Installer core”. All script are inside, I just have to call it ;)
@sdetweil that’s why I write +/- the same with npm run refresh
for the same problem (some libraries disappear with the change of mode version or need to be rebuilded) but it’s limited to my own modules