-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[shelly] Shelly TRV: decimal place of target temperature is cut off #16709
Labels
bug
An unexpected problem or unintended behavior of an add-on
PR pending
There is a pull request for resolving the issue
Comments
Larsen-Locke
added
the
bug
An unexpected problem or unintended behavior of an add-on
label
May 1, 2024
Larsen-Locke
changed the title
[shelly] Shelly TRV: decimal place of target temperature is cut off
when you set a target temperature (e.g. 20.5) in openhab the decimal place is cut off by the binding so that the Shelly TRV only receives the integer (22). You see in the following log in line1 that the target is set to 22.5. In line2 it's truncated to 22. In line3 it becomes 22.0
LOG:
[shelly] Shelly TRV: decimal place of target temperature is cut off
May 1, 2024
2024-04-27 16:06:58.809 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellytrv: Set temperature to 22.5
2024-04-27 16:06:58.809 [TRACE] [shelly.internal.api.ShellyHttpClient] - shellytrv: HTTP GET http://192.168.1.94/thermostat/0?target_t_enabled=1&target_t=22
2024-04-27 16:07:00.666 [TRACE] [shelly.internal.api.ShellyHttpClient] - shellytrv: HTTP Response 200: {"pos":0.0,"target_t":{"enabled":true,"value":22.0,"value_op":8.0,"units":"C"},"tmp":{"value":21.2,"units":"C","is_valid":true},"schedule":false,"schedule_profile":1,"boost_minutes":0,"window_open":false}
markus7017
added a commit
to markus7017/openhab-addons
that referenced
this issue
May 11, 2024
…enhab#16735 Signed-off-by: Markus Michels <markus7017@gmail.com>
I tested the TRV with your snapshot and it's running perfectly: Both ways work with full and half-values. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
An unexpected problem or unintended behavior of an add-on
PR pending
There is a pull request for resolving the issue
Shelly TRV: when you set a target temperature (e.g. 20.5) in openhab the decimal place is cut off by the binding so that the Shelly TRV only receives the integer (22). You see in the following log in line1 that the target is set to 22.5. In line2 it's truncated to 22. In line3 it becomes 22.0
LOG:
Your Environment
openhab 4.2 M2
bug is in binding 4.2dev and 4.2M2
The text was updated successfully, but these errors were encountered: