Open 17844 opened 1 year ago
I am stuck in same position as you when trying to write a value to a number. Did you find it out?
I have been stuck there for a while. Documentation might be better on this particular topic. After a bit of browsing the c++ code for modbus controller. It seems that you can do three things, but only one thing at a time.
This is what I read in the code. I didn't have the time to test it yet.
The example provided in the documentation, will definitely never hit any Modbus target. However, the text above the example, actually does give a decent overview.
I will try it out later this week. If I am wrong, I will write another comment.
The problem
Trying to write to modbus device fails
Which version of ESPHome has the issue?
2023.2.4
What type of installation are you using?
Home Assistant Add-on
Which version of Home Assistant has the issue?
2023.2.5
What platform are you using?
ESP8266
Board
nodemcu
Component causing the issue
No response
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
When trying to write a value to number "Sätt Värmekurva", it fails. See last part of log. No Response. reading data from same register is no problem. It has worked in earlier versions but I am not sure when it stopped working.