Hello,
we have KlassFan Wifi Fan at home. I am trying to make it works with LocalTuya but i am completly lost on my config.
If somebody can help me it would be very nice !
I am able to set up integration but when i want to configure my fans i don’t understand what to do.
I had downloaded “Get Device Specification Attribute” from API, i think it is a good start :
{
"result": {
"category": "fs",
"functions": [
{
"code": "switch",
"dp_id": 1,
"type": "Boolean",
"values": "{}"
},
{
"code": "mode",
"dp_id": 2,
"type": "Enum",
"values": "{\"range\":[\"normal\",\"sleep\",\"nature\"]}"
},
{
"code": "fan_speed",
"dp_id": 3,
"type": "Enum",
"values": "{\"range\":[\"1\",\"2\",\"3\",\"4\",\"5\",\"6\"]}"
},
{
"code": "fan_direction",
"dp_id": 8,
"type": "Enum",
"values": "{\"range\":[\"forward\",\"reverse\"]}"
},
{
"code": "light",
"dp_id": 15,
"type": "Boolean",
"values": "{}"
},
{
"code": "bright_value",
"dp_id": 16,
"type": "Integer",
"values": "{\"min\":0,\"max\":100,\"scale\":0,\"step\":1}"
},
{
"code": "temp_value",
"dp_id": 17,
"type": "Integer",
"values": "{\"min\":0,\"max\":100,\"scale\":0,\"step\":1}"
},
{
"code": "countdown_set",
"dp_id": 22,
"type": "Enum",
"values": "{\"range\":[\"cancel\",\"1h\",\"2h\",\"4h\",\"8h\"]}"
}
],
"status": [
{
"code": "switch",
"dp_id": 1,
"type": "Boolean",
"values": "{}"
},
{
"code": "mode",
"dp_id": 2,
"type": "Enum",
"values": "{\"range\":[\"normal\",\"sleep\",\"nature\"]}"
},
{
"code": "fan_speed",
"dp_id": 3,
"type": "Enum",
"values": "{\"range\":[\"1\",\"2\",\"3\",\"4\",\"5\",\"6\"]}"
},
{
"code": "fan_direction",
"dp_id": 8,
"type": "Enum",
"values": "{\"range\":[\"forward\",\"reverse\"]}"
},
{
"code": "light",
"dp_id": 15,
"type": "Boolean",
"values": "{}"
},
{
"code": "bright_value",
"dp_id": 16,
"type": "Integer",
"values": "{\"min\":0,\"max\":100,\"scale\":0,\"step\":1}"
},
{
"code": "temp_value",
"dp_id": 17,
"type": "Integer",
"values": "{\"min\":0,\"max\":100,\"scale\":0,\"step\":1}"
},
{
"code": "countdown_set",
"dp_id": 22,
"type": "Enum",
"values": "{\"range\":[\"cancel\",\"1h\",\"2h\",\"4h\",\"8h\"]}"
}
]
},
"success": true,
"t": 1659018959933,
"tid": "994db76d0e8211edbe0212a0ae1c36b7"
}
Thank you for help and excuse me for my bad english, i am french.