• 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-Energy-Saver - an easy way to suspend/resume modules based on a PIR sensor.

Scheduled Pinned Locked Moved System
10 Posts 4 Posters 3.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.
  • M Offline
    michael5r Module Developer @sdetweil
    last edited by Feb 18, 2019, 3:27 AM

    @sdetweil It’s the same thing, though - when do you module.hide(), you trigger the suspend method for that particular module.

    S 1 Reply Last reply Feb 18, 2019, 3:29 AM Reply Quote 0
    • S Offline
      sdetweil @michael5r
      last edited by Feb 18, 2019, 3:29 AM

      @michael5r also note that modules can be hidden on purpose. So wakeup should not show all modules.

      My MMM-SleepWake saves a list of modules already hidden on sleep.

      This also works across sleep/wake voice commands by MMM-voice/lucy

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      M 1 Reply Last reply Feb 18, 2019, 3:35 AM Reply Quote 0
      • S Offline
        sdetweil @michael5r
        last edited by Feb 18, 2019, 3:29 AM

        @michael5r understand and agree

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • M Offline
          michael5r Module Developer @sdetweil
          last edited by Feb 18, 2019, 3:35 AM

          @sdetweil said in MMM-Energy-Saver - an easy way to suspend/resume modules based on a PIR sensor.:

          @michael5r also note that modules can be hidden on purpose. So wakeup should not show all modules.

          My MMM-SleepWake saves a list of modules already hidden on sleep.

          This also works across sleep/wake voice commands by MMM-voice/lucy

          Sure - and in that case, the mmm-energy-saver module probably isn’t a good fit. But it works great when you only need to do what I describe above :)

          1 Reply Last reply Reply Quote 0
          • J Offline
            jordes
            last edited by Nov 19, 2019, 8:14 AM

            how should the MMM-Pir-Sensor be set up for this module to work?
            This is my code:

              {
                            module: 'MMM-PIR-Sensor',
                            config: {
            sensorPin: "23",
                                    // See 'Configuration options' for more information.
                            }
                    }, 
            
            
            {
                module: "mmm-energy-saver",
                config: {
            triggerMonitor: "true",
            timeoutInSeconds: "3",
                    // ... whatever configuration options you want to use
                }
            },
            
            
            M 1 Reply Last reply May 20, 2020, 5:44 PM Reply Quote 0
            • M Offline
              michael5r Module Developer @jordes
              last edited by May 20, 2020, 5:44 PM

              @jordes said in MMM-Energy-Saver - an easy way to suspend/resume modules based on a PIR sensor.:

              how should the MMM-Pir-Sensor be set up for this module to work?
              This is my code:

                {
                              module: 'MMM-PIR-Sensor',
                              config: {
              sensorPin: "23",
                                      // See 'Configuration options' for more information.
                              }
                      }, 
              
              
              {
                  module: "mmm-energy-saver",
                  config: {
              triggerMonitor: "true",
              timeoutInSeconds: "3",
                      // ... whatever configuration options you want to use
                  }
              },
              
              

              This is how I have mine set up:

              {
                  module: 'MMM-PIR-Sensor',
                  config: {
                      sensorPin: 17,
                      powerSavingDelay: 0,
                      powerSavingNotification: false,
                      powerSaving: false // Should the monitor be turned off if no user is present? (via HDMI or relay)
                  }
              },
              
              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