Hello Comunity,
I need to connect my Blitzwolf BW-LT32 Pro to HA properly, so i can change colors.
On the Tuya IoT Platform i get this as instruction set:
{
"result": {
"category": "dj",
"functions": [
{
"code": "switch_led",
"desc": "switch led",
"name": "switch led",
"type": "Boolean",
"values": "{}"
},
{
"code": "bright_value_v2",
"desc": "bright value v2",
"name": "bright value v2",
"type": "Integer",
"values": "{\"unit\":\"\",\"min\":10,\"max\":1000,\"scale\":0,\"step\":1}"
},
{
"code": "control_data",
"desc": "control data",
"name": "control data",
"type": "Json",
"values": "{\"change_mode\":{\"range\":[\"direct\",\"gradient\"]}, \"bright\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}, \"temperature\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}, \"h\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":360,\"step\":1},\"s\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":255,\"step\":1},\"v\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":255,\"step\":1}}"
}
]
},
}
For better reading heres the control data in detail with proper format
"code": "control_data",
"desc": "control data",
"name": "control data",
"type": "Json",
"values": {
"change_mode":{
"range":[
"direct",
"gradient"
]
},
"bright":{
"min":0,
"scale":0,
"unit":"",
"max":1000,
"step":1
},
"temperature":{
"min":0,
"scale":0,
"unit":"",
"max":1000,
"step":1
},
"h":{
"min":0,
"scale":0,
"unit":"",
"max":360,
"step":1
},
"s":{
"min":0,
"scale":0,
"unit":"",
"max":255,
"step":1
},
"v":{
"min":0,
"scale":0,
"unit":"",
"max":255,
"step":1
}
}
the brightness and the switch get recognized as id in the device configuration of local tuya, but how can i add the control_data properly so i can change colors and all that stuff.
Thanks in advance, any helpwill be appreciated