Add device support: Sinkor WRGB aquarium light — Unknown Model (0x82 / model_num 130), model_info ZG-BK38
Summary
The Magic Home (flux_led) integration detects my aquarium controller as "Unknown Model (0x82)" and exposes it as RGB-only. The physical device is a WRGB unit (independent White + Red + Green + Blue channels, each settable 0–100 % in the vendor "Surplife"/MagicHue app). Because the model is not in models_db.py, the library sets rgbwcapable: false and the white channel cannot be controlled from Home Assistant.
The raw state clearly still carries a white byte (0xAD = 173), so the hardware is WRGB — only the model definition is missing.
Device
Field | Value
-- | --
Product name | Sinkor WRGB (aquarium light)
Manufacturer (HA) | Zengge
model_num | 130 (0x82)
model (hw) | AK001-ZJ21413
model_info | ZG-BK38
model_description | Unknown Model
Firmware date | 2025-08-21
Protocol | LEDENET_8BYTE
Port | 5577
Remote host | sl8815eu01.magichue.net:8815
Environment
- Home Assistant Core: 2026.7.2 (Home Assistant OS 18.1)
flux-led library: 1.2.0
- Two identical units on the network (192.168.178.114 / .115)
What HA reports
supported_color_modes: ["rgb"]
color_mode: rgb
rgbwcapable: false
rgbwprotocol: false
model_data comes back empty (models: [], channel_map: {}, mode_to_color_mode: {}), which is why it falls back to RGB-only.
Raw diagnostic data
State reply (14 bytes):
[129, 130, 35, 97, 19, 7, 105, 82, 109, 173, 1, 0, 90, 209]
0x81 0x82 0x23 0x61 0x13 0x07 0x69 0x52 0x6D 0xAD 0x01 0x00 0x5A 0xD1
Additional "unknown" message observed:
0xEA 0x81 0x01 0x00 0x82 0x01 0x23 0x01 0x04 0x69 0x52 0x6D 0xAD 0x00 0x00 0x00 0x00
Decoded by the library:
rgb: [105, 82, 109]
rgbw: [105, 82, 109, 173] <-- white byte present (0xAD = 173)
rgbcw: [105, 82, 109, 0, 173]
rgbww: [105, 82, 109, 173, 0]
warm_white: 0
cool_white: 0
preset_pattern_num: 97
Expected
Model 0x82 / ZG-BK38 recognised as a WRGB (RGBW) device so Home Assistant exposes rgbw color mode (rgbw_color: [R, G, B, W]) and the white channel becomes independently controllable — matching the vendor app's 4 separate 0–100 % channels.
Notes / willing to help
- I have two identical units and can capture any additional raw packets (e.g. after setting each channel to a known value via the vendor app) to help map the channel order.
- Happy to test a patched
models_db.py entry.
Add device support: Sinkor WRGB aquarium light — Unknown Model (0x82 / model_num 130), model_info
ZG-BK38Summary
The Magic Home (
flux_led) integration detects my aquarium controller as "Unknown Model (0x82)" and exposes it as RGB-only. The physical device is a WRGB unit (independent White + Red + Green + Blue channels, each settable 0–100 % in the vendor "Surplife"/MagicHue app). Because the model is not inmodels_db.py, the library setsrgbwcapable: falseand the white channel cannot be controlled from Home Assistant.The raw state clearly still carries a white byte (
0xAD= 173), so the hardware is WRGB — only the model definition is missing.Device
Environment
flux-ledlibrary: 1.2.0What HA reports
model_datacomes back empty (models: [],channel_map: {},mode_to_color_mode: {}), which is why it falls back to RGB-only.Raw diagnostic data
State reply (14 bytes):
Additional "unknown" message observed:
Decoded by the library:
Expected
Model
0x82/ZG-BK38recognised as a WRGB (RGBW) device so Home Assistant exposesrgbwcolor mode (rgbw_color: [R, G, B, W]) and the white channel becomes independently controllable — matching the vendor app's 4 separate 0–100 % channels.Notes / willing to help
models_db.pyentry.