I'am not that good in scripting.
this is the message from mqtt regarding the airco
Code: Select all
{
"curr_temp_t": "domoticz//climate/airco/current_temperature/state",
"mode_cmd_t": "domoticz//climate/airco/mode/command",
"mode_stat_t": "domoticz//climate/airco/mode/state",
"modes": [
"off",
"cool",
"heat",
"fan_only",
"dry",
"heat_cool"
],
"temp_cmd_t": "domoticz//climate/airco/target_temperature/command",
"temp_stat_t": "domoticz//climate/airco/target_temperature/state",
"min_temp": 16,
"max_temp": 32,
"temp_step": 1,
"temp_unit": "C",
"min_hum": 30,
"max_hum": 99,
"pr_mode_cmd_t": "domoticz//climate/airco/preset/command",
"pr_mode_stat_t": "domoticz//climate/airco/preset/state",
"preset_modes": [
"sleep",
"Antifungus",
"Clean",
"Health"
],
"act_t": "domoticz//climate/airco/action/state",
"fan_mode_cmd_t": "domoticz//climate/airco/fan_mode/command",
"fan_mode_stat_t": "domoticz//climate/airco/fan_mode/state",
"fan_modes": [
"auto",
"low",
"medium",
"high",
"mute",
"turbo"
],
"swing_mode_cmd_t": "domoticz//climate/airco/swing_mode/command",
"swing_mode_stat_t": "domoticz//climate/airco/swing_mode/state",
"swing_modes": [
"off",
"both",
"vertical",
"horizontal"
],
Can you give me a start-up?