FluxLED / MagicHome plugin
-
- Posts: 81
- Joined: Sun Nov 01, 2015 2:56 pm
- Location: Essex, United Kingdom
Re: FluxLED / MagicHome plugin
The plugin has been enabled for a little while now, and I have seen some crashes and reports being sent off. Any update on how it's going?
Re: FluxLED / MagicHome plugin
Woke up this morning to a log full of error messages. Unplugging and replugging the MagicHome device seems to have sorted it.
Would you be able to add a trap for to handle the timeout exception more gracefully?
Code: Select all
2018-08-19 00:00:14.494 Flux LED Error Error updating device: Workshop - Flux LED Strip Lights. Is the IP address correct?
2018-08-19 00:00:19.495 Flux LED Error Error in plugin execution runConcurrentThread:
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
timeout: timed out
2018-08-19 00:00:19.495 Flux LED Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
2018-08-19 00:00:39.502 Flux LED Error Error updating device: Workshop - Flux LED Strip Lights. Is the IP address correct?
2018-08-19 00:00:44.506 Flux LED Error Error in plugin execution runConcurrentThread:
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
timeout: timed out
2018-08-19 00:00:44.506 Flux LED Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
2018-08-19 00:01:04.515 Flux LED Error Error updating device: Workshop - Flux LED Strip Lights. Is the IP address correct?
2018-08-19 00:01:09.519 Flux LED Error Error in plugin execution runConcurrentThread:
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
timeout: timed out
2018-08-19 00:01:09.519 Flux LED Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
2018-08-19 00:01:29.538 Flux LED Error Error updating device: Workshop - Flux LED Strip Lights. Is the IP address correct?
I came here to drink milk and kick ass....and I've just finished my milk.
[My Plugins] - [My Forums]
[My Plugins] - [My Forums]
Re: FluxLED / MagicHome plugin
Any update on if/how this works with five-pin controllers that support RGB +CW + WW (cool white and warm white)? A few example controllers:
https://www.amazon.co.uk/Sunix-Smart-Co ... B01J5A7ABW
https://www.amazon.co.uk/Wireless-Contr ... B07BKNWRL5
https://www.amazon.co.uk/LIGHTEU-contro ... B074XLBZ15
https://www.amazon.co.uk/Sunix-Smart-Co ... B01J5A7ABW
https://www.amazon.co.uk/Wireless-Contr ... B07BKNWRL5
https://www.amazon.co.uk/LIGHTEU-contro ... B074XLBZ15
Re: FluxLED / MagicHome plugin
jrcitizen wrote:Any update on if/how this works with five-pin controllers that support RGB +CW + WW (cool white and warm white)? A few example controllers:
https://www.amazon.co.uk/Sunix-Smart-Co ... B01J5A7ABW
https://www.amazon.co.uk/Wireless-Contr ... B07BKNWRL5
https://www.amazon.co.uk/LIGHTEU-contro ... B074XLBZ15
Yes, BUT.
Have two RBG that I have been using for a few months. They work but due seem to cause a lot of
SQL logger errors on the log page:
Sep 5, 2018, 5:52:06 PM
SQL Logger creating table device_history_1380234678 for "LED-RBG TOP SHELF"
SQL Logger Error exception trying to insert row into table device_history_1023089061 ("LED-RBG-W") -- unable to modify table
SQL Logger Error ERROR: relation "device_history_1380234678" already exists
SQL Logger Error INSERT INTO device_history_1023089061 ("alertmode", "bluelevel", "bluelevel_ui", "brightnesslevel", "colorblue", "colorgreen", "colormode", "colorred", "colortemp", "colorx", "colory", "effect", "greenlevel", "greenlevel_ui", "hue", "onoffstate", "online", "redlevel", "redlevel_ui", "saturation", "whitelevel", "whitelevel_ui") VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s);
Recently added a new RBG/W controller seemed to work at first but than had my whole system starting to
run slow. See my post viewtopic.php?f=201&t=21183. Found the HomeKit
Bridge plugin was using over 100% of the CPU. After disabling the FluxLED plugin the HomeKit usage went
back to normal.
Have had the plugin disabled for a few weeks with no more trouble with HomeKit.
Turned the plugin back on and HomeKit CPU usage went back back up to 100%. Disabled FluxLED, HomeKit
back to normal. Removed the new RBG/W controller from devices, restart FluxLED plugin, so far HomeKit
normel.
Added the RBG/W back in and got 3 or 4 pages of SLQ Logger errors, so far HomeKit seems to be running
OK. Will keep checking the CPU usage and if it goes back up will remove the RBG/W controller.
There is no way in the plugin to use actions to turn on the white LED. The only way I can turn it on is by
using the “W” slider on the device window, than the on/off but if a action changes the color you have to use
the “w” slider again to turn the white on.
So yes it kind of works with RBG/W but the plugin definitely needs a lot more work.
Elwood
-
- Posts: 81
- Joined: Sun Nov 01, 2015 2:56 pm
- Location: Essex, United Kingdom
Re: FluxLED / MagicHome plugin
Is the development of this plugin dead? It had so much promise as well
Re: FluxLED / MagicHome plugin
stuartcolman wrote:Is the development of this plugin dead? It had so much promise as well
+1 Really hope this one gets some love.
Carl
Re: FluxLED / MagicHome plugin
This plugin is generally working great so far with my new Magic Home device (https://www.amazon.com/gp/product/B078B ... UTF8&psc=1)
I'm having one problem though. When I try to control color with the Apple Home app, which is connecting through Homekit Bridge, the plugin hangs up and starts giving the error
I then need to cycle power on the device or reload the plugin to get it going again. However, Alexa and the Magic Home app still work fine.
Thanks for the great plugin and, even with the error, it should prove very useful.
--Dave
I'm having one problem though. When I try to control color with the Apple Home app, which is connecting through Homekit Bridge, the plugin hangs up and starts giving the error
Code: Select all
Flux LED Error Error updating device: Closet Light. Is the IP address correct?
Thanks for the great plugin and, even with the error, it should prove very useful.
--Dave
Re: FluxLED / MagicHome plugin
It's not dead guys, I've been giving the other MQTT plugin all my attention.
I'll get myself back up to speed on this over the next few days.
I'll get myself back up to speed on this over the next few days.
-
- Posts: 81
- Joined: Sun Nov 01, 2015 2:56 pm
- Location: Essex, United Kingdom
Re: FluxLED / MagicHome plugin
Any updates on this? I'm keen to test/use especially with the run-up to Christmas
Re: FluxLED / MagicHome plugin
I’ve just installed a strip of lights in our porch for some Christmas lighting! Have the magic home app working but indigo control would be so much better.
Sent from my iPhone using Tapatalk
Sent from my iPhone using Tapatalk
Re: FluxLED / MagicHome plugin
For what it's worth, I have perfect Magic Home integration from Indigo. We have three LED strips on individual controllers that get triggered dozens of times every day (slaved to light switches), and they work 100% reliable. The only time I have to manually intervene is when our internet goes down for whatever reason (thanks Spectrum). Then, the Wifi controllers have to be power cycled in order to be seen again by Indigo.
I'm using FluxLed plugin on Indigo 7.2.0 on Mac Mini running 10.10.5.
Good luck,
Dan
I'm using FluxLed plugin on Indigo 7.2.0 on Mac Mini running 10.10.5.
Good luck,
Dan
Re: FluxLED / MagicHome plugin
Thanks Dan I’ll give it another go, last time I was suffering regular crashes I believe caused by the plugin.
Cheers
Sent from my iPhone using Tapatalk
Cheers
Sent from my iPhone using Tapatalk
-
- Posts: 81
- Joined: Sun Nov 01, 2015 2:56 pm
- Location: Essex, United Kingdom
Re: FluxLED / MagicHome plugin
The problem I’m seeing is that the plugin can’t seem to find the WiFi controller, even though it is on a static IP and available all of the time. Just keeps coming up with a “is the IP correct?” Error.
Also the plugin didn’t switch off the lights last night.
Thanks
Stuart
Also the plugin didn’t switch off the lights last night.
Thanks
Stuart
Re: FluxLED / MagicHome plugin
Which controllers are you using? I'm using these, and have 100% success rate:
https://www.amazon.com/Goldwin-Controll ... ref=plSrch
https://www.amazon.com/Goldwin-Controll ... ref=plSrch
-
- Posts: 81
- Joined: Sun Nov 01, 2015 2:56 pm
- Location: Essex, United Kingdom
Re: FluxLED / MagicHome plugin
That's the exact same wifi controller as I'm using. Still seems a bit "hit and miss".