Skip to content
This repository has been archived by the owner on Mar 6, 2022. It is now read-only.

Added POWER_SAVE Notification #66

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

shinyone
Copy link

Added POWER_SAVE Notification to alert other modules

Added POWER_SAVE Notification to alert other modules
@shinyone
Copy link
Author

shinyone commented Sep 29, 2018

I thought it might be useful for other modules to benefit from the MMM-PIR-Sensor module and can react accordingly.

  • Added POWER_SAVE socket notification when the monitor is actually being turned on or off (to avoid too many notifications). USER_PRESENCE is called too many times, then modules can be in sync rather tan each having their own timer.

  • Added POWER_SAVE to module which sends it to other modules when recieved.

  • Added console log for GPIO pin, that help me solve a problem - thought it might be useful for others.

  • Fixed trailing semi-colons that my IDE found.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant