-
Notifications
You must be signed in to change notification settings - Fork 3
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
Transition to Object Oriented Model + Therminator Unique Register Support #7
Conversation
Co-authored-by: Jeroen Laverman <LavermanJJ@users.noreply.github.com>
Co-authored-by: Jeroen Laverman <LavermanJJ@users.noreply.github.com>
Co-authored-by: Jeroen Laverman <LavermanJJ@users.noreply.github.com>
Co-authored-by: Jeroen Laverman <LavermanJJ@users.noreply.github.com>
Co-authored-by: Jeroen Laverman <LavermanJJ@users.noreply.github.com>
I did a sanity check with the values (except heating circuit holding), and it looks good 👍 Great work! |
Co-authored-by: Jeroen Laverman <LavermanJJ@users.noreply.github.com>
Alright, 🤞 this should probably work now. |
The skipping of registers is not fully working for me. It works for the first gap (between btw. I like the enhanced print 👍 |
Yeah, i forgot to offset the count after a gap was already detected. I created a test for this case, should work now. |
LGTM! |
This is my first draft of the changes to make the api more modular.
All Holding and Input registers were moved into classes abstracting the components of the heating system.
Holdingregisters are now also read as a range instead of single values.
The
init()
of the api now accepts a system parameter which defines what and how componenets are initialized.These are a lot of changes, i could only verify the buffer, pelletsboiler and heating_circuit componenets of the Therminator.
I could not test any of the writing api functions. I expect there to be some errors, please test it on your system before merging it.
I also added an example to the readme.