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 reset button for message 116 to 123 #1

Open
arthurrump opened this issue Oct 1, 2022 · 0 comments
Open

Add reset button for message 116 to 123 #1

arthurrump opened this issue Oct 1, 2022 · 0 comments

Comments

@arthurrump
Copy link
Owner

These are the Burner starts, CH pump starts, ..., DHW burner operation hours messages in the protocol. Their value can be reset by sending a WRITE_DATA message with data 00 (though support for this is optional for the slave). We should add a button for each of these to reset the counter.

Note that this will require a rework of the build_request logic and probably the schema, because now we have both read and write support on the same message. This was already the case for t_dhw_set and max_t_set, but there we simply preferred the write request. That won't work here...

Since the button press is handled asynchronously in the message loop anyway, it might be solvable by checking if the button was pressed and then using the write request version.

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