• 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.

PIR-Sensor - put your mirror to sleep if not used

Scheduled Pinned Locked Moved Troubleshooting
126 Posts 37 Posters 219.9k Views 20 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.
  • W Offline
    witschi87
    last edited by May 19, 2016, 11:30 AM

    I’m getting the following error:

    start-magic-0 (err): WARNING! Could not find config. Please create one.
    start-magic-0 (err): App threw an error when running [Error: Module version mismatch. Expected 47, got 48.]
    start-magic-0 (err): [Error: Module version mismatch. Expected 47, got 48.]
    

    I’ve just cloned the git repository and installed the dependencies.
    And that is my config:

    {
    	module: 'MMM-PIR-Sensor',
    	config: {
    		sensorPIN: 22,
    		powerSaving: true
    	}
    },
    
    1 Reply Last reply Reply Quote 0
    • P Offline
      paviro Admin
      last edited by May 19, 2016, 1:19 PM

      Please use Node v5 not v6 one of the dependencies is not yet ready for v6.

      We're all stories in the end. Just make it a good one, eh?

      – The Doctor

      K 1 Reply Last reply May 19, 2016, 4:00 PM Reply Quote 0
      • W Offline
        witschi87
        last edited by May 19, 2016, 1:24 PM

        Can you tell me how to do that, please?!

        1 Reply Last reply Reply Quote 0
        • P Offline
          paviro Admin
          last edited by paviro May 19, 2016, 1:26 PM May 19, 2016, 1:26 PM

          First Google result when searching for downgrade node to v5 :)
          Also do not forget to execute npm installand if that does not work reinstall the module from GitHub after you downgraded.

          We're all stories in the end. Just make it a good one, eh?

          – The Doctor

          J D 2 Replies Last reply May 21, 2016, 2:38 AM Reply Quote 0
          • K Offline
            KirAsh4 Moderator @paviro
            last edited by May 19, 2016, 4:00 PM

            @paviro, but but but … @MichMich said … he said … he said node 6.1.0 is now supported. Dependencies be damned, they need to catch up.

            A Life? Cool! Where can I download one of those from?

            M 1 Reply Last reply May 19, 2016, 5:03 PM Reply Quote 0
            • M Offline
              MichMich Admin @KirAsh4
              last edited by May 19, 2016, 5:03 PM

              @KirAsh4 Yeah, MM supports Node 6.1.0 @paviro apparently still live in the stone age with his modules … 😈

              K 1 Reply Last reply May 19, 2016, 5:07 PM Reply Quote 0
              • K Offline
                KirAsh4 Moderator @MichMich
                last edited by May 19, 2016, 5:07 PM

                @MichMich, I have a laser … let’s tie him up and put his hand under the beam. That’ll teach him!

                A Life? Cool! Where can I download one of those from?

                1 Reply Last reply Reply Quote 0
                • M Offline
                  MichMich Admin
                  last edited by May 19, 2016, 5:09 PM

                  He is from the stone age. He doesn’t know what a laser is. 😱

                  1 Reply Last reply Reply Quote 0
                  • K Offline
                    KirAsh4 Moderator
                    last edited by May 19, 2016, 5:13 PM

                    0_1463677954464_paviro.jpg

                    A Life? Cool! Where can I download one of those from?

                    1 Reply Last reply Reply Quote 0
                    • P Offline
                      paviro Admin
                      last edited by May 19, 2016, 5:26 PM

                      Ha, ha :laughing:
                      Will change my dependencies when I have some spare time.

                      We're all stories in the end. Just make it a good one, eh?

                      – The Doctor

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 8
                      • 12
                      • 13
                      • 6 / 13
                      6 / 13
                      • First post
                        53/126
                        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