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 Serene ColorPlus Smart LED Light Aquarium #2944

Open
Yodie98 opened this issue Feb 12, 2025 · 2 comments
Open

Request support for Serene ColorPlus Smart LED Light Aquarium #2944

Yodie98 opened this issue Feb 12, 2025 · 2 comments
Labels
awaiting confirmation Wating for confirmation the issue is solved device variant Variant of a supported device unreleased Will be in next release

Comments

@Yodie98
Copy link

Yodie98 commented Feb 12, 2025

Log message

Logger: custom_components.tuya_local.config_flow
Source: custom_components/tuya_local/config_flow.py:421
integration: Tuya Local (documentation, issues)
First occurred: 11:01:49 AM (8 occurrences)
Last logged: 11:27:57 AM

Device matches None with quality of 0%. DPS: {"updated_at": 1739383984.7738726}
Device matches None with quality of 0%. DPS: {"updated_at": 1739384339.8348536}
Device matches rgbcw_lightbulb_xld_cl002 with quality of 100%. DPS: {"updated_at": 1739384711.8585038, "20": true, "21": "colour", "24": "012c012c03e8", "25": "05666602002c008203de0000000066660200c0030c03e80000000066660200cc03c0033400000000", "26": 0}
Device matches None with quality of 0%. DPS: {"updated_at": 1739384784.41418}
Device matches None with quality of 0%. DPS: {"updated_at": 1739384874.885417}
Logger: custom_components.tuya_local.config_flow
Source: custom_components/tuya_local/config_flow.py:415
integration: Tuya Local (documentation, issues)
First occurred: 11:01:49 AM (8 occurrences)
Last logged: 11:27:57 AM

Device specification: [{"id": 20, "name": "switch_led", "type": "Boolean", "format": "{}", "enumMap": {}}, {"id": 21, "name": "work_mode", "type": "Enum", "format": "{\"range\":[\"white\",\"colour\",\"scene\",\"music\"]}", "enumMap": {}}, {"id": 24, "name": "colour_data", "type": "Json", "format": "{}", "enumMap": {}}, {"id": 25, "name": "scene_data", "type": "String", "format": "{\"maxlen\":255}", "enumMap": {}}, {"id": 26, "name": "countdown", "type": "Integer", "format": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}", "enumMap": {}}]
Device specification: [{"id": 1, "name": "switch_led_1", "type": "Boolean", "format": "{}", "enumMap": {}}, {"id": 2, "name": "bright_value_1", "type": "Integer", "format": "{\"min\":10,\"max\":1000,\"scale\":0,\"step\":1}", "enumMap": {}}, {"id": 3, "name": "brightness_min_1", "type": "Integer", "format": "{\"min\":10,\"max\":1000,\"scale\":0,\"step\":1}", "enumMap": {}}, {"id": 4, "name": "led_type_1", "type": "Enum", "format": "{\"range\":[\"led\",\"incandescent\",\"halogen\"]}", "enumMap": {}}, {"id": 5, "name": "brightness_max_1", "type": "Integer", "format": "{\"min\":10,\"max\":1000,\"scale\":0,\"step\":1}", "enumMap": {}}, {"id": 6, "name": "countdown_1", "type": "Integer", "format": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}", "enumMap": {}}]


---


Logger: custom_components.tuya_local.config_flow
Source: custom_components/tuya_local/config_flow.py:397
integration: Tuya Local (documentation, issues)
First occurred: 11:01:48 AM (8 occurrences)
Last logged: 11:27:57 AM

Adding ColorPlus LED device with product id 1pxpwqg6ddyqifkr
Adding Smart Dimmer Switch device with product id ubadjqh45i98tdel

Product ID

1pxpwqg6ddyqifkr

Product Name

ColorPlus Aquarium LED

DPS information

{
  "result": {
    "model": "{\"modelId\":\"000003umri\",\"services\":[{\"actions\":[],\"code\":\"\",\"description\":\"\",\"events\":[],\"name\":\"默认服务\",\"properties\":[
{\"abilityId\":20,\"accessMode\":\"rw\",\"code\":\"switch_led\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-dp_power\",\"attribute\":\"1665\"},\"name\":\"开关\",\"typeSpec\":{\"type\":\"bool\"}},
{\"abilityId\":21,\"accessMode\":\"rw\",\"code\":\"work_mode\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-dp_mode\",\"attribute\":\"1664\"},\"name\":\"模式\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"white\",\"colour\",\"scene\",\"music\"]}},
{\"abilityId\":24,\"accessMode\":\"rw\",\"code\":\"colour_data\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-yanse\",\"attribute\":\"1664\"},\"name\":\"彩光\",\"typeSpec\":{\"type\":\"string\",\"maxlen\":255}},
{\"abilityId\":25,\"accessMode\":\"rw\",\"code\":\"scene_data\",\"description\":\"用于与光源一致的普通场景\",\"extensions\":{\"iconName\":\"icon-shoucang\",\"attribute\":\"1664\"},\"name\":\"场景\",\"typeSpec\":{\"type\":\"string\",\"maxlen\":255}},
{\"abilityId\":26,\"accessMode\":\"rw\",\"code\":\"countdown\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-a_nav_timer\",\"attribute\":\"1664\"},\"name\":\"倒计时1\",\"typeSpec\":{\"type\":\"value\",\"max\":86400,\"min\":0,\"scale\":0,\"step\":1,\"unit\":\"s\"}},
{\"abilityId\":28,\"accessMode\":\"wr\",\"code\":\"control_data\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-dp_box2\",\"attribute\":\"1664\"},\"name\":\"调节\",\"typeSpec\":{\"type\":\"string\",\"maxlen\":255}},
{\"abilityId\":31,\"accessMode\":\"rw\",\"code\":\"sleep_mode\",\"description\":\"入睡会根据设置的持续渐变时间进行逐渐变暗直至关闭\",\"extensions\":{\"iconName\":\"icon-dp_sleep\",\"attribute\":\"1664\"},\"name\":\"入睡\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":255}},
{\"abilityId\":32,\"accessMode\":\"rw\",\"code\":\"wakeup_mode\",\"description\":\"唤醒会根据设置的持续渐变时间进行提前亮起渐变直至达到唤醒时间\",\"extensions\":{\"iconName\":\"icon-dp_sun\",\"attribute\":\"1664\"},\"name\":\"唤醒\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":255}}]}]}"
  },
  "success": true,
  "t": 1739385031115,
  "tid": "708b1e5ee96f11ef911b5238a38a248f"
}

Information about how the device functions

I am willing to learn new things to make this work in HomeAssistant. Sadly, no matter what device I match it to, I cannot get anything to work other than perhaps being able to toggle on and off. It supports WRGB, timers for ramping up and down the lights, countdown timer, manual scene selection, automated scene selection,

scenes are:
Daylight
Sunrise
Moonlight
RainStorm
Partly Cloudy
Sunset
Glow
Stream
Deepwater

product page:
https://aquaticvita.com/pages/colorplus-aquarium-light

@Yodie98 Yodie98 added the new device Unsupported device label Feb 12, 2025
@make-all make-all moved this to 🔖 Ready in Tuya Local Feb 12, 2025
@make-all make-all added device variant Variant of a supported device full_info All info needed was provided and removed new device Unsupported device labels Feb 12, 2025
@Yodie98
Copy link
Author

Yodie98 commented Feb 13, 2025

after some more experimentation, i was able tor resolve some connectivity issues. Ive been adding and removing it to find out which device mapping works the best, and so far rgb_led_strip is the best. It has scenes that are not specific to this lightbar but they seem to work. Im trying to figure out how to add the other scenes, since i was able to pull some from the api.

Daylight: 006262020000000003e800000000626202002c008203de00000000
Sunrise: 01565602002c008203de00000000565602012c012c022600000000
Moonlight: 0262620200f003e803e80000000062620200e5035c00e600000000

maybe we could add a new device type to tuya-local? if not i can figure out how to edit the entity manually.

@Yodie98
Copy link
Author

Yodie98 commented Feb 13, 2025

#2946

@make-all make-all added awaiting confirmation Wating for confirmation the issue is solved unreleased Will be in next release and removed full_info All info needed was provided labels Feb 22, 2025
@make-all make-all moved this from 🔖 Ready to ✅ Done in Tuya Local Feb 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting confirmation Wating for confirmation the issue is solved device variant Variant of a supported device unreleased Will be in next release
Projects
Status: ✅ Done
Development

No branches or pull requests

2 participants