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 14.1k 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 Do not disturb
      sdetweil @RIKKO14
      last edited by

      @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

        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

          Yes, the screen actually powered off

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

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

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

              1 Reply Last reply Reply Quote 0
              • S Do not disturb
                sdetweil @RIKKO14
                last edited by sdetweil

                @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

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

                    below my pm2 logs,
                    If that can help you…
                    https://www.cjoint.com/c/JHvqsqJ1QTT

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

                      If it can help you this is my pm2 logs : https://www.cjoint.com/c/JHvqsqJ1QTT

                      S 1 Reply Last reply Reply Quote 0
                      • S Do not disturb
                        sdetweil @RIKKO14
                        last edited by

                        @RIKKO14 looking at… hard to tell
                        do

                        pm2 stop 0
                        pm2 flush 
                        pm2 start 0
                        

                        the will throw away the old logs…

                        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

                          I do this, the problem still here…

                          S 1 Reply Last reply Reply Quote 0
                          • S Do not disturb
                            sdetweil @RIKKO14
                            last edited by

                            @RIKKO14 it just makes the log easier to read. please post it again

                            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

                              hre it is :
                              https://www.cjoint.com/c/JHvrPBCBgZT

                              1 Reply Last reply Reply Quote 0
                              • 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 Do not disturb
                                  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 Do not disturb
                                        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 Do not disturb
                                          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

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 1 / 3
                                            • 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