Bugsounet Coding

    • Register
    • Login
    • Search
    This Forum is now reserved to registred users!

    Solved Unable to make EXT-Pir work

    EXT-Pir
    2
    4
    59
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      agentsingh007 last edited by

      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)
      
      
      
      1 Reply Last reply Reply Quote 0
      • A
        agentsingh007 last edited by

        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!

        1 Reply Last reply Reply Quote 0
        • bugsounet
          bugsounet Main Coder last edited by bugsounet

          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 read EXT-Pir state and apply some rules
          So let’s install EXT-Screen 😉

          1 Reply Last reply Reply Quote 0
          • A
            agentsingh007 last edited by

            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!

            1 Reply Last reply Reply Quote 0
            • bugsounet
              bugsounet Main Coder last edited by

              Perfect !

              Happy use 😉

              1 Reply Last reply Reply Quote 0
              • Topic has been marked as solved  bugsounet bugsounet 
              • First post
                Last post
              Powered by NodeBB | @bugsounet ©2022