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

[Electron] display en screen after installing MMM-PIR-Sensor

Scheduled Pinned Locked Moved Troubleshooting
44 Posts 2 Posters 11.3k Views 2 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 @RIKKO14
    last edited by Aug 21, 2020, 12:41 PM

    @RIKKO14 oh the joy, do

    cd ~/MagicMirror/modules/MMM-PIR-Sensor
    rm -rf node_modules
    rm package-lock.json
    npm install
    npm install nan --save
    npm install electron-rebuild --save
    node node_modules/.bin/electron-rebuild
    

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    1 Reply Last reply Reply Quote 0
    • S Offline
      sdetweil @RIKKO14
      last edited by Aug 21, 2020, 1:16 PM

      @RIKKO14 and u don’t need to reboot. just use the pm2 commands

      pm2 restart 0

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • R Offline
        RIKKO14
        last edited by Aug 21, 2020, 1:31 PM

        I do this, MM reload but now after 2-3 secondes the screen turn off, GA with Jarvis works in background but i can’t find the screen of MM, if i do Ctrl + M
        nothing is happening, there, I’m completely stuck…, I unplugged but the problem stay here…

        S 1 Reply Last reply Aug 21, 2020, 1:51 PM Reply Quote 0
        • S Offline
          sdetweil @RIKKO14
          last edited by Aug 21, 2020, 1:51 PM

          @RIKKO14 is the screen actually powered off? did u enable ssh to get into a terminal window if desktop/mm has trouble?

          if so I can issue commands there to turn on display tvservice or dpms…

          I don’t use PIR, lots of troubles.

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • R Offline
            RIKKO14
            last edited by Aug 21, 2020, 1:58 PM

            I dont use ssh, only command on the py.
            Instead of that, i think the py cut the power to the screen because the led of my screen is yellow like power off and not blue like something displayed.

            1 Reply Last reply Reply Quote 0
            • R Offline
              RIKKO14
              last edited by Aug 21, 2020, 2:20 PM

              Yes, the screen actually powered off

              1 Reply Last reply Reply Quote 0
              • R Offline
                RIKKO14
                last edited by Aug 21, 2020, 2:24 PM

                And I forgot to not the IP adress of my py, so I can’t use ssh now…
                Pffff, I’m not lucky, every modules I want works instead of the PIR module…

                S 1 Reply Last reply Aug 21, 2020, 2:41 PM Reply Quote 0
                • R Offline
                  RIKKO14
                  last edited by Aug 21, 2020, 2:38 PM

                  If i find my IP adress, Can you give me the commands to delete the problem ?

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @RIKKO14
                    last edited by sdetweil Aug 21, 2020, 2:42 PM Aug 21, 2020, 2:41 PM

                    @RIKKO14 if u didn’t turn on ssh, it isn’t on, so can’t use it anyhow. look in your router to see what addresses were given out…

                    I do that quite often, then fix/reserve the address so I don’t have to remember

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • R Offline
                      RIKKO14
                      last edited by Aug 21, 2020, 3:43 PM

                      ok, i find my IP adress (I’ve wrote it in excel file with some commandes i use) and I connected in SHH with putty,
                      thanks for your help to delete the commandh whose powered off my screen

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 1 / 5
                      1 / 5
                      • First post
                        8/44
                        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