FluxLED / MagicHome plugin

Posted on
Thu May 17, 2018 4:56 pm
ckeyes888 offline
Posts: 2014
Joined: Nov 26, 2009
Location: Kalispell, MT

Re: FluxLED / MagicHome plugin

Yes, it does a slow fade between all colors.
Be great if it is implemented on the controller and accessible.

Virtually every IR controlled LED strip I’ve ever seen does have a fade function.

edit: Just checked the Magic Home app and it does support a bunch of various effects including fades...even has a speed control.

Thanks,

Carl

Posted on
Fri May 18, 2018 5:08 pm
ckeyes888 offline
Posts: 2014
Joined: Nov 26, 2009
Location: Kalispell, MT

Re: FluxLED / MagicHome plugin

Plugin stopped working today. Getting this error.
Code: Select all
 Flux LED Error                  Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 35, in runConcurrentThread
  File "plugin.py", line 96, in updateStatus
  File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/FluxLED.indigoPlugin/Contents/Server Plugin/flux_led/__main__.py", line 518, in __init__
  File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/FluxLED.indigoPlugin/Contents/Server Plugin/flux_led/__main__.py", line 692, in update_state
IndexError: bytearray index out of range

   Flux LED Error                  plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)


If you turn the light on/off from the app the device is updated in Indigo. Just can’t control it at all from Indigo.

Thanks,

Carl

Posted on
Mon May 21, 2018 2:48 pm
ckeyes888 offline
Posts: 2014
Joined: Nov 26, 2009
Location: Kalispell, MT

Re: FluxLED / MagicHome plugin

Is the plugin working for anyone else?

Carl

Posted on
Mon May 21, 2018 6:35 pm
DaveL17 offline
User avatar
Posts: 4083
Joined: Aug 20, 2013

Re: FluxLED / MagicHome plugin

ckeyes888 wrote:
Is the plugin working for anyone else?

Carl

I just tested mine and it's working as expected.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Mon May 21, 2018 7:21 pm
ckeyes888 offline
Posts: 2014
Joined: Nov 26, 2009
Location: Kalispell, MT

Re: FluxLED / MagicHome plugin

I assume you’re running v0.0.3?

Won’t work at all for me.

Carl

Posted on
Mon May 21, 2018 11:08 pm
jh71283 offline
Posts: 107
Joined: Jun 16, 2014

Re: FluxLED / MagicHome plugin

Mine are both ok too.

Do you know if there has been a firmware update or anything that could have altered the controllers?

Has the IP address of them changed?


Sent from my iPhone using Tapatalk

Posted on
Tue May 22, 2018 8:48 am
ELWOOD offline
Posts: 208
Joined: Feb 11, 2007
Location: Ramsey, NJ

Re: FluxLED / MagicHome plugin

Have had a few times when there was a power outage and the magic home LED controller stops working. Have to use the Magic Home app to reconfigure the
local ip address and reconnect the controller. Other than that the plugin has worked OK.
Would be nice to be able to use the plugin to activate the different "functions" and "music" features in the Magic Home app.

Posted on
Tue May 22, 2018 11:44 am
ckeyes888 offline
Posts: 2014
Joined: Nov 26, 2009
Location: Kalispell, MT

Re: FluxLED / MagicHome plugin

jh71283 wrote:
Mine are both ok too.

Do you know if there has been a firmware update or anything that could have altered the controllers?

Has the IP address of them changed?


Sent from my iPhone using Tapatalk


I tried resetting it completely with no joy. Not sure how to change the IP address.
The thing is the plugin is updating it’s on/off state when controlled by the app
so can’t see it being an IP issue. I’m still seeing the error I posted above after a complete reset.
Frustrating it won’t work. I have a number of LED strips I’d love to use it on and ditch
the IR stuff.

Thanks,

Carl
Attachments
CFDB36D6-80A4-4C04-97AC-2EA3C35B877D.jpeg
CFDB36D6-80A4-4C04-97AC-2EA3C35B877D.jpeg (48.27 KiB) Viewed 449 times

Posted on
Tue May 22, 2018 2:26 pm
noel1983 offline
Posts: 333
Joined: Oct 17, 2014

Re: FluxLED / MagicHome plugin

I have set mine with IP reservations on my router, that gets around messing with the magichome app/device.

No issues so far over here.

Posted on
Tue May 22, 2018 4:42 pm
ckeyes888 offline
Posts: 2014
Joined: Nov 26, 2009
Location: Kalispell, MT

Re: FluxLED / MagicHome plugin

I just tried a second new wifi unit with the same result...app can control but not Indigo.
I’m running Indigo 7.1.1 and 10..8.5 if that matters.

Very much appreciate any ideas what may be going on.

Thanks,

Carl

Posted on
Thu May 24, 2018 8:41 am
editordz offline
Posts: 61
Joined: Dec 01, 2006
Location: Sherman Oaks, CA

Re: FluxLED / MagicHome plugin

I LOVE this plugin, thank you for creating and maintaining it!

My two feature requests would be:

- Ability to set RGB (or RGBW) values when the light is turned off, i.e. ability to turn light on directly to a specific color. Right now, I have to turn the light on, and then set its color.
- Ability to turn on/off the built-in effects (color cycling, etc)

Dan

Posted on
Fri May 25, 2018 9:47 am
jh71283 offline
Posts: 107
Joined: Jun 16, 2014

Re: FluxLED / MagicHome plugin

Thanks for your patience, guys!

v0.0.4 has now been published to the store.

This adds support for activating the preset patterns, and also ensures the light is on prior to setting RGB values.

Carl - I have also updated the LED control library I use, so it might be worth a shot to see if this corrects your communication problems?

Thanks!

Posted on
Fri May 25, 2018 8:24 pm
ckeyes888 offline
Posts: 2014
Joined: Nov 26, 2009
Location: Kalispell, MT

Re: FluxLED / MagicHome plugin

Nuts...still no go for me. If fact this version isn't updating changes made in the app as 0.0.3 did.

Here is the error:
Code: Select all
 Flux LED Error                  Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 35, in runConcurrentThread
  File "plugin.py", line 96, in updateStatus
  File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/FluxLED.indigoPlugin/Contents/Server Plugin/flux_led/__main__.py", line 518, in __init__
  File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/FluxLED.indigoPlugin/Contents/Server Plugin/flux_led/__main__.py", line 692, in update_state
IndexError: bytearray index out of range

   Flux LED Error                  plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)


Something to do with the Python version I'm running?

Thanks,

Carl

Posted on
Sat May 26, 2018 2:00 pm
ckeyes888 offline
Posts: 2014
Joined: Nov 26, 2009
Location: Kalispell, MT

Re: FluxLED / MagicHome plugin

Getting a somewhat different error today.

Code: Select all
Traceback (most recent call last):
  File "plugin.py", line 33, in runConcurrentThread
  File "plugin.py", line 95, in updateStatus
  File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/FluxLED.indigoPlugin/Contents/Server Plugin/flux_led/__main__.py", line 518, in __init__
  File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/FluxLED.indigoPlugin/Contents/Server Plugin/flux_led/__main__.py", line 648, in update_state
  File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/FluxLED.indigoPlugin/Contents/Server Plugin/flux_led/__main__.py", line 620, in query_state
  File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/FluxLED.indigoPlugin/Contents/Server Plugin/flux_led/__main__.py", line 598, in _determine_query_len
  File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/FluxLED.indigoPlugin/Contents/Server Plugin/flux_led/__main__.py", line 1017, in _send_msg
error: [Errno 32] Broken pipe

   Flux LED Error                  plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
 


Thanks,

Carl

Posted on
Wed May 30, 2018 11:33 am
editordz offline
Posts: 61
Joined: Dec 01, 2006
Location: Sherman Oaks, CA

Re: FluxLED / MagicHome plugin

jh71283 wrote:
Thanks for your patience, guys!

v0.0.4 has now been published to the store.

This adds support for activating the preset patterns, and also ensures the light is on prior to setting RGB values.

Carl - I have also updated the LED control library I use, so it might be worth a shot to see if this corrects your communication problems?

Thanks!


Thank you so much for the update. We're moving in a few weeks, and I'm looking forward to using several of these throughout the house! If you have a beer fund of sorts, I'd love to contribute, this plugin is awesome!

Who is online

Users browsing this forum: No registered users and 0 guests