home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
74.14k stars 31.12k forks source link

Magic home integration Surplife bulb not working #100542

Closed alsacian closed 10 months ago

alsacian commented 1 year ago

The problem

Surplife bulb is recognized but only on and off are working, everything else ending doing nothing.

What version of Home Assistant Core has the issue?

core-2023.9.2

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Supervised

Integration causing the issue

Magic Home

Link to integration documentation on our website

No response

Diagnostics information

No error messages

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 1 year ago

magichome documentation magichome source

alsacian commented 1 year ago

{ "home_assistant": { "installation_type": "Home Assistant Supervised", "version": "2023.9.2", "dev": false, "hassio": true, "virtualenv": false, "python_version": "3.11.5", "docker": true, "arch": "x86_64", "timezone": "Asia/Bangkok", "os_name": "Linux", "os_version": "6.1.0-11-amd64", "supervisor": "2023.09.2", "host_os": "Debian GNU/Linux 12 (bookworm)", "docker_version": "24.0.6", "chassis": "desktop", "run_as_root": true }, "custom_components": { "dahua": { "version": "0.5.0", "requirements": [] }, "alarmo": { "version": "v1.9.10", "requirements": [] }, "hacs": { "version": "1.32.1", "requirements": [ "aiogithubapi>=22.10.1" ] }, "localtuya": { "version": "5.2.1", "requirements": [] }, "tuya_v2": { "version": "1.5.0", "requirements": [ "tuya-iot-py-sdk==0.4.1" ] }, "tapo_control": { "version": "5.2.4", "requirements": [ "pytapo==3.2.14" ] }, "sonoff": { "version": "3.5.2", "requirements": [ "pycryptodome>=3.6.6" ] }, "watchman": { "version": "0.5.1", "requirements": [ "prettytable==3.0.0" ] }, "var": { "version": "0.15.0", "requirements": [] }, "frigate": { "version": "4.0.0", "requirements": [ "pytz==2022.7" ] } }, "integration_manifest": { "domain": "flux_led", "name": "Magic Home", "codeowners": [ "@icemanch", "@bdraco" ], "config_flow": true, "dependencies": [ "network" ], "dhcp": [ { "registereddevices": true }, { "macaddress": "18B905", "hostname": "[ba][lk]" }, { "macaddress": "249494", "hostname": "[ba][lk]" }, { "macaddress": "7CB94C", "hostname": "[ba][lk]" }, { "macaddress": "ACCF23", "hostname": "[hba][flk]" }, { "macaddress": "B4E842", "hostname": "[ba][lk]" }, { "macaddress": "F0FE6B", "hostname": "[hba][flk]" }, { "macaddress": "8CCE4E", "hostname": "lwip" }, { "hostname": "hf-lpb100-zj*" }, { "hostname": "zengge[0-9a-f][0-9a-f]_" }, { "hostname": "zengge" }, { "macaddress": "C82E47", "hostname": "sta*" } ], "documentation": "https://www.home-assistant.io/integrations/flux_led", "iot_class": "local_push", "loggers": [ "flux_led" ], "quality_scale": "platinum", "requirements": [ "flux-led==1.0.2" ], "is_built_in": true }, "data": { "entry": { "title": "Bulb RGBCW AC1121", "data": { "host": "192.168.1.26", "minor_version": 404, "model": "AK001-ZJ21411", "model_num": 53, "model_info": "ZG-B1M-BP101", "model_description": "Bulb RGBCW" } }, "data": { "device_state": { "available": true, "brightness": 255, "cold_white": 0, "color_active": false, "color_is_white_only": true, "color_mode": "CCT", "color_modes": [ "RGB", "CCT" ], "color_temp": 2700, "cool_white": 0, "device_type": 0, "dimmable_effects": true, "discovery": { "ipaddr": "192.168.1.26", "id": "B40ECFAC1121", "model": "AK001-ZJ21411", "model_num": 53, "version_num": 404, "firmware_date": { "type": "<class 'datetime.date'>", "isoformat": "2023-07-23" }, "model_info": "ZG-B1M-BP101", "model_description": "Bulb RGBCW", "remote_access_enabled": null, "remote_access_host": null, "remote_access_port": null }, "effect": null, "effect_list": [ "blue_fade", "blue_strobe", "colorjump", "colorloop", "colorstrobe", "cyan_fade", "cyan_strobe", "cycle_rgb", "cycle_seven_colors", "gb_cross_fade", "green_fade", "green_strobe", "purple_fade", "purple_strobe", "rb_cross_fade", "red_fade", "red_strobe", "rg_cross_fade", "rgb_cross_fade", "white_fade", "white_strobe", "yellow_fade", "yellow_strobe", "random" ], "hardware": { "model": "AK001-ZJ21411", "chip": { "type": "<enum 'LEDENETChip'>", "repr": "<LEDENETChip.BL602: 2>" }, "remote_rf": true, "remote_24g": true, "remote_24g_controls": true, "auto_on": true, "dimmable_effects": true }, "ic_type": null, "ic_type_num": null, "ic_types": null, "ipaddr": "192.168.1.26", "is_on": false, "max_temp": 6500, "microphone": false, "min_temp": 2700, "mode": "ww", "model": "Bulb RGBCW (0x35)", "model_data": { "model_num": 53, "models": [ "AK001-ZJ200", "AK001-ZJ2101", "AK001-ZJ2104", "AK001-ZJ2145", "AK001-ZJ2146", "AK001-ZJ2147", "AK001-ZJ21410" ], "description": "Bulb RGBCW", "always_writes_white_and_colors": false, "protocols": [ { "min_version": 9, "protocol": "LEDENET_DIMMABLE_EFFECTS" }, { "min_version": 7, "protocol": "LEDENET_AUTO_ON" }, { "min_version": 0, "protocol": "LEDENET" } ], "mode_to_color_mode": { "1": [ "RGB", "CCT" ], "23": [ "RGB", "CCT" ] }, "color_modes": [ "RGB", "CCT" ], "channel_map": {}, "microphone": false, "device_config": { "wiring": false, "num_to_wiring": {}, "wiring_to_num": {}, "operating_modes": false, "num_to_operating_mode": {}, "operating_mode_to_num": {}, "pixels": false, "segments": false, "music_pixels": false, "music_segments": false, "ic_type": false, "num_to_ic_type": {}, "ic_type_to_num": {} } }, "model_num": 53, "multi_color_mode": true, "music_pixels_per_segment": null, "music_segments": null, "operating_mode": null, "operating_mode_num": null, "operating_modes": null, "paired_remotes": 0, "pixels_per_segment": null, "port": 5577, "power_restore_states": null, "preset_pattern_num": 97, "protocol": "LEDENET_DIMMABLE_EFFECTS", "raw_state": [ 129, 53, 36, 97, 48, 80, 0, 0, 0, 255, 10, 0, 15, 211 ], "remote_config": 2, "requires_turn_on": false, "rgb": [ 0, 0, 0 ], "rgb_unscaled": [ 255, 255, 255 ], "rgbcw": [ 0, 0, 0, 0, 255 ], "rgbw": [ 0, 0, 0, 255 ], "rgbwcapable": false, "rgbwprotocol": false, "rgbww": [ 0, 0, 0, 255, 0 ], "segments": null, "speed": 0, "speed_adjust_off": true, "timeout": 7.5, "version_num": 10, "warm_white": 255, "white_active": true, "white_channel_channel_type": 2700, "wiring": null, "wiring_num": null, "wirings": null }, "last_messages": { "state": "0x81 0x35 0x24 0x61 0x30 0x50 0x00 0x00 0x00 0xFF 0x0A 0x00 0x0F 0xD3", "remote_config": "0x2B 0x02 0x00 0x00 0x00 0x00 0x26 0x00 0x00 0x00 0x00 0x00 0x00 0x53", "unknown": "0xEA 0x81 0x01 0x00 0x35 0x0A 0x24 0x61 0x01 0x50 0x0F 0x00 0x00 0x00 0x00 0x64 0x00 0x00 0x00 0x00" } } } }

home-assistant[bot] commented 1 year ago

Hey there @icemanch, mind taking a look at this issue as it has been labeled with an integration (flux_led) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `flux_led` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign flux_led` Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


flux_led documentation flux_led source (message by IssueLinks)

eutervogel commented 1 year ago

Same here. My Bulbs are being recognized as "Bulb RGBCW (0x35)" by Zengge, with firmware version 11.94 and hardware version AK001-ZJ21411.

They work perfectly using the app, but in Home Assistant, I can only toggle them on and off. I'm starting to believe that I might not have genuine Zengge bulbs here...

Acr515 commented 1 year ago

Also having this issue. I have other bulbs that work fine with the Magic Home mobile app and Home Assistant integration, but the last bulb I bought required a different yet very similar app to set them up (Surplife) and the Magic Home integration can turn it on and off, but nothing else.

bdraco commented 1 year ago

ZJ21411 changed the protocol again so until someone decodes the new protocol, it won't work. I stopped using these devices a few months ago so I am no longer working on this integration.

eutervogel commented 1 year ago

If I only know how to do that...

issue-triage-workflows[bot] commented 10 months ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.