I have thermostat on Modbus. I have made all setup and I’m able to read temperature (Current Temperature, Manual Temperature and Auto Temperature) - modbus sensor. I can as well read status of Thermostat and setup status as well (modbus switch).
I try to use modbus climate. I’m able to read data as current temperature but I’m not able to setup.
It looks to me that register target_temp_register is able to ready setup temperature from Thermostat, but is not able to setup. This is my observation due to whenever I try to setup from faceplate it is overwrite after a few seconds (refresh interval ).
Do you have idea how to make multiple function to be able to read current temperature and set-up temperature into thermostat?
Thank you for your help.
This example it is very useful but I do not have idea how to refer into slider that I have on my card. I’m using type: thermostat (as in above screen), so how can I refer into slider on that? Do you have any idea?
Can you refer into manual that I will be able to ready more about it? Where can I find name of slider that is on Thermostat card?
Sorry for those question but I have started HA working and there is a lot of thinks that I try to manage but I do not have full picture where to find what
I read a little better what your config is presently doing (I may have been on the wrong track with my advice) so I would ask could you perhaps post a link to your heating unit manual so I can read that please?
I’m using Modbus protocol to communicate with my thermostat. All data are kept in registers that I can read or write. Entity Climate is one of the entity that I use. Based on HA I can used Thermostat card that I see current temperature and I could be able to setup. If I’m right click on ring I can changed temperature within the range that is setup but I’m not able to send setup. As you have mention I should use “modbus.write_register” but from where I should read that data? To what shall i refer? You are using slidere2 that is defined but how can I read temperature from slider use in Thermostat cards? How to refer into this slider?
I am also working towards using modbus climate platform. When you click on the ‘ring’ to change target termperature, it will send new target temperature via modbus, BUT when it updates the target_temperature, it not only writes register address 4 ( per your setup), it uses a multiple address write and also writes a zero to the following address ( address 4+1=5 in your setup). The data_count: 1 only affects the reading back of the registers ( target and current temperatures). When writing, it always sends two registers, the value and a following zero. No idea why. These lines from climate.py
Hi [dougfreeman], where can i see this function in files, i’m triing to integrate modbus thermostat, but it doesnt support FC 17 i need to change function to use FC 6