Solved Unable to make EXT-Pir work
-
Forum Members,
I am a past user of MMM-NewPIR that used to work great. I am now trying to migrate to EXT-Screen and EXT-Pir to turn the display on and off based on motion near the Mirror.
I have installed EXT-Screen and EXT-Pir and below are my configs. The logs show PIR is activated and it shows notifications when someone walks by but the display does not turn off after inactivity. Can you please help? I realise this is a very simple case that should work out of the box but I am having issues and I have read through the wiki
Config.js
{ module: "EXT-Screen", position: "top_center", config: { debug: true, delay: 2 * 60 * 1000, turnOffDisplay: true, mode: 1, displayStyle: "SemiCircle", } }, { module: "EXT-Pir", config: { debug: true, gpio: 17, reverseValue: false } },
Logs
[03.05.2022 21:10.46.281] [LOG] No helper found for module: EXT-Screen. [03.05.2022 21:10.46.288] [LOG] Initializing new module helper ... [03.05.2022 21:10.46.290] [LOG] Module helper loaded: EXT-Pir [03.05.2022 21:10.46.307] [LOG] Initializing new module helper ... . . . 03.05.2022 21:10.51.689] [LOG] [PIR] Initialize... [03.05.2022 21:10.51.776] [LOG] [PIR] Loaded ./lib/pirLib.js [03.05.2022 21:10.51.832] [LOG] [PIR] All needed @bugsounet library loaded ! [03.05.2022 21:10.51.834] [LOG] [PIR] PIR Library v1.1.0 Initialized... [03.05.2022 21:10.51.842] [LOG] [PIR] Callback Notification: PIR_INITIALIZED [03.05.2022 21:10.51.844] [LOG] [PIR] Start [03.05.2022 21:10.51.855] [LOG] [PIR] Callback Notification: PIR_STARTED [03.05.2022 21:10.51.860] [LOG] [PIR] Initialize Complete Version: 1.0.1 rev: 220403 . . . . [03.05.2022 21:12.24.512] [LOG] [PIR] Sensor read value: 1 [03.05.2022 21:12.24.523] [LOG] [PIR] Callback Notification: PIR_DETECTED [03.05.2022 21:12.24.524] [LOG] [PIR] Detected presence (value: 1) [03.05.2022 21:12.32.672] [LOG] [PIR] Sensor read value: 1 [03.05.2022 21:12.32.678] [LOG] [PIR] Callback Notification: PIR_DETECTED [03.05.2022 21:12.32.680] [LOG] [PIR] Detected presence (value: 1)
-
Hello Bugsounet,
I deleted the EXT-Screen, pulled it from git, and re-installed it. Everything works like a charm!
Thank you for an excellent plugin and quick response!
-
Hi, it’s not related to EXT-Pir. It’s only read Pir sensor state, it’s started and works correctly (it detect presence)
BUT
EXT-Screen
is not installed (No helper found for module: EXT-Screen.
) :
EXT-Screen
will readEXT-Pir
state and apply some rules
So let’s installEXT-Screen
-
Hello Bugsounet,
I deleted the EXT-Screen, pulled it from git, and re-installed it. Everything works like a charm!
Thank you for an excellent plugin and quick response!
-
Perfect !
Happy use
-
bugsounet