Open Sk1nnyDoc opened 2 days ago
Also attaching the Tuya Query Properties result
{
"result": {
"properties": [
{
"code": "switch_led",
"custom_name": "",
"dp_id": 1,
"time": 1732985047068,
"type": "bool",
"value": true
},
{
"code": "work_mode",
"custom_name": "",
"dp_id": 2,
"time": 1732840694196,
"type": "enum",
"value": "white"
},
{
"code": "bright_value",
"custom_name": "",
"dp_id": 3,
"time": 1732840694196,
"type": "value",
"value": 10
},
{
"code": "temp_value",
"custom_name": "",
"dp_id": 4,
"time": 1732840694196,
"type": "value",
"value": 0
},
{
"code": "colour_data_raw",
"custom_name": "",
"dp_id": 11,
"time": 1732840694196,
"type": "raw"
},
{
"code": "white_switch",
"custom_name": "",
"dp_id": 107,
"time": 1732983162087,
"type": "bool",
"value": true
},
{
"code": "color_switch",
"custom_name": "",
"dp_id": 108,
"time": 1732983181441,
"type": "bool",
"value": true
},
{
"code": "scene_data1",
"custom_name": "",
"dp_id": 109,
"time": 1732840694196,
"type": "raw"
},
{
"code": "countdown1",
"custom_name": "",
"dp_id": 112,
"time": 1732840694196,
"type": "value",
"value": 0
},
{
"code": "switch_gradient1",
"custom_name": "",
"dp_id": 113,
"time": 1732840694196,
"type": "raw"
},
{
"code": "main_switch",
"custom_name": "",
"dp_id": 119,
"time": 1732947279515,
"type": "bool",
"value": true
},
{
"code": "music_data1",
"custom_name": "",
"dp_id": 121,
"time": 1732840694196,
"type": "raw"
},
{
"code": "device_info1",
"custom_name": "",
"dp_id": 123,
"time": 1732980945341,
"type": "raw",
"value": "EABkMgBkZAAAAAAA"
},
{
"code": "separate_control",
"custom_name": "",
"dp_id": 125,
"time": 1732846323297,
"type": "enum",
"value": "0"
},
{
"code": "timestamp",
"custom_name": "",
"dp_id": 140,
"time": 1732840694196,
"type": "raw"
},
{
"code": "local_timer1",
"custom_name": "",
"dp_id": 141,
"time": 1732840694196,
"type": "raw"
},
{
"code": "timer_mgr",
"custom_name": "",
"dp_id": 142,
"time": 1732840694196,
"type": "raw"
},
{
"code": "nightlight_switch",
"custom_name": "",
"dp_id": 143,
"time": 1732983150505,
"type": "bool",
"value": false
}
]
},
"success": true,
"t": 1732985101774,
"tid": "7168a3b6af3a11ef8dfe260dbde5a634"
}
Log message
Product ID
8ugheslg
Product Name
PowerAsia Smart Recessed Ligting RGB 6 Inch
DPS information
Information about how the device functions
Power Asia Recessed light is very similar to existing config of "/custom_components/tuya_local/devices/peteme_smart_recessed_lighting.yaml". I followed instruction as per new device configuration readme.md and cloned the config file and mapped the DP as per the new device's tuya dp list Powerasia_recessed_light_6inch.yaml.json. I was able to add the device to HA and control it. Following DP's worked without issue: on/off, brightness, color temp. But couldn't make the color RGB work. The DP "code": "colour_data_raw", "dp_id": 11 is of type raw. Couldn't figure out if it needs hex or hsv or rgb.
Really hoping the color can be supported. Currently a 12pack of these 6 inch lights is just US $120. What a deal. Amazon Link Power Asia Product Page