-
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
Mod bus Question #3
Comments
Yes, you can write the coils and holding registers, which are the read/write values. Here's some example code to read the setpoints - the write is commented out but did work when I tried it:
|
Brilliant! Thanks for your quick response.! 😁 So it would be possible for me to create my own inside controller/thermostat to tell the HP to provide a fixed temp output, but vary that "fixed" temp according to my own weather compensation scheme? My (tentative) plan is to have a simple controller with "too hot" and "too cold" buttons. The user would prod those amif required and the controller would adjust the WC curve in response and also try to learn what flow temp is most appropriate for a given outside temp, time of day, day of week etc. If I can control the parameters via modbus amd the HP doesn't do anything strange (like reboot after each change or something) this might be possible. |
I think that would be possible. The HP has several modes, incoming weather compensation, fixed flow temps and based on a sensor in the buffer tank. The interaction between the different modes can be somewhat non-obvious, especially if you have the HP running the show rather than via an external on/off thermostat, but I think simply turning off weather compensation and manipulating the set points will probably achieve what you want. |
Hi. A big thank you for your input. Using a serial usb interface, I can read registers. I too am keen to read/write the setpoints from within Home Assistant. The example code above applies to tcp. Could you please provide an example code for serial? |
Here's a translation of the above example to use a serial Modbus device. I did
I've not used the register write function in HA, so not sure how best to do that. But the registers read above can equally be written to. |
Hi, thank you for documenting your findings.
Quick question: can you write parameters to the unit via modbus?
Eg you can change setpoints etc via the official remote controller using a somewhat clunky parameter/value interface
Can these parameters be written to via modbus or can it only read the User information parameters?
Thanks.
The text was updated successfully, but these errors were encountered: