• 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.

MMM-SleepWake using external motion detection source

Scheduled Pinned Locked Moved System
16 Posts 4 Posters 7.2k Views 4 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 @mithatcak
    last edited by Aug 21, 2019, 2:19 PM

    @mithatcak very interesting… I use those default modules too and I have never seen that behavior.
    like they didn’t handle the suspend request…

    i have 4 systems running this everyday for months… only see the updatenotification module output on one as it doesn’t handle hide/suspend…

    i will do some additional debugging

    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 @mithatcak
      last edited by Aug 22, 2019, 12:36 PM

      @mithatcak could you try something for me

      i cannot reproduce this on any of my systems…

      edit the MMM-SleepWake.js file

      		case "SLEEP_HIDE":
      			MM.getModules().enumerate((module) => {
      				// if the module is already hidden
      				if(module.hidden==true)
      					// save it for wake up
      					{v_self1.previously_hidden.push(module.identifier);}
      				else
      					// hide this module
      					{module.hide(1000);}   // < --- change this line , remove the 1000 
      ```
      should look like this
      ```
      		case "SLEEP_HIDE":
      			MM.getModules().enumerate((module) => {
      				// if the module is already hidden
      				if(module.hidden==true)
      					// save it for wake up
      					{v_self1.previously_hidden.push(module.identifier);}
      				else
      					// hide this module
      					{module.hide();}
      ```
      
      let me know

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      M 1 Reply Last reply Aug 22, 2019, 10:24 PM Reply Quote 0
      • M Offline
        mithatcak @sdetweil
        last edited by Aug 22, 2019, 10:24 PM

        @sdetweil Unfortunately same result :/ I will try to replace currentweather and weatherforecast with weather module and see if it’s going to make any difference.

        1 Reply Last reply Reply Quote 0
        • M Offline
          mithatcak
          last edited by Aug 24, 2019, 4:22 PM

          @sdetweil Good news, switching to new weather module fixed the issue.

          S 1 Reply Last reply Aug 24, 2019, 4:29 PM Reply Quote 0
          • S Offline
            sdetweil @mithatcak
            last edited by Aug 24, 2019, 4:29 PM

            @mithatcak interesting

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • 1
            • 2
            • 1 / 2
            1 / 2
            • First post
              16/16
              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