MQTT does round set value if it contains fractions

Discussions about Z-Way software and Z-Wave technology in general
Post Reply
harre
Posts: 95
Joined: 24 Nov 2020 02:22

MQTT does round set value if it contains fractions

Post 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
Attachments
Screenshot_2021-10-01_00-03-51.png
Screenshot_2021-10-01_00-03-51.png (73.27 KiB) Viewed 2023 times
harre
Posts: 95
Joined: 24 Nov 2020 02:22

Re: MQTT does round set value if it contains fractions

Post 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)
harre
Posts: 95
Joined: 24 Nov 2020 02:22

Re: MQTT does round set value if it contains fractions

Post by harre »

Any info on this issue?
User avatar
PoltoS
Posts: 7562
Joined: 26 Jan 2011 19:36

Re: MQTT does round set value if it contains fractions

Post by PoltoS »

Hi!

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