Page 1 of 1

Value is not convertible to double

Posted: Saturday 11 March 2023 19:02
by roblom
Since I've updated to build 15141 I get this error message. I understand that it has something to do with my heatbooster but I know the Domoticz support (autodiscovery) isn't supported. Someone know who can solve this error?


Error: Value is not convertible to double.! (topic: homeassistant/number/Heatbooster-Hal/ambientcontrol-temp/config/message: {"name":"Room temperature target","unique_id":"Heatbooster-Hal_ambientcontrol-temp","object_id":"Heatbooster-Hal_ambientcontrol-temp","icon":"mdi:home-thermometer","state_topic":"Heatbooster-Hal/ambientcontrol-temp","unit_of_measurement":"°C","command_topic":"Heatbooster-Hal/ambientcontrol-temp-ref","min":14,"max":26,"step":"0.50","device":{"name":"HeatBooster - Heatbooster-Hal","model":"HeatBooster","manufacturer":"SDR Engineering","identifiers":"Heatbooster-Hal","sw_version":"2.1.8","configuration_url":"http://192.168.178.11/"}}

Re: Value is not convertible to double

Posted: Saturday 11 March 2023 19:25
by lwolf
Do you know the payloads which arrives to ambientcontrol-temp?

I am using this template for my thermostat with Domoticz and ESPEasy-like generic MQTT: ( #/state contains the current state, #/set used to set value)
My payloads are simple numbers with one decimal.

homeassistant/climate/thermostat1/config
{"unique_id": "HV_1","name": "thermostat4_setpoint","qos": 1,"retain": true,"~":"thermostat1/thermo1","temperature_command_topic": "~/Setpoint/set","temperature_state_topic": "~/Setpoint/state","temperature_unit": "C","precision": 0.1,"temp_step": 0.5,"max_temp": 40,"min_temp": 10}'

Re: Value is not convertible to double

Posted: Sunday 12 March 2023 12:18
by gizmocuz
This issue was caused by the 'step' value, it was not a number but a string.
As roblom uses a specific SDR device (not zigbee/zwave) the request to solve this upstream has been asked as well
Anyway, in the current beta version this is solved as well

Re: Value is not convertible to double

Posted: Sunday 12 March 2023 13:13
by roblom
Can confirm SDR Engineering is going to correct it also.
Lightning fast :-) thanks for your help!