• 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-Sensor] Install failing

Scheduled Pinned Locked Moved Troubleshooting
75 Posts 19 Posters 87.9k Views 18 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.
  • J Offline
    johnnyboy @johnnyboy
    last edited by johnnyboy May 11, 2017, 6:52 PM Mar 21, 2017, 9:16 PM

    This post is deleted!
    1 Reply Last reply Reply Quote 0
    • S Offline
      STEFF92 @pjkoeleman
      last edited by Mar 22, 2017, 6:05 PM

      @pjkoeleman Doesnt work :(

      J P 2 Replies Last reply Mar 22, 2017, 7:31 PM Reply Quote 0
      • J Offline
        johnnyboy @STEFF92
        last edited by johnnyboy May 11, 2017, 6:53 PM Mar 22, 2017, 7:31 PM

        This post is deleted!
        S 1 Reply Last reply Mar 22, 2017, 9:37 PM Reply Quote 0
        • P Offline
          pjkoeleman @STEFF92
          last edited by Mar 22, 2017, 8:55 PM

          @STEFF92
          What is not working;

          • Do you still have the problem with the config.sys, when post your config.sys here.
          • Is the PIR not switching off you screen?
          S 1 Reply Last reply Mar 22, 2017, 9:45 PM Reply Quote 0
          • S Offline
            STEFF92 @johnnyboy
            last edited by Mar 22, 2017, 9:37 PM

            @johnnyboy But it doesnt matter as long as i use the gpio that belongs to this pin or am i wrong?

            1 Reply Last reply Reply Quote 0
            • S Offline
              STEFF92 @pjkoeleman
              last edited by Mar 22, 2017, 9:45 PM

              @pjkoeleman when i want to start the magic mirror it says that i should create a correct config.js file. But the only thing i added in my config.js file (which runs without the following lines) is:

                             {
              			module: 'MMM-PIR-Sensor',
              			config: {
              				sensorPIN: 23,
                                              powerSaving: true,
                                              relayPIN: none,
                                              relayOnState: 1,
              			}
              		},
              
              J 1 Reply Last reply Mar 22, 2017, 9:50 PM Reply Quote 0
              • J Offline
                johnnyboy @STEFF92
                last edited by johnnyboy May 11, 2017, 6:48 PM Mar 22, 2017, 9:50 PM

                This post is deleted!
                S 1 Reply Last reply Mar 22, 2017, 9:55 PM Reply Quote 0
                • S Offline
                  STEFF92 @johnnyboy
                  last edited by Mar 22, 2017, 9:55 PM

                  @johnnyboy yes i tried it like this :

                                 {
                  			module: 'MMM-PIR-Sensor',
                  			config: {
                  				sensorPIN: 23,
                                                  powerSaving: true,
                                                  relayPIN: none,
                                                  relayOnState: 1
                  			}
                  		},
                  

                  But it dosent work. Same problem as before.

                  J S 2 Replies Last reply Mar 22, 2017, 10:06 PM Reply Quote 0
                  • J Offline
                    johnnyboy @STEFF92
                    last edited by johnnyboy May 11, 2017, 6:53 PM Mar 22, 2017, 10:06 PM

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      strawberry 3.141 Project Sponsor Module Developer @STEFF92
                      last edited by Mar 23, 2017, 11:34 AM

                      @STEFF92 none is not a valid js value either use

                      {
                        module: 'MMM-PIR-Sensor',
                        config: {
                          sensorPIN: 23,
                          powerSaving: true,
                          relayPIN: false,
                          relayOnState: 1
                        }
                      },
                      

                      or like this, because relayPIN is set to false by default

                      {
                        module: 'MMM-PIR-Sensor',
                        config: {
                          sensorPIN: 23,
                          powerSaving: true,
                          relayOnState: 1
                        }
                      },
                      

                      Please create a github issue if you need help, so I can keep track

                      S 1 Reply Last reply Mar 23, 2017, 12:39 PM Reply Quote 1
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 8
                      • 6 / 8
                      6 / 8
                      • First post
                        57/75
                        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