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

Magic Home Gradient On/Off Function? #394

Open
TheAdamWoods opened this issue Jul 27, 2023 · 1 comment
Open

Magic Home Gradient On/Off Function? #394

TheAdamWoods opened this issue Jul 27, 2023 · 1 comment

Comments

@TheAdamWoods
Copy link

Hello! I'm pretty new to HA and ultra new to Flux/Magic Home as I'm trying to get my fish tank light integrated into HA for gradual on/off as well as being able to control it from my dashboard. I'm using a Lominie 4 Channels WiFi Controller for Upgraded F20 S120 P80 S20 P30 (WiFi-4 Channels) which is getting picked up as an 0x6 device by the Magic Home integration.

I'm running HA Container as I'm running all my HA stuff on a Ubuntu machine. The light is found via the Magic Home integration with no problem and basic controls like turning the light on/off, as well as jumping between "colors" (the light isn't true RGB as it's it's just using different white lights for those channels).

I saw in the Magic Home App that there is the ability to do gradient on/off. Is this something that could be brought into the Flux_led/Magic Home integration? It would be awesome to have my HA trigger the gradient on/off at various times, as it's currently not possible within the Magic Home App to schedule a gradient on/off event..

Attached is a copy of the diagnostics for the controller if it will help and provide any insight.

I've tried writing a few different scripts including using a float for "transition" thinking maybe that would get it to work, but I've had no luck. Maybe I'm just missing something, or maybe it's not implemented yet (as this appears to be a newish controller).

Any help would be appreciated. Thanks!

config_entry-flux_led-5afc1c443403de0f6e305599c965a57c.json.txt

@TheAdamWoods
Copy link
Author

So, I did a little more digging and was able to launch the console via Portainer and mess with flux_led directly. It looks like the sunrise and sunset feature is available, however, it only allows for RGB and not RGBW. I'm guessing this would now be a two-part request

  1. Allowing sunrise/sunset timers created via flux_led to include the white channel value. However, when testing these, I wasn't able to get them to work at all via CLI.
  2. Updating the Magic Home integration to allow sending the sunrise/sunset commands.

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

No branches or pull requests

2 participants