core: Flux_Led Not working with single colour Magic Home led controller since 0.90
Home Assistant release with the issue:
0.90.1Last working Home Assistant release (if known): 0.89.2
Operating environment (Hass.io/Docker/Windows/etc.):
raspberry pi 3b running Hass.io.
Component/platform:
https://www.home-assistant.io/components/light.flux_led/
Description of problem: Apologies - first bug report, so I hope I have done it correctly
Since the new Flux_Led component, my Magic Home single colour wifi controller cannot be controlled correctly. Brightness cannot be adjusted and on/off is intermittent. This happens through both the front end cards and automation. This was working fine within the previous Flux_Led component. This is the Magic Home device https://www.amazon.co.uk/gp/product/B07JVPVDFD My other Magic Home RGBW device still works however.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
lights.yaml
- platform: flux_led
automatic_add: true
devices:
192.x.x.x:
name: Bookshelf Dimmer
mode: "w"
192.x.x.x:
name: Bookshelf Top Dimmer
mode: "w"
192.x.x.x:
name: Kitchen Cabinets
mode: "rgbw"
automations.yaml
- alias: Bookshelf Lights - Dimming
trigger:
- platform: state
entity_id: light.office_desk_lamp
action:
- service: light.turn_on
entity_id: light.bookshelf_top_dimmer
data_template:
brightness: '{{ states.light.office_desk_lamp.attributes.brightness | int }}'
- service: light.turn_on
entity_id: light.bookshelf_dimmer
data_template:
brightness: '{{ states.light.office_desk_lamp.attributes.brightness | int }}'
Traceback (if applicable):
Additional information:
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 21 (14 by maintainers)
I’m hurrying up, i hope that tomorrow I can put a pull request to the underlying module, because there are fixes needed before it can going smoothly in homeassistant.
Hi, I just wanted to quickly chime in as a major contributor to the Arilux firmware with distinct knowledge of
flux_led/MagicHome:flux_ledis pretty bad IMHO (not our implementation, I mean the firmware that implements the magichome protocol), I strongly suggest that you put ESPHome on the device instead if you can. The ESPHome documentation already has pinouts and stuff for Arilux and other MagicHome/flux_leddevices, yours might already be there. The config can be this simple. Anyway, that’s my piece, toodles.I concur. I’m seeing the same behavior. Previous to 0.90 I did not have this problem. In fact, it’s not clear the intent of the fix in PR #20733 by @autinerd which introduced this new break.