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

Add VBT based on error bits for RollerShutter and Relay #404

Open
klew opened this issue Jan 9, 2024 · 0 comments
Open

Add VBT based on error bits for RollerShutter and Relay #404

klew opened this issue Jan 9, 2024 · 0 comments

Comments

@klew
Copy link
Member

klew commented Jan 9, 2024

For RS we have defined value flags:
#define RS_VALUE_FLAG_CALIBRATION_FAILED 0x2
#define RS_VALUE_FLAG_CALIBRATION_LOST 0x4
#define RS_VALUE_FLAG_MOTOR_PROBLEM 0x8
#define RS_VALUE_FLAG_CALIBRATION_IN_PROGRESS 0x10

For Relays:
#define SUPLA_RELAY_FLAG_OVERCURRENT_RELAY_OFF 0x1

RS and Relay channels should have Reactions for above values/errors/states.

https://forum.supla.org/viewtopic.php?t=14599

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

No branches or pull requests

1 participant