Value is not convertible to double Topic is solved

For devices supporting the Auto Discovery feature. Like ZWaveJS2MQTT, Zigbee2MQTT.

Moderator: leecollings

Post Reply
roblom
Posts: 408
Joined: Wednesday 26 February 2014 15:28
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: the Netherlands
Contact:

Value is not convertible to double

Post 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/"}}
lwolf
Posts: 216
Joined: Saturday 10 November 2018 18:29
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Hungary
Contact:

Re: Value is not convertible to double

Post 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}'
User avatar
gizmocuz
Posts: 2707
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Value is not convertible to double

Post 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
Quality outlives Quantity!
roblom
Posts: 408
Joined: Wednesday 26 February 2014 15:28
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: the Netherlands
Contact:

Re: Value is not convertible to double

Post by roblom »

Can confirm SDR Engineering is going to correct it also.
Lightning fast :-) thanks for your help!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest