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 12.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.
    • R Offline
      RIKKO14
      last edited by

      and this one (because i don’t if it it change something) : https://www.cjoint.com/c/JHvrUegIVzT after the command :

      pm2 stop 0
      pm2 flush 
      pm2 start 0
      

      and after only pm2 logs --lines=100

      without pm2 status and pm2 stop 0

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @RIKKO14
        last edited by

        @RIKKO14 i see this
        0|mm | [2020-08-21 19:37:58.395] [LOG] [LPCM16] WARN: arecord: pcm_read
        :2145: erreur en lecture: Appel système interrompu
        and this
        0|mm | [2020-08-21 19:43:41.435] [LOG] [Error: failed to read sensor]

        so we may have to look at t he browser dev window,
        ctrl-shift-i on the mirror keyboard
        select the tab labebled console,
        and scroll up to see any errors, usually in red text

        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

          ctrl+shift+i on the mirror keyboard : nothing displayed
          ctrl+shift+i on my pc keyboard : this is displayed :
          Sans titre.png

          S 1 Reply Last reply Reply Quote 0
          • R Offline
            RIKKO14
            last edited by

            ctrl+shift+i on the mirror keyboard : nothing displayed : because my screen is powered off : source of the issue…

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @RIKKO14
              last edited by

              @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

                @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

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

                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @RIKKO14
                    last edited by

                    @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

                      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 Reply Quote 0
                      • S Offline
                        sdetweil @RIKKO14
                        last edited by sdetweil

                        @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
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 4 / 5
                        • 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