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

Added POWER_SAVE Notification - #66

Open
shinyone wants to merge 3 commits into
paviro:masterfrom
shinyone:patch-1
Open

Added POWER_SAVE Notification#66
shinyone wants to merge 3 commits into
paviro:masterfrom
shinyone:patch-1

Conversation

@shinyone

Copy link
Copy Markdown

Added POWER_SAVE Notification to alert other modules

Added POWER_SAVE Notification to alert other modules
@shinyone

shinyone commented Sep 29, 2018

Copy link
Copy Markdown
Author

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