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.

    Blank screen issue ( another one again ) after one hour or so...

    Scheduled Pinned Locked Moved Solved Troubleshooting
    9 Posts 4 Posters 1.8k Views 5 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.
    • ejay-ibmE Offline
      ejay-ibm Project Sponsor Module Developer
      last edited by

      Once the screen goes OFF

      module.js:198 				MMM-Hotword is suspended.
      module.js:198				MMM-PIR-Sensor is suspended.
      module.js:198 				clock is suspended.
      module.js:198 				MMM-AssistantMk2 is suspended.
      module.js:198 				MMM-Traffic is suspended.
      module.js:198 				MMM-Hue is suspended.
      module.js:198 				MMM-DarkSkyForecast is suspended.
      module.js:198 				mmm-systemtemperature is suspended.
      module.js:198 				newsfeed is suspended.
      received TRAFFIC_COMMUTE 	MMM-Traffic.js:273 
      

      I Get now blank screen . Nothing happens in the log/dev console

      Now I moove and screen goes ON , but MM still blank I say “Jarvis” and the console logs shows.

      clock received a module notification: ASSISTANT_ACTIVATE from sender: MMM-Hotword
      module.js:154 clock received a module notification: HOTWORD_PAUSE from sender: MMM-AssistantMk2
      module.js:154 MMM-Traffic received a module notification: HOTWORD_PAUSE from sender: MMM-AssistantMk2
      module.js:154 MMM-Hue received a module notification: HOTWORD_PAUSE from sender: MMM-AssistantMk2
      module.js:154 MMM-DarkSkyForecast received a module notification: HOTWORD_PAUSE from sender: MMM-AssistantMk2
      module.js:154 mmm-systemtemperature received a module notification: HOTWORD_PAUSE from sender: MMM-AssistantMk2
      newsfeed.js:340 newsfeed - received notification: HOTWORD_PAUSE
      newsfeed.js:391 newsfeed - unknown notification, ignoring: HOTWORD_PAUSE
      module.js:154 MMM-Traffic received a module notification: ASSISTANT_ACTIVATE from sender: MMM-Hotword
      module.js:154 MMM-Hue received a module notification: ASSISTANT_ACTIVATE from sender: MMM-Hotword
      module.js:154 MMM-DarkSkyForecast received a module notification: ASSISTANT_ACTIVATE from sender: MMM-Hotword
      module.js:154 mmm-systemtemperature received a module notification: ASSISTANT_ACTIVATE from sender: MMM-Hotword
      newsfeed.js:340 newsfeed - received notification: ASSISTANT_ACTIVATE
      newsfeed.js:391 newsfeed - unknown notification, ignoring: ASSISTANT_ACTIVATE
      module.js:154 clock received a module notification: HOTWORD_SLEEPING from sender: MMM-Hotword
      module.js:154 MMM-Traffic received a module notification: HOTWORD_SLEEPING from sender: MMM-Hotword
      module.js:154 MMM-Hue received a module notification: HOTWORD_SLEEPING from sender: MMM-Hotword
      module.js:154 MMM-DarkSkyForecast received a module notification: HOTWORD_SLEEPING from sender: MMM-Hotword
      module.js:154 mmm-systemtemperature received a module notification: HOTWORD_SLEEPING from sender: MMM-Hotword
      newsfeed.js:340 newsfeed - received notification: HOTWORD_SLEEPING
      newsfeed.js:391 newsfeed - unknown notification, ignoring: HOTWORD_SLEEPING
      module.js:205 clock is resumed.
      module.js:205 MMM-AssistantMk2 is resumed.
      module.js:205 MMM-Hotword is resumed.
      module.js:205 MMM-Traffic is resumed.
      module.js:205 MMM-Hue is resumed.
      module.js:205 MMM-DarkSkyForecast is resumed.
      module.js:205 MMM-PIR-Sensor is resumed.
      module.js:205 mmm-systemtemperature is resumed.
      module.js:205 newsfeed is resumed.
      
      

      So it look like the suspended state create the blank screen. (am I right ? :/ )
      If yes Now the question is , how to prevent the modules to be suspended.
      Is that because of the PIR module ?

      thanks

      1 Reply Last reply Reply Quote 0
      • ejay-ibmE Offline
        ejay-ibm Project Sponsor Module Developer
        last edited by ejay-ibm

        Searching for similar log in other thread I found someone saying :
        “It might be due to “onIdle” and “onDetected” features. Disable them”
        So I have added to my config.js in the MM assistant module

         onIdle: {
              timer: 0,  // if you don't want to use this feature, just set timer as `0` or command as ""
              command: "HIDEMODULES"
            },
        

        I’m testing and will report results.
        Thanks

        1 Reply Last reply Reply Quote 0
        • ejay-ibmE Offline
          ejay-ibm Project Sponsor Module Developer
          last edited by

          Ok Great ! That was the issue !
          Placing the timer to 0 prevent the module to be suspended .

          Now I would like to put this back in the code so the modules in suspended mode that is great as indeed I don’t need them update when the screen is Off but i’d like to resume with the onDetected when motion is detected by the PIR module ?

          Is it possible to Sync the Idle and onDetected with the PIR Module ?

          Thanks .

          1 Reply Last reply Reply Quote 0
          • ejay-ibmE Offline
            ejay-ibm Project Sponsor Module Developer
            last edited by

            Me again

            I Would Say that you should mark the post as solved As We have root cause here.
            I have created that git

            https://github.com/paviro/MMM-PIR-Sensor/issues/73
            To get some help from paviro and see if the ondetected function of MK2 assistant could be implemented in the PIR module so they could be kind of sync.

            Thanks to @sdetweil for driving me in the right debug way for finding the root cause of the problem.

            1 Reply Last reply Reply Quote 0
            • T Offline
              thedk
              last edited by

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • P Offline
                philmavedzenge
                last edited by

                Hi @ejay-ibm did you manage to fix the issue. i have the same issue with the PIR Module. Sometimes the screen wakes up but its blank and i have to restart the pi.

                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 Sam, technical setup by Karsten.
                This forum is using NodeBB as its core | Contributors
                Contact | Privacy Policy