Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SensorDimmer Enhancements #302

merged 3 commits into from Mar 3, 2018


None yet
1 participant
Copy link

commented Mar 3, 2018

This PR is to enhance the current implementation of SensorDimmer:

  • Added _status variable to store the current status
  • The sensor now presents two S_DIMMER child, one accepting V_STATUS messages, the other V_PERCENTAGE (fixes #296)
  • Default pin 3 since A0 is not a PWM pin
  • Added setStatus() and setPercentage() to set status and percentage programmatically
  • Added setReverse() and exposed through the remote API (fixes #297)

@user2684 user2684 merged commit 6cbc78d into mysensors:development Mar 3, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.