Alexa & Fritzbox DECT Thermostat

Hello,

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

can somebody help me to fix this problem please ?

regards

Andy

Hi Andreas,

sounds related to:

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.

Hello,

yes it only happens when i set the temperature without .5 degrees with the xx.5 the temperature will be set and stored.

I can reproduce your issue. Sending a decimal works fine (param=33). Sending an Integer fails (param=4E+1). I will fix it.

2018-02-15 21:45:01.438 [DEBUG] [nding.avmfritz.handler.DeviceHandler] - Handle command '16.5' for channel set_temp
2018-02-15 21:45:01.445 [DEBUG] [ternal.hardware.FritzahaWebInterface] - GETting URL http://192.XXX.XXX.XXX/webservices/homeautoswitch.lua?ain=AAAAAAAAAA&switchcmd=sethkrtsoll&param=33&sid=818a862ffef3d5c3
2018-02-15 21:45:02.065 [DEBUG] [nal.hardware.FritzahaContentExchange] - HTTP response 200
2018-02-15 21:45:02.067 [DEBUG] [nal.hardware.FritzahaContentExchange] - response complete: 33
2018-02-15 21:44:12.301 [DEBUG] [nding.avmfritz.handler.DeviceHandler] - Handle command '20' for channel set_temp
2018-02-15 21:44:12.318 [DEBUG] [ternal.hardware.FritzahaWebInterface] - GETting URL http://192.XXX.XXX.XXX/webservices/homeautoswitch.lua?ain=AAAAAAAAAA&switchcmd=sethkrtsoll&param=4E+1&sid=818a862ffef3d5c3
2018-02-15 21:44:13.360 [DEBUG] [nal.hardware.FritzahaContentExchange] - HTTP response 200
2018-02-15 21:44:13.365 [DEBUG] [nal.hardware.FritzahaContentExchange] - response complete:

this sounds great!!! thank you very much vor your help

hello,
thanks for the fast fix ! but one (silli) question i have (im very new on openhab) how can i update this binding ?

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.

ah ok thank you for this information