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
Single channel MagicHome Controller not working #33899
Single channel MagicHome Controller not working #33899
Comments
Can you control the LED strip from the Magic Home app? |
As said in the documentation, we could have 3 types: RGB, RGBW and W. It seems that the problem exists since version 0.97. #26779 |
It works perfectly
The IP is correct, I fixed it on my router config
My problem is only on the last led, "flux_cortineiro". The other are working perfectly. And here are the video
|
Do you have other flux_led devices which are offline at the moment you are trying to enable this one? If so, see #33275 |
I saw yout issue too, and I got this error And I have 2 others RGB stripes and I have no errors. The problem is with thin White Controller |
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. |
I'm on 0.115.6 and my problem wasn't fixed on this last updates. |
Hi, I confirm the problem. |
I have the same MagicHome device and the same problem. Any solution @phcella? I'm in 0.117.2 |
I still have the problem only with the only white LED controller, with RGB controllers work perfectly. |
i have the same problem (HA: 0.117.5). Any solution? |
I finally flash it with tasmota and works like a charm via mqtt... |
I'm on 2020.12.0, and I still have problem.
I should work without need to flash with Tasmota. I sometimes use the Magic Home app, and if I flash, it won't work anymore. |
If you use Magic Home app, alternative firmware is not an option for you. I only use HA to manage it, and works quick and without fail. |
I'm on 0.118.5 and have the same problem with the same magic home as pointed above, other the color ones works without a problem (the ip is correct on my config and I can control the leds via magic home app and their integration with google home) |
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. |
The problem is not solved for me yet. |
Still an issue on 2021.3.4 for the "w" controller. RGB working fine. @phcella a semi-workaround I'm using is to set the single channel controller to "rgb" mode instead of "w". Not exactly right but you can turn it on and off and do some of the brightness. Won't go past about 50% though and anything with colours screw it up so won't be good in a group. I did also test the "rgbw" mode and that does also give some control but is worse than rgb. |
@gitothy thanks for your tip, configuring it lake a "rgb" is better than "w", but it still have some delay to update de status and if you turn on / off fastly, it will not work correctly. But at least I can use it. Thanks!! And still waiting for correction o Hassio. |
There's also an almost complete solution I found today, it's a bit manual but resolves all of the issues here. Tbh I'll probably flash the buggers to esphome rather than this code change but these are the options. |
@gitothy Did you test it? Because it says it is for RGB Controllers. |
No haven't tested it yet and I don't want to go down that road. Another 'non-flashing' solution is here. Looks good but you need to have Homebridge set up. |
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. |
@phcella is this solved in the latest version of HomeAssistant for you? |
I haven't tested it recently, as I am running the code I pasted above, installed under the "custom_components" directory. It is working perfectly for my single colour controller. I don't know whether the changes that I made would break RGB or RGBW controllers, as I have neither. It was certainly still a problem under 2021.6 and as far as I can tell from the release notes, there have been no changes to the flux_led component in the 2 versions since. |
I know which problem you're talking about now. I've been trying to get code finished to fix it for a few months now but, I had to work on a different project for the last two months so nothing moved. The component is almost completely re-written (there were other bugs and updates it needed) but, I need to figure out where I left off and test everything again so that it can get published. :) |
Do you know of a vendor that will ship the US that sells these controllers? Can you post the flux_led info lines for the device?
We can add it to the database so its detected properly in the next release Thanks |
Looks like it will show up in a month or so |
When state of light is on and at full brightness:
When state of light is on and at 50% brightness:
When state of light is on and at 10% brightness:
When state of light is off and its last state was full brightness:
When state of light is off and its last state was 50% brightness:
When state of light is off and its last state was 10% brightness:
|
Thanks. So it uses the 'RED' channel for everything |
Yes, it uses the red channel to set the brightness. My custom component that I have written (code above) keeps the brightness attribute the same as the red channel, so it reports the brightness through home assistance correctly as well. |
If you go into the Magic Home Pro app and long press on the device (iOS) do you can an option to change device type? |
No. I get options to "Add To Group" or "Rename". FYI, I just ran the same "flux_led -i" commands after adjusting the brightness and switching on and off using the Magic Home app, and it resulted in the same outputs as above with the red channel and brightness kept in sync by the Magic Home app. |
That's unfortunate that it maps to the red channel We have to support channel remapping, I started a PR here Danielhiversen/flux_led#116 There's a lot of work going on with this integration at the moment so the pr will have to wait until merges calm down a bit because of merge conflicts |
Found this one https://www.amazon.com/gp/product/B07JC7YR9J/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1 which doesn't have a 5 week delivery time. 👍 |
Can someone test the remapping support with ? |
device showed up. #57353 fixed the brightness reporting, but not the setting. This needs a bit more work to remap the channel before set_levels |
Agreed. I just downloaded the new component about 10 mins ago and was testing, and it wasn't working properly. Reverted back to my custom component in the meantime. |
Turns out a little more work was needed to map where we set the levels as well Confirmed working with #57458 and Danielhiversen/flux_led#124 @aheath70 Can you give it another go? |
@bdraco - My Github skills are pretty rudimentary, and I don't know how to merge the pull requests and get done what I need to get done in order to test. If it is straightforward, if you can walk me through what I need to do, then I am more than happy to test. Sorry! |
I'll see if I can walk you through it. You need to get the component and the latest flux_led. Just as a warning I'm going to walk you through how to do it but, if you're doing it on a production system you may mess it up. I've done it several times and not had a problem but, I"m just trowing it out there as a just in case. Make sure you backup. Get the component first.
Restart home assistant. Now you need to get the latest flux_led api.
Restart home assistant again. Everything should be on the latest and you can begin testing to see if it works. There might be an easier way but, this is how I do it. I'm rather new to the process as well but, it's worked everytime so far. |
OK. I only have a production system. I might see if I can create a new test system and work on it, but it may be a little while before I get that done - work is smashing me at the moment. |
It can also be installed as a custom component once we do a new release of |
I think I would definitely be more comfortable installing it as a custom component. |
Testing steps:
Restart To revert to the version in core, delete |
OK. Tested. It automatically configured the integration. I had to rename the ensuing entity to what it used to be. All operations (on, off and brightness) working well. Awesome stuff, @bdraco. |
Support for the 0x21 models added here #57934 Was reported Danielhiversen/flux_led#132 |
The problem
I have only white led Magic Home controller, and I can't control it through HA. When I try to turn it on, it blinks, freezes and doesn't turn on.
I have already posted on comunity Link
The other 2 RGB Magic Home controller are working correctly.
Environment
Problem-relevant
configuration.yaml
Traceback/Error logs
Additional information
The text was updated successfully, but these errors were encountered: