Found a nice Tuya Ceiling lamp-fan that (as a bonus) can show something very close to the Homey logo
In the Tuya app I can set the Scene to number 33 or 34 and voila, the Homey logo is there. But now I want to start this from an advanced flow. But I have no clue what to fill in at the String or JSON cards. I have this information.
{ “device”: { “active_time”: 1779469570, “biz_type”: 0, “category”: “fsd”, “create_time”: 1779469570, “icon”: “smart/icon/bay16341152123566Lf0/8643276ede5759a350b35668b6e05733.png”, “id”: “(my lamps tuya ID)”, “ip”: “”, “lat”: “”, “local_key”: “”, “lon”: “”, “name”: “CompFan”, “online”: true, “owner_id”: “”, “product_id”: “nqdytaota6qmmdny”, “product_name”: “Smart Fan Light”, “status”: [ { “code”: “switch_led”, “value”: true }, { “code”: “work_mode”, “value”: “colour” }, { “code”: “bright_value”, “value”: 1000 }, { “code”: “temp_value”, “value”: 292 }, { “code”: “colour_data”, “value”: “{\“h\”:0,\“s\”:1000,\“v\”:130}” }, { “code”: “do_not_disturb”, “value”: false }, { “code”: “fan_switch”, “value”: false }, { “code”: “fan_mode”, “value”: “fresh” }, { “code”: “fan_speed”, “value”: 15 }, { “code”: “fan_direction”, “value”: “forward” }, { “code”: “countdown_left_fan”, “value”: 0 } ], “sub”: false, “time_zone”: “+02:00”, “uid”: “”, “update_time”: 1779469570, “uuid”: “” }, “specifications”: { “category”: “fsd”, “functions”: [ { “code”: “switch_led”, “type”: “Boolean”, “values”: “{}” }, { “code”: “work_mode”, “type”: “Enum”, “values”: “{\“range\”:[\“white\”,\“colour\”,\“scene\”,\“music\”]}” }, { “code”: “bright_value”, “type”: “Integer”, “values”: “{\“min\”:10,\“max\”:1000,\“scale\”:0,\“step\”:1}” }, { “code”: “temp_value”, “type”: “Integer”, “values”: “{\“min\”:0,\“max\”:1000,\“scale\”:0,\“step\”:1}” }, { “code”: “colour_data”, “type”: “Json”, “values”: “{}” }, { “code”: “control_data”, “type”: “String”, “values”: “{\“maxlen\”:255}” }, { “code”: “do_not_disturb”, “type”: “Boolean”, “values”: “{}” }, { “code”: “fan_switch”, “type”: “Boolean”, “values”: “{}” }, { “code”: “fan_mode”, “type”: “Enum”, “values”: “{\“range\”:[\“fresh\”,\“nature\”]}” }, { “code”: “fan_speed”, “type”: “Integer”, “values”: “{\“min\”:1,\“max\”:100,\“scale\”:0,\“step\”:1}” }, { “code”: “fan_direction”, “type”: “Enum”, “values”: “{\“range\”:[\“forward\”,\“reverse\”]}” }, { “code”: “countdown_left_fan”, “type”: “Integer”, “values”: “{\“unit\”:\“min\”,\“min\”:0,\“max\”:540,\“scale\”:0,\“step\”:1}” } ], “status”: [ { “code”: “switch_led”, “type”: “Boolean”, “values”: “{}” }, { “code”: “work_mode”, “type”: “Enum”, “values”: “{\“range\”:[\“white\”,\“colour\”,\“scene\”,\“music\”]}” }, { “code”: “bright_value”, “type”: “Integer”, “values”: “{\“min\”:10,\“max\”:1000,\“scale\”:0,\“step\”:1}” }, { “code”: “temp_value”, “type”: “Integer”, “values”: “{\“min\”:0,\“max\”:1000,\“scale\”:0,\“step\”:1}” }, { “code”: “colour_data”, “type”: “Json”, “values”: “{}” }, { “code”: “do_not_disturb”, “type”: “Boolean”, “values”: “{}” }, { “code”: “fan_switch”, “type”: “Boolean”, “values”: “{}” }, { “code”: “fan_mode”, “type”: “Enum”, “values”: “{\“range\”:[\“fresh\”,\“nature\”]}” }, { “code”: “fan_speed”, “type”: “Integer”, “values”: “{\“min\”:1,\“max\”:100,\“scale\”:0,\“step\”:1}” }, { “code”: “fan_direction”, “type”: “Enum”, “values”: “{\“range\”:[\“forward\”,\“reverse\”]}” }, { “code”: “countdown_left_fan”, “type”: “Integer”, “values”: “{\“unit\”:\“min\”,\“min\”:0,\“max\”:540,\“scale\”:0,\“step\”:1}” } ] }, “data_points”: [ { “code”: “switch_led”, “custom_name”: “”, “dp_id”: 20, “time”: 0, “type”: “Boolean”, “value”: “{}” }, { “code”: “work_mode”, “custom_name”: “”, “dp_id”: 21, “time”: 0, “type”: “Enum”, “value”: “{\“range\”:[\“white\”,\“colour\”,\“scene\”,\“music\”]}” }, { “code”: “bright_value”, “custom_name”: “”, “dp_id”: 22, “time”: 0, “type”: “Integer”, “value”: “{\“min\”:10,\“max\”:1000,\“scale\”:0,\“step\”:1}” }, { “code”: “temp_value”, “custom_name”: “”, “dp_id”: 23, “time”: 0, “type”: “Integer”, “value”: “{\“min\”:0,\“max\”:1000,\“scale\”:0,\“step\”:1}” }, { “code”: “colour_data”, “custom_name”: “”, “dp_id”: 24, “time”: 0, “type”: “Json”, “value”: “{}” }, { “code”: “do_not_disturb”, “custom_name”: “”, “dp_id”: 34, “time”: 0, “type”: “Boolean”, “value”: “{}” }, { “code”: “fan_switch”, “custom_name”: “”, “dp_id”: 60, “time”: 0, “type”: “Boolean”, “value”: “{}” }, { “code”: “fan_mode”, “custom_name”: “”, “dp_id”: 61, “time”: 0, “type”: “Enum”, “value”: “{\“range\”:[\“fresh\”,\“nature\”]}” }, { “code”: “fan_speed”, “custom_name”: “”, “dp_id”: 62, “time”: 0, “type”: “Integer”, “value”: “{\“min\”:1,\“max\”:100,\“scale\”:0,\“step\”:1}” }, { “code”: “fan_direction”, “custom_name”: “”, “dp_id”: 63, “time”: 0, “type”: “Enum”, “value”: “{\“range\”:[\“forward\”,\“reverse\”]}” }, { “code”: “fan_countdown_left”, “custom_name”: “”, “dp_id”: 64, “time”: 0, “type”: “Integer”, “value”: “{\“unit\”:\“min\”,\“min\”:0,\“max\”:540,\“scale\”:0,\“step\”:1}” } ] }
I have a Set colour_data to JSON card and a work_mode to String card, tried for hours using parts of the code above, but all ends in errors. Has anyone the solution to this riddle?