• 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.6k 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, 6:27 PM

    @RIKKO14 too small to read

    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, 6:28 PM

      @RIKKO14 i think the ‘failed to read the sensor’ error lead to the power off command being issued…

      but don’t know

      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, 6:34 PM

        https://www.cjoint.com/c/JHvsIkBBC7T

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

          @RIKKO14 that is dev window open on forum page, not MM page

          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, 6:50 PM

            that’s te problem…
            you ask me to do ctrl+shift+i on the mirror keyboard :
            but the screen is powered off so nothing displayed, i don’t know if it’s displayed something, I can’t see it…
            or i don’t anderstand to acceed MM page with my pc, I have only this :
            Sans titre.png

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

              @RIKKO14 edit the config.js on the mirror

              change address and ipWhitelist like this

              address:"0.0.0.0",
              ipWhitelist:[],
              

              restart mm…

              now on your pc you can do
              http://pi_ip:8080

              and then u can open the dev window on that page

              i thought you said earlier you had removed the command to make your mirror screen turn off
              so you know which code is issuing the command… tell where that was

              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, 7:03 PM

                But I have only acces to my MM with SSH, so how to edit the config.js on the mirror with ssh ?

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

                  @RIKKO14 on the ssh terminal, (its a terminal window, same as works on pi)

                  cd MagicMirror/config
                  nano config.js

                  fix the text (move the cursor with the arrow keys and type and backspace
                  then ctrl-o to write the changes back out and ctrl -x to exit nano
                  then type pm2 restart 0

                  for your windows box, get winscp, then u can connect to pi as both terminal window (for commands)
                  and a file system view, like windows, double click on folder to go in, or file to edit… use your favorite pc editor (I use notepad++_)

                  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, 8:02 PM

                    I do this :
                    Sans titre.png
                    and type pm2 restart 0, but my screen of MM is steel powered off…

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

                      @RIKKO14 now on your PC, open browser to
                      http://pi_ip:8080

                      same up address u used for ssh

                      now see magic mirror

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      S 1 Reply Last reply Aug 21, 2020, 9:59 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 3 / 5
                      3 / 5
                      • First post
                        28/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