• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

MMM-PIR doesn´t work with MM 2.8

Scheduled Pinned Locked Moved Unsolved Troubleshooting
13 Posts 5 Posters 4.3k Views 5 Watching
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.
  • S Offline
    sdetweil @shgmongohh
    last edited by Oct 29, 2019, 7:32 PM

    @shgmongohh what did u configure for the callbackscripts config entry?

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    1 Reply Last reply Reply Quote 0
    • L Offline
      lxne Project Sponsor
      last edited by Nov 3, 2019, 5:13 PM

      Unfortunately getting MMM-PIR up and running on 2.8/2.9 is some kind of a mystery. It’s working on my setup now, but I honestly do not know why. You can read a bit about the odyssey over at github https://github.com/mboskamp/MMM-PIR/issues/10

      1 Reply Last reply Reply Quote 0
      • S Offline
        shgmongohh
        last edited by Nov 5, 2019, 8:12 PM

        The same as before when it was still working

        {
                module: 'MMM-PIR-Sensor',
        			//https://github.com/paviro/MMM-PIR-Sensor
                config: {
                  sensorPIN: 23,//18, //VCC 5V; BMC Pin: gpio readall
        		powerSaving: true
                }
             },
        
        1 Reply Last reply Reply Quote 0
        • P Offline
          pugsly
          last edited by Nov 7, 2019, 2:07 AM

          I have been having the same problem kinda where my monitor goes to sleep and it never wakes back up. I know what needs to be added somewhere in order to fix it.

          fbset -depth 8; fbset -depth 16

          for some reason even after issuing a wakeup code to the HDMI the fbset command is needed in order for the screen to come back. No clue how to get that into the code at all.

          1 Reply Last reply Reply Quote 0
          • C Offline
            cowboysdude Module Developer
            last edited by Nov 13, 2019, 2:45 AM

            Folks don’t want to make this terribly hard but I wrote this module way back when and it’s not dependent on MagicMirror. It runs in it’s own window all by itself. Keeping in mind that I am using a PIR sensor… it works and has for 3 years…

            Simple Pir Sensor on/off

            1 Reply Last reply Reply Quote 0
            • S Offline
              shgmongohh
              last edited by shgmongohh Nov 16, 2019, 4:20 PM Nov 16, 2019, 4:19 PM

              Hi Folks,
              maybe I have found the problem (unfortunatly not the solution.).

              In the Version where the PIR is working I have the GIOP Version 2.44.
              Where the PIR Sensor is not working I have the GIOP Version 2.25.

              How can I update the giop version 2.25 to 2.44?

              0_1573921037432_gpio 2.44.PNG

              0_1573921053337_gpio 2.15.PNG

              S 1 Reply Last reply Nov 18, 2019, 10:06 PM Reply Quote 0
              • S Offline
                shgmongohh @shgmongohh
                last edited by Nov 18, 2019, 10:06 PM

                @shgmongohh

                I have found a solution to fix the gpio problem

                npm install wiringpi-node
                

                found on here

                S 1 Reply Last reply Nov 18, 2019, 10:07 PM Reply Quote 0
                • S Offline
                  sdetweil @shgmongohh
                  last edited by Nov 18, 2019, 10:07 PM

                  @shgmongohh said in MMM-PIR doesn´t work with MM 2.8:

                  npm install wiringpi-node

                  so it should be added as a dependency in the package.json file

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • 1
                  • 2
                  • 1 / 2
                  1 / 2
                  • First post
                    10/13
                    Last post
                  Enjoying MagicMirror? Please consider a donation!
                  MagicMirror created by Michael Teeuw.
                  Forum managed by Sam, technical setup by Karsten.
                  This forum is using NodeBB as its core | Contributors
                  Contact | Privacy Policy