I try to create a climate device using MQTT Auto Discovery.
I have a issue using the "temperature_command_template". Indeed I need so publish on a topic using as example "temperature_command_template":"{{ 'S710='+ (value| string) }}".
When I set a new temperture with the climate device under domoticz it publish :
Code: Select all
{
"'S710='+ (value| string)": 19.5
}
Code: Select all
S710=19.5
Code: Select all
{
"temperature_command_topic": "BSB-LAN",
"temperature_command_template": "'S710='+ (value| string)",
"temperature_state_topic": "BSB-LAN/710",
"json_attributes_topic": "BSB-LAN",
"min_temp": 17,
"max_temp": 25,
"device": {
"identifiers": [
"Consigne_confort"
],
"manufacturer": "Atlantic",
"model": "Alfea AI",
"name": "Consigne_confort",
"sw_version": "1.00"
},
"name": "Consigne_confort_climate",
"unique_id": "Consigne_confort_climate_0"
}
I spent hours on this issue, anu help will be appreciated.
I use Domoticz 2023.2 15697 (docker).