Good day all,
I’m trying to setup local tuya for a RGB strip light. I have done the initial setup for the platform light. So I can turn the lights on and off.
However I do not know what platform to choose for the remaining items for example the color, scene etc.
This is what I get from the API explorer
"product_name":"LED Strip Lights",
"status":[
{
"code":"switch_led",
"value":false
},
{
"code":"work_mode",
"value":"colour"
},
{
"code":"bright_value",
"value":255
},
{
"code":"temp_value",
"value":140
},
{
"code":"colour_data",
"value":"{\"h\":305.0,\"s\":255.0,\"v\":255.0}"
},
{
"code":"scene_data",
"value":"{\"h\":16.0,\"s\":255.0,\"v\":210.9}"
},
{
"code":"flash_scene_1",
"value":"{\"bright\":255,\"frequency\":80,\"hsv\":[{\"h\":120.0,\"s\":255.0,\"v\":255.0}],\"temperature\":255}"
},
{
"code":"flash_scene_2",
"value":"{\"bright\":255,\"frequency\":128,\"hsv\":[{\"h\":0.0,\"s\":255.0,\"v\":255.0},{\"h\":120.0,\"s\":255.0,\"v\":255.0},{\"h\":240.0,\"s\":255.0,\"v\":255.0},{\"h\":0.0,\"s\":0.0,\"v\":0.0},{\"h\":0.0,\"s\":0.0,\"v\":0.0},{\"h\":0.0,\"s\":0.0,\"v\":0.0}],\"temperature\":255}"
},
{
"code":"flash_scene_3",
"value":"{\"bright\":255,\"frequency\":80,\"hsv\":[{\"h\":0.0,\"s\":255.0,\"v\":255.0}],\"temperature\":255}"
},
{
"code":"flash_scene_4",
"value":"{\"bright\":255,\"frequency\":5,\"hsv\":[{\"h\":0.0,\"s\":255.0,\"v\":255.0},{\"h\":120.0,\"s\":255.0,\"v\":255.0},{\"h\":60.0,\"s\":255.0,\"v\":255.0},{\"h\":300.0,\"s\":255.0,\"v\":255.0},{\"h\":240.0,\"s\":255.0,\"v\":255.0},{\"h\":0.0,\"s\":0.0,\"v\":0.0}],\"temperature\":255}"
}
],
These are the additional items I must setup.
What platform do I choose for these? Any assistant will be great appreciated