Page 1 of 1

MQTT does round set value if it contains fractions

Posted: 01 Oct 2021 01:07
by harre
I have some other non-z-wave stuff in openhab so I want to be able to send signals from there to my stuff in z-way-land.

Apparently there are some bug in the z-way plugin for openhab where I don't get the values of my popp thermostats changed from openhab.

The solution was to use MQTT to create a new openhab thing I can set the thermostat.

It's working well except that if I'm setting the value to "23.5" I get immediately a mqtt value of "23"

You can check the attached screenshot where I published the value 23.2 but the status/.. topic gets set to 23

However, if I set the temperature using the ZAutomation-api it gets set correctly.
http://192.168.1.180:8083/ZAutomation/a ... level=23.2

Another question, the z-way interface just lets me set the thermostat value in 0,5degrees intervals. Is it possible to change it?

PS. I posted a github issue also as I don't know where to post primarly. DS
link: https://github.com/Z-Wave-Me/home-automation/issues/523

Re: MQTT does round set value if it contains fractions

Posted: 11 Oct 2021 01:25
by harre
The expert interface uses another API-method and even changing it to whatever sets the temperature correctly

http://raspberrypi:8083/ZWave.zway/Run/ ... t(1,22.66)

Re: MQTT does round set value if it contains fractions

Posted: 25 Oct 2021 00:33
by harre
Any info on this issue?

Re: MQTT does round set value if it contains fractions

Posted: 26 Oct 2021 22:30
by PoltoS
Hi!

It was fixed recently. Will be part of the next release:
https://github.com/Z-Wave-Me/home-autom ... 16c7004361