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

Only on-off is working #398

Open
bebach8 opened this issue Sep 15, 2023 · 4 comments
Open

Only on-off is working #398

bebach8 opened this issue Sep 15, 2023 · 4 comments

Comments

@bebach8
Copy link

bebach8 commented Sep 15, 2023

Bulb RGBCW (0x35)
by Zengge
Firmware: 11.94
Hardware: AK001-ZJ21411

Home Assistant 2023.9.2
Supervisor 2023.09.2
Operating System 10.5
Frontend 20230911.0 - latest

Bulbs are initially paired with SurpLife android app. In app everything is working fine.
In HomeAssistant, after adding Magic Home integration bulbs are detected OK, but only on-off is working. Nothing else. Can't set color temperature, single color, effect, brightness...
When same is tried in SurpLife app - it works, but in HomeAssistant changes are not reflected in card.

@mirraj2
Copy link

mirraj2 commented Oct 14, 2023

same here

@eutervogel
Copy link

Same here.
Here's a debug log from an attempt to change the color:

DEBUG: flux_led.aioprotocol: ('192.168.178.73', 5577) => 0x81 0x8A 0x8B 0x96 (4)
DEBUG: flux_led.aioprotocol: ('192.168.178.73', 5577) <= 0x81 0x35 0x23 0x61 0x30 0x50 0x00 0xFF 0x00 0x00 0x0A 0x00 0xF0 0xB3 (14)
DEBUG: flux_led.base_device: 192.168.178.73: set_available: Received message 81352361305000ff00000a00f0b3
DEBUG: flux_led.base_device: 192.168.178.73: State: LEDENETRawState(head=129, model_num=53, power_state=35, preset_pattern=97, mode=48, speed=80, red=0, green=255, blue=0, warm_white=0, version_number=10, cool_white=0, color_mode=240, check_sum=179)
DEBUG: flux_led.base_device: 192.168.178.73: unmapped raw state: 129,53,35,97,48,80,0,255,0,0,10,0,240,179,
DEBUG: flux_led.base_device: 192.168.178.73: Mapped State: LEDENETRawState(head=129, model_num=53, power_state=35, preset_pattern=97, mode=48, speed=80, red=0, green=255, blue=0, warm_white=0, version_number=10, cool_white=0, color_mode=240, check_sum=179)
DEBUG: flux_led.aiodevice: 192.168.178.73: device_config: wiring=None operating_mode=None
DEBUG: flux_led.base_device: 192.168.178.73: Transition time is 2.07, set _transition_complete_time to 338692.66676329
DEBUG: flux_led.base_device: 192.168.178.73: _replace_raw_state: {'red': 255, 'green': 0, 'blue': 0, 'warm_white': 0, 'cool_white': 0}
DEBUG: flux_led.aioprotocol: ('192.168.178.73', 5577) => 0x31 0xFF 0x00 0x00 0x00 0x00 0xF0 0x0F 0x2F (9)
Setting color RGB: (255, 0, 0) [red]
DEBUG: flux_led.base_device: 192.168.178.73: set_unavailable: Connection closed
DEBUG: flux_led.aioprotocol: ('192.168.178.73', 5577): Connection lost: None
DEBUG: flux_led.base_device: 192.168.178.73: set_unavailable: Connection lost

maybe it helps

@3of9
Copy link

3of9 commented Feb 4, 2024

From comments on issues raised in the Magic Home integration of Home Assistant, it looks like the protocol was changed.

Unfortunately, this has rendered a large number of lights useless for me. I hope this project isn't abandoned.

@AlmostInteractive
Copy link

AlmostInteractive commented Jul 3, 2024

I have the same hardware/firmware. It looks like this project has been abandoned, only the on-off works anymore. If anyone knows anything about reverse engineering from packets, here's a .pcap I captured toggling the bulb red, green, red, green. Hopefully it helps: https://file.io/SUx14YiaUMPt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants