Guys, I have problem with GCHV modBus Gateway I have write the script however I can't write
can you please check it . ??
Code:
{
"manufacturer": "GCHV",
"description": "test",
"mapping": [
{
"name": "On Off",
"address": 40003,
"value_custom": {
"1": "Off",
"2": "On"
},
"bus_datatype": "float32",
"datatype": "uint8",
"type": "register",
"value_bitmask": "0XC000",
"writable": true,
"write_bitmask": true
},
{
"name": "Setting tempreture",
"address": 40003,
"bus_datatype": "temperature",
"datatype": "uint8",
"type": "register",
"value_bitmask": "0X001F",
"writable": true,
"write_bitmask": true
},
{
"name": "Fan speed",
"address": 40003,
"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": 40003,
"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": "uint16",
"type": "register",
"value_bitmask": "0X3E00",
"writable": true,
"write_bitmask": true
}
]
}