Closed bugsounet closed 4 months ago
@outlying, tell me if it's better with this ;)
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)
@bugsounet all fine, thanks, I had to change the general mode to make it all work after migration from another MMM, had some issues with the screen on/off. But PIR works great at the moment, so thanks for the fast update. Kudos.
Fix:
Add:
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)