tobinski
(tobias_braeutigam)
December 29, 2017, 9:29pm
1
Hi!
openHAB 2.2.0 Release Build
I have a problem with the setpoint item an the modbus binding .
Modbus binding:
tcp.slave2.connection=192.168.178.12:502
tcp.slave2.id=1
tcp.slave2.start=12291
tcp.slave2.length=2
tcp.slave2.type=holding
tcp.slave2.valuetype=float32
Item:
Number Temperatur "Temperatur [%f °C]" (ALL) {modbus="slave2:2"}
Sitemap:
Setpoint item=Temperatur minValue=22 maxValue=30 step=0.2
If I adjust the setpoint (BasicUI or Android App), the modbus value is only updated, if there is change from intergers (e.g. 22°C to 23°C). The decimal changes are not write to the modbus slave. So I think, openHAB only write WORDS an not float32.
How can I force openHAB to write the setpoint as float32 to the modbus slave?
rossko57
(Rossko57)
December 30, 2017, 10:37pm
2
That is correct, for Modbus binding version 1.x. There is no way to write 32 bit floats.
You will have to move to binding version 2
You will have to change your modbus configuration a lot, adding new Things
Hi all,
EDIT: I am happy to announce that he binding got merged to official openHAB master. It will be available in the next release!
Very big thanks to all beta testers!
I will disable the Eclipse Marketplace download links as now one should use the official snapshot version. When openHAB 2.4 is out, the new modbus binding will be included as part of that as well. See documentation (“Installation guide”) for more information.
Please note that documentation is also merged to the official pla…
1 Like
tobinski
(tobias_braeutigam)
January 9, 2018, 6:11pm
3
Thank you! I will give it a try.