Open heinekmadsen opened 2 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Do you have protocol documentation for your device?
Do you have protocol documentation for your device?
added the docs here https://github.com/heinekmadsen/esphome_components/blob/dev/components/wavinahc9000v2/Wavin%20Modbus%20specification%20AHC9000%20direkte.pdf
@ssieb did you have time to look into the documentation?
The problem
I have a custom component for a Wavin ahc 9000 floor heating system. In ESPhome 2022.5 the component works just fine, but after update to 2022.6 it's no longer working.
When using a number on the modbus_controller platform it fails to write the new value.
It uses function code 44 for writing the value. But in with this commit (i think) it makes it default to function code 6. https://github.com/esphome/esphome/commit/4f52d43347c6b87529238d737473bed974b5705e
I do see that per https://modbus.org/docs/Modbus_Application_Protocol_V1_1b3.pdf user defined function codes should be within some specific ranges.
But how will i get my number working again with 2022.6?
Which version of ESPHome has the issue?
2022.6.x
What type of installation are you using?
Home Assistant Add-on
Which version of Home Assistant has the issue?
2022.6
What platform are you using?
ESP32
Board
No response
Component causing the issue
No response
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response