tuya-local icon indicating copy to clipboard operation
tuya-local copied to clipboard

Request support for Enbrighten Adjustable Accent Lamp

Open heccoder opened this issue 1 year ago • 4 comments

Log message

2024-11-19 13:38:29.516 WARNING (MainThread) [custom_components.tuya_local.config_flow] Adding Accent Lamp device with product id hgepee1tpsluyyy6
2024-11-19 13:38:29.516 WARNING (MainThread) [custom_components.tuya_local.config_flow] Device matches enbrighten_curtainlights with quality of 67%. DPS: {"updated_at": 1732045103.5732753, "20": true, "21": "colour", "24": "0133017c03e8", "26": 0, "47": 112, "53": 112}
2024-11-19 13:38:29.516 WARNING (MainThread) [custom_components.tuya_local.config_flow] Include the previous log messages with any new device request to https://github.com/make-all/tuya-local/issues/

Product ID

hgepee1tpsluyyy6

Product Name

Enbrighten Adjustable Accent Lamp - UPC: 030878827706

DPS information

{
  "result": {
    "model": "{\"modelId\":\"fdmdj0\",\"services\":[{\"actions\":[],\"code\":\"\",\"description\":\"\",\"events\":[],\"name\":\"默认服务\",\"properties\":[
{\"abilityId\":20,\"accessMode\":\"rw\",\"code\":\"switch_led\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-dp_power\",\"attribute\":\"643\"},\"name\":\"开关\",\"typeSpec\":{\"type\":\"bool\"}},
{\"abilityId\":21,\"accessMode\":\"rw\",\"code\":\"work_mode\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-dp_mode\",\"attribute\":\"640\"},\"name\":\"模式\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"white\",\"colour\",\"scene\",\"music\"]}},
{\"abilityId\":22,\"accessMode\":\"rw\",\"code\":\"bright_value\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-liangdu1\"},\"name\":\"亮度值\",\"typeSpec\":{\"type\":\"value\",\"max\":1000,\"min\":10,\"scale\":0,\"step\":1}},
{\"abilityId\":23,\"accessMode\":\"rw\",\"code\":\"temp_value\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-lengnuan\"},\"name\":\"冷暖值\",\"typeSpec\":{\"type\":\"value\",\"max\":1000,\"min\":0,\"scale\":0,\"step\":1}},
{\"abilityId\":24,\"accessMode\":\"rw\",\"code\":\"colour_data\",\"description\":\"类型:字符;\\nValue: 000011112222;\\n0000:H(色度:0-360,0X0000-0X0168);\\n1111:S (饱和:0-1000, 0X0000-0X03E8);\\n2222:V (明度:0-1000,0X0000-0X03E8)\",\"extensions\":{\"iconName\":\"icon-yanse\",\"attribute\":\"512\"},\"name\":\"彩光\",\"typeSpec\":{\"type\":\"string\",\"maxlen\":255}},
{\"abilityId\":26,\"accessMode\":\"rw\",\"code\":\"countdown\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-dp_time2\",\"attribute\":\"640\"},\"name\":\"倒计时\",\"typeSpec\":{\"type\":\"value\",\"max\":86400,\"min\":0,\"scale\":0,\"step\":1,\"unit\":\"s\"}},
{\"abilityId\":27,\"accessMode\":\"wr\",\"code\":\"music_data\",\"description\":\"类型:字符串;\\nValue: 011112222333344445555;\\n0:   变化方式,0表示直接输出,1表示渐变;\\n1111:H(色度:0-360,0X0000-0X0168);\\n2222:S (饱和:0-1000, 0X0000-0X03E8);\\n3333:V (明度:0-1000,0X0000-0X03E8);\\n4444:白光亮度(0-1000);\\n5555:色温值(0-1000)\",\"extensions\":{\"iconName\":\"icon-dp_mic\",\"attribute\":\"640\"},\"name\":\"音乐律动\",\"typeSpec\":{\"type\":\"string\",\"maxlen\":255}},
{\"abilityId\":28,\"accessMode\":\"wr\",\"code\":\"control_data\",\"description\":\"类型:字符串 ;\\nValue: 011112222333344445555  ;\\n0:   变化方式,0表示直接输出,1表示渐变;\\n1111:H(色度:0-360,0X0000-0X0168);\\n2222:S (饱和:0-1000, 0X0000-0X03E8);\\n3333:V (明度:0-1000,0X0000-0X03E8);\\n4444:白光亮度(0-1000);\\n5555:色温值(0-1000)\",\"extensions\":{\"iconName\":\"icon-setting\",\"attribute\":\"1024\"},\"name\":\"调节\",\"typeSpec\":{\"type\":\"string\",\"maxlen\":255}},
{\"abilityId\":47,\"accessMode\":\"ro\",\"code\":\"light_pixel\",\"description\":\"幻彩灯带驱动芯片总数\",\"extensions\":{\"iconName\":\"icon-setting\",\"attribute\":\"1536\"},\"name\":\"灯带点数\",\"typeSpec\":{\"type\":\"value\",\"max\":1024,\"min\":1,\"scale\":0,\"step\":1}},
{\"abilityId\":51,\"accessMode\":\"rw\",\"code\":\"dreamlight_scene_mode\",\"description\":\"专门用于幻彩灯带场景\",\"extensions\":{\"iconName\":\"icon-dp_mode\",\"attribute\":\"640\"},\"name\":\"幻彩情景\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},
{\"abilityId\":52,\"accessMode\":\"rw\",\"code\":\"dreamlightmic_music_data\",\"description\":\"专门用于幻彩灯带本地音乐律动\",\"extensions\":{\"iconName\":\"icon-dp_mic\",\"attribute\":\"128\"},\"name\":\"幻彩本地音乐律动\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},
{\"abilityId\":53,\"accessMode\":\"rw\",\"code\":\"lightpixel_number_set\",\"description\":\"幻彩灯带裁剪之后,对长度重新进行设置\",\"extensions\":{\"iconName\":\"icon-gongneng\",\"attribute\":\"1664\"},\"name\":\"点数/长度设置\",\"typeSpec\":{\"type\":\"value\",\"max\":1000,\"min\":1,\"scale\":1,\"step\":1}},
{\"abilityId\":61,\"accessMode\":\"rw\",\"code\":\"paint_colour_data\",\"description\":\"专门用于幻彩灯带的调光调色,协议仅展示彩光和色卡模式,如果调节模式为白光,则字节5为00(油漆桶)字节6、7为亮度,8、9为色温;\\n如果调节模式为组合模式,则字节5为00,字节6~11为HSV;\",\"extensions\":{\"iconName\":\"icon-dp_circle\",\"attribute\":\"512\"},\"name\":\"涂抹调色\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},
{\"abilityId\":190,\"accessMode\":\"rw\",\"code\":\"spdm_flag\",\"description\":\"\",\"name\":\"spdm\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}}]}]}"
  },
  "success": true,
  "t": 1732111759300,
  "tid": "08a36329a74911ef8a4986f0f11a78f3"
}

Information about how the device functions

https://byjasco.com/enbrighten-wifi-vibe-spectrum-color-changing-adjustable-lamp?srsltid=AfmBOoptOFnqDR5WHei_cMzZueKOUXUmkynbbHccDc8uo3Vf1YaSQKY0

heccoder avatar Nov 20 '24 14:11 heccoder

I'm not sure I see a justification for a new config here. The only data missing that is being reported by the device is the number of lights in the string (reporting and setting).

make-all avatar Dec 11 '24 13:12 make-all

I'm not sure I see a justification for a new config here. The only data missing that is being reported by the device is the number of lights in the string (reporting and setting).

The device only responds to on/off commands. Unfortunately, it doesn't react to changes in colors or brightness, and it doesn't display any scenes. I tried various configurations, and at one point, I was able to switch to the "music" scene, but I still can't control any other light settings, they appear in HA, but they don't respond at all.

heccoder avatar Dec 11 '24 22:12 heccoder

Making another config will not fix the problems with your light's handling of the basic light functions though.

make-all avatar Dec 11 '24 23:12 make-all

Hey @make-all I wish I could set some sections of my addressable LED strip via Tuya app (then I see paint color updated everytime when I'm changing the colors or the each LED strip section in entity attributes).

Please tell me, is it possible to set such "self made color" on the LED strip? Like can I send this value AAMAFAAA2AMDA+AA/wMcA5oBYgPQA9gAGQPoA+gAKAPkA+g= via Tuya local?

rrakso avatar Jan 19 '25 02:01 rrakso