MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    MMM-PIR-Sensor and mirror not waking up.

    Development
    2
    4
    246
    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
      dubalda last edited by

      Re: MMM-PIR-Sensor Guide with Edits and Updates

      Hi all,

      Recently my mirror seems to lock in sleep mode even if I’m infront of my PIR sensor. This seems to happen randomly as the PIR sensor has been working fine. The only way to resolve it is to power off my raspberry pi and turn it back on.

      Has anyone else experienced this? And do you know where I can find log files to investigate the issue?

      Thanks

      Dav

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

        @dubalda connect via ssh from Windows.

        Maybe there us info in the log.
        If started w pm2,

        pm2 logs -lines=???

        ??? Is number, default 15

        Sam

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 0
        • D
          dubalda last edited by

          Thanks Sam, I currently don’t use PM2 to start my mirror. I manually run “npm start”.

          I was hoping there are some log files to see why it freezes.

          1 Reply Last reply Reply Quote 0
          • D
            dubalda last edited by

            Hi @sdetweil ,

            I finally managed to use PM2 and here what I see in the error log when my mirror crashes.

            [1554:1214/202715.173231:FATAL:memory_linux.cc(42)] Out of memory.

            It’s strange as I never had this issue before and I haven’t been using any new modules. Any suggestions?

            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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy