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

Scheduled Pinned Locked Moved Troubleshooting
9 Posts 5 Posters 5.9k Views 4 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.
  • D Offline
    Desertswing @envedede
    last edited by May 30, 2017, 2:21 PM

    @envedede

    How do i need to:

    chmod all files: From a terminal window in your root directory:

    sudo chmod +x pir.py

    sudo chmod +x monitor_off.sh

    sudo chmod +x monitor_on.sh

    Editing pir.py

    could u explain, i`m master noob with raspberry :P

    D 1 Reply Last reply May 30, 2017, 7:42 PM Reply Quote 0
    • D Offline
      Desertswing @Desertswing
      last edited by May 30, 2017, 7:42 PM

      @Desertswing
      I found out how to, i forgot to place the files in root :)
      But my screen isen`t going off yet but the light bulb i attached goed on and off when motion detected??

      1 Reply Last reply Reply Quote 0
      • D Offline
        Desertswing
        last edited by Jun 1, 2017, 7:25 PM

        fixed this one !

        1 Reply Last reply Reply Quote 0
        • D Offline
          Duske
          last edited by Aug 26, 2017, 11:06 AM

          I solved the Error: Cannot find module 'onoff'- Error by removing the node_modules from the MMM-PIR-Sensor directory and reinstall them by using npm i. This time, some dependencies seem to be built in with electron, and the error disappeared.

          1 Reply Last reply Reply Quote 0
          • R Offline
            Richard238
            last edited by Feb 14, 2018, 3:14 PM

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              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