Read the statement by Michael Teeuw here.
MMM-Energy-Saver - an easy way to suspend/resume modules based on a PIR sensor.
-
@sdetweil It’s the same thing, though - when do you
module.hide()
, you trigger thesuspend
method for that particular module. -
@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
-
@michael5r understand and agree
-
@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 :) -
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 } },
-
@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) } },