Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request support for Fairy Lights #2724

Open
PaPa1ya opened this issue Jan 3, 2025 · 1 comment
Open

Request support for Fairy Lights #2724

PaPa1ya opened this issue Jan 3, 2025 · 1 comment
Labels
full_info All info needed was provided new device Unsupported device

Comments

@PaPa1ya
Copy link

PaPa1ya commented Jan 3, 2025

Log message

2025-01-03 23:18:31.507 INFO (MainThread) [custom_components.tuya_local.device] Setting protocol version for Test to 3.3
2025-01-03 23:18:33.729 WARNING (MainThread) [custom_components.tuya_local.config_flow] Adding LED Lights device with product id dpfvez4c2ui18yef
2025-01-03 23:18:33.730 WARNING (MainThread) [custom_components.tuya_local.config_flow] Device matches rgb_garaland_10m_wifi with quality of 100%. DPS: {"updated_at": 1735928311.743137, "20": true, "21": "colour", "24": "00de037a0103", "26": 0, "47": 200, "53": 100, "101": "BGR"}
2025-01-03 23:18:33.730 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/
2025-01-03 23:18:39.351 INFO (MainThread) [homeassistant.setup] Setting up tuya_local
2025-01-03 23:18:39.365 INFO (SyncWorker_3) [custom_components.tuya_local.device] Creating device: bf67837032b85909503uhh
2025-01-03 23:18:39.377 INFO (MainThread) [homeassistant.components.select] Setting up tuya_local.select
2025-01-03 23:18:39.378 INFO (MainThread) [homeassistant.components.light] Setting up tuya_local.light
2025-01-03 23:18:39.378 INFO (MainThread) [homeassistant.components.number] Setting up tuya_local.number
2025-01-03 23:18:39.390 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new select.tuya_local entity: select.fairy_lights_scene
2025-01-03 23:18:39.391 INFO (MainThread) [custom_components.tuya_local.device] Setting protocol version for Fairy lights to 3.3
2025-01-03 23:18:39.393 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new select.tuya_local entity: select.fairy_lights_music
2025-01-03 23:18:39.415 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new number.tuya_local entity: number.fairy_lights_taimer
2025-01-03 23:18:39.428 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new light.tuya_local entity: light.fairy_lights

Product ID

dpfvez4c2ui18yef

Product Name

Fairy Lights (rgb_garaland_10m_wifi)

DPS information

{
  "result": {
    "model": "{\"modelId\":\"e1kdcdl4\",\"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\":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\":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\":101,\"accessMode\":\"rw\",\"code\":\"line_order\",\"description\":\"\",\"name\":\"线序\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"RGB\",\"RBG\",\"GRB\",\"GBR\",\"BRG\",\"BGR\"]}}]}]}"
  },
  "success": true,
  "t": 1735927366121,
  "tid": "ef9a0f1ac9fc11efbbc9c2b21b10ca93"
}

Information about how the device functions

This is a 10-meter "RGB-IC" garland. In the application, you can select modes, as well as create your own segment-by-segment.

@PaPa1ya PaPa1ya added the new device Unsupported device label Jan 3, 2025
@PaPa1ya
Copy link
Author

PaPa1ya commented Jan 3, 2025

I have written a config and tested all the modes available in the application. There is also a timer and music.
rgb_garaland_10m_wifi.txt

@make-all make-all added the full_info All info needed was provided label Jan 3, 2025
@make-all make-all moved this to 🔖 Ready in Tuya Local Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
full_info All info needed was provided new device Unsupported device
Projects
Status: 🔖 Ready
Development

No branches or pull requests

2 participants