since a few days I try that Alexa my Dect thermostat sets i have the following Problem.
if i Say set the Themperature to xx.5 degree it works fine!
here the log.
2018-02-15 12:57:03.105 [ome.event.ItemCommandEvent] - Item 'F2_Office_Soll_Temperatur_Fenster' received command 20.5
2018-02-15 12:57:03.129 [vent.ItemStateChangedEvent] - F2_Office_Soll_Temperatur_Fenster changed from 16.0 to 20.5
2018-02-15 12:57:03.140 [INFO ] [.smarthome.model.script.bueroheizung] - wert 20.5
2018-02-15 12:57:03.145 [vent.ItemStateChangedEvent] - F2_Office_Soll_Temperatur_Mode changed from ECO to ON
If i say The themperature without .5 The temperature will short set and after few seconds it will be resettet to the last Temerature:
here the log:
2018-02-15 12:56:32.103 [ome.event.ItemCommandEvent] - Item 'F2_Office_Soll_Temperatur_Fenster' received command 20
2018-02-15 12:56:32.112 [vent.ItemStateChangedEvent] - F2_Office_Soll_Temperatur_Fenster changed from 16.0 to 20
2018-02-15 12:56:32.119 [vent.ItemStateChangedEvent] - F2_Office_Soll_Temperatur_Mode changed from ECO to ON
2018-02-15 12:56:32.134 [INFO ] [.smarthome.model.script.bueroheizung] - wert 20
2018-02-15 12:56:32.456 [hingStatusInfoChangedEvent] - 'avmfritz:fritzbox:192_168_178_1' changed from ONLINE: FRITZ!Box online to ONLINE: Resuming FRITZ!Box connection with SID 1988f91c45b96502
2018-02-15 12:56:45.907 [vent.ItemStateChangedEvent] - F2_Office_Soll_Temperatur_Fenster changed from 20 to 16.0
2018-02-15 12:56:45.919 [hingStatusInfoChangedEvent] - 'avmfritz:fritzbox:192_168_178_1' changed from ONLINE: Resuming FRITZ!Box connection with SID 1988f91c45b96502 to ONLINE: FRITZ!Box online
2018-02-15 12:56:45.922 [vent.ItemStateChangedEvent] - F2_Office_Soll_Temperatur_Mode changed from ON to ECO
2018-02-15 12:56:45.926 [INFO ] [.smarthome.model.script.bueroheizung] - wert 16.0
Here my Items config:
Group gbueroThermostat "Büro Thermostat" (Home, F2) ["Thermostat"]
Number WohnThermostatCurrentTemp "Büro Thermostat Aktuelle Temperatur [%.1f °C]" (F2_Office,gbueroThermostat) [ "CurrentTemperature" ] {channel="avmfritz:Comet_DECT:192_168_178_1:119600734992:temperature"}
Number F2_Office_Soll_Temperatur_Fenster "Büro soll [%.1f °C]" (F2_Office,gbueroThermostat) [ "TargetTemperature" ] {channel="avmfritz:Comet_DECT:192_168_178_1:119600734992:set_temp"}
String F2_Office_Soll_Temperatur_Mode "Heiz modus [%s]" (F2_Office,gbueroThermostat) [ "homekit:HeatingCoolingMode **" ] { channel="avmfritz:Comet_DECT:192_168_178_1:119600734992:radiator_mode" }
and my rule for the logfile:
rule "buero heizung"
when
Item F2_Office_Soll_Temperatur_Fenster changed
then
logInfo("bueroheizung", "wert "+F2_Office_Soll_Temperatur_Fenster.state)
end
Does this really only happens if you send a temperature without the .5 as decimal? If so we can try to convert the other values to .0 values. It looks like the binding sends integer values without the decimal and that the FRITZ!Box doesn’t like that.
First of all we have to wait for this PR to get merged. After that you can archive that in two ways. First is to upgrade to the snapshot version, second is to download the current .jar file of the binding and install it manually by putting it into your addons folder.