FluxLED / MagicHome plugin

Posted on
Mon Dec 17, 2018 11:07 am
editordz offline
Posts: 67
Joined: Dec 01, 2006
Location: Sherman Oaks, CA

Re: FluxLED / MagicHome plugin

You assigned static IPs to them?

Posted on
Mon Dec 17, 2018 11:13 am
stuartcolman offline
Posts: 79
Joined: Nov 01, 2015
Location: Essex, United Kingdom

Re: FluxLED / MagicHome plugin

Yep, All assigned can see it with the 'Magic Home' App, but Indigo seems to lose the connection and keeps asking is it on the right IP. I may get another one and see if it is a faulty unit.

Posted on
Sun Jul 14, 2019 7:00 pm
srkinard offline
Posts: 248
Joined: Apr 10, 2016
Location: Austin, Texas

Re: FluxLED / MagicHome plugin

Not sure if any activity on the plugin is still happening, but one thing I've noticed in my use with 7.2 and 7.3 is trying to enter values in the W input of the desktop client gives varied results, like it is struggling between a 0-254 and a 0-100 value...

I just dragged the slider to 51%....after a moment the value in the box changed to 130...

I have 2 of the RGB and 2 of the RGBW controllers I'm tinkering with...

Posted on
Sun Aug 11, 2019 6:34 pm
DVDDave offline
Posts: 343
Joined: Feb 26, 2006
Location: San Jose, CA

Re: FluxLED / MagicHome plugin

Hi, I've been using this plugin for a MagicHome LED strip in my closet (Thanks!) and haven't had any issues. However, I just tracked it down as the cause of a serious issue with Homekit Bridge when I add it as a device. Out of scores of devices, it's the only one that causes Homekit Bridge to grow in CPU utilization and memory usage until, after a day or 2, it finally overheats my Mac.

I've attached a log file produced by Homekit Bridge that shows a bunch of activity about every second. I'm having trouble interpreting it but it seems like FluxLED is returning status very rapidly and flooding Homekit Bridge with unnecessary data. Make sense? Is there any way to reduce the frequency of the updates or, even better, only report them when something actually changes?


FluxLED HKB log.txt
(5.97 KiB) Downloaded 3 times

Posted on
Sat Aug 24, 2019 1:12 pm
Hackencrash offline
User avatar
Posts: 171
Joined: Dec 16, 2015
Location: UK

Re: FluxLED / MagicHome plugin

To fix the Is IP address correct error, you will need to update the FluxLED plugin directly as follows:

    1. On your Mac with Indigo installed, open Finder and navigate to the FluxLED plugin at:
    Code: Select all
    /Library/Application Support/Perceptive Automation/Indigo 7.3/Plugins/FluxLED.indigoPlugin
    Note that the value of Indigo 7.3 may vary depending on the version of Indigo you have running.
    2. Right-click FluxLED.indigoPlugin and select to Open With a text editor, such as TextWrangler (do not open with Indigo).
    3. Navigate to: /Contents/Server Plugin/flux_led/__main__.py
    4. Open Safari to the latest published flux_led python library v0.22 here: https://github.com/Danielhiversen/flux_ ... _main__.py This contains the updates that fix the above error and appear to make the plugin more stable.
    5. Click on the Raw button to open the code in raw format, Select the Command ⌘ key + A then ⌘ + C to copy all text.
    6. Back to the Text Editer and click on the __main__.py code and type ⌘ + A then ⌘ + V to paste over the top with the latest version from the web page.
    7. Save the __main__.py file in the Text Editer
    8. Also, if wished, update the Info.plist in the Text Editer at the top and update the PluginVersion to 1.0.1

It was noticed that the flux_led python library within the FluxLED Indigo plugin was 2 versions out of date compared with that on the Github repository. Although I have noticed that you still may get one Flux LED Error right at the start when you restart Indigo, updating the library to the current version seems to have fixed these issues with the IP address and losing contact with the LED strip lights. You don't appear to get any errors by reloading the plugin so I am guessing the error sometimes seen when Indigo starts may be perhaps because everything is happening at once. Compare that with before updating the flux_led code where the error would frequently appear in the log and often the device would be unresponsive.

Who is online

Users browsing this forum: No registered users and 1 guest