24.11.2023, 14:17
Should this works ??
Code:
{
"manufacturer": "GCHV",
"description": "test",
"mapping": [
{
"name": "On Off",
"address": 0,
"value_custom": {
"1": "Off",
"2": "On"
},
"bus_datatype": "uint8",
"datatype": "uint8",
"type": "register",
"value_bitmask": "0XC000",
"writable": true,
"write_bitmask": true
},
{
"name": "Setting tempreture",
"address": 0,
"bus_datatype": "temperature",
"datatype": "uint8",
"type": "register",
"value_bitmask": "0X001F",
"writable": true,
"write_bitmask": true
},
{
"name": "Fan speed",
"address": 0,
"value_custom": {
"1": "low spped",
"2": "middle spped",
"4": "high speed",
"8": "Auto speed(low speed for GEN3+)"
},
"bus_datatype": "uint8",
"datatype": "uint8",
"type": "register",
"value_bitmask": "0X01E0",
"writable": true,
"write_bitmask": true
},
{
"name": "setting mode",
"address": 0,
"value_custom": {
"1": "cooling mode",
"2": "dehumidification mode (cooling mode for GEN3+)",
"4": "Ventilation mode",
"8": "heating mode",
"16": "AUTO mode(cooling mode for GEN3+)",
"9": "floor heating",
"10": "intelligent floor heating"
},
"bus_datatype": "uint8",
"datatype": "unit8",
"type": "register",
"value_bitmask": "0X3E00",
"writable": true,
"write_bitmask": true
}
]
}