I added the thermostat to HA, the temperature surprisingly shows correctly divided in half, but I have two problems:
1. Inverted relay state.: (RelayState, Channel 5)
{
"dev": {
"ids": [
"OpenBK7231N_799F00054"
],
"name": "obkN_799F00054",
"sw": "1.17.273",
"mf": "Beken Corporation",
"mdl": "BK7231N",
"cu": "http://192.168.110.43/index"
},
"name": "RelayState",
"~": "BHT_B_gabinet",
"avty_t": "~/connected",
"pl_on": "0",
"pl_off": "1",
"uniq_id": "OpenBK7231N_799F00054_binary_sensor_5",
"qos": 1,
"stat_t": "~/5/get"
}
On the configuration page of the thermostat the state shows correctly, in HA it is reversed, it should be
on: 1, off: 0, where can I modify this config?.
2. Channel 7 is used to send a request to set the expected temperature, in the config is GET and should be SET.:
{
"dev": {
"ids": [
"OpenBK7231N_799F00054"
],
"name": "obkN_799F00054",
"sw": "1.17.273",
"mf": "Beken Corporation",
"mdl": "BK7231N",
"cu": "http://192.168.110.43/index"
},
"name": "Temperature",
"~": "BHT_B_gabinet",
"avty_t": "~/connected",
"uniq_id": "OpenBK7231N_799F00054_temperature_7",
"qos": 1,
"dev_cla": "temperature",
"unit_of_meas": "°C",
"stat_t": "~/7/get",
"stat_cla": "measurement",
"val_tpl": "{{ float(value)*0.5|round(2) }}"
}
Channel type to: Temperature_div2.
I also question where to change it?
PS. Channel Types temperature is missing which would allow not only reading but also sending values, just like Toggle:
"stat_t": "~/1/get",
"cmd_t": "~/1/set"
I guess I missed any of the channel types that would meet such a condition.