Artemis-RGB / Artemis.Plugins

Repository containing official Artemis plugins
Other
31 stars 37 forks source link

Please add support for manual IP entering / multiple Hue bridges in the Hue plugin #63

Open usrErr0r opened 3 years ago

usrErr0r commented 3 years ago

Currently struggling to specify which Hue bridge I want Artemis to use (keeps defaulting and detecting my actual bridge rather than diyHue even when the bridge is not plugged in)

RobertBeekman commented 3 years ago

Hi there,

Could you please try this one out? Artemis.Plugins.PhilipsHue-184ce933.zip

I couldn't test myself because I have no diyHue setup but under the Search button you'll find a 'connect manually' button in which you can enter an IP address.

usrErr0r commented 3 years ago

Hi there,

Could you please try this one out? Artemis.Plugins.PhilipsHue-184ce933.zip

I couldn't test myself because I have no diyHue setup but under the Search button you'll find a 'connect manually' button in which you can enter an IP address.

Unfortunately I just get an instant failure to connect when entering the IP of both my diyHue setup and my genuine Hue bridge. Thank you for the work so far though, appreciate you getting back to me on it. Hopefully it is a simple fix! (there's also a good chance something is not right on my end as well)

RobertBeekman commented 3 years ago

Hey again,

I've made some changes, hopefully it'll work now. As a sidenode you can now also add multiple bridges, once you've added the first one you can add another from the settings window.

Artemis.Plugins.PhilipsHue-184ce933.zip

If this one still doesn't work please try and see if your diyHue hosts a file at http://{ip_address}/description.xml and if so put the contents here :)

RobertBeekman commented 3 years ago

If you update Artemis to the latest version, you'll get this functionality too. It didn't seem to break anything for me, I can add my own Hue Bridge manually with it.

I couldn't test with a diyHue ofcourse, so let me know :)

usrErr0r commented 3 years ago

Adds diyHue now! Thanks for that, will test multi support and report back if there are issues

RobertBeekman commented 3 years ago

Hey, did you ever get a chance to test this?

usrErr0r commented 3 years ago

Hi, sorry for the delay I have been away from my computer for the last couple of weeks for the most part. I will try and test this soon and get back to you, the option was there last time I checked but I didn't get any further than that sorry

RobertBeekman commented 3 years ago

Cool, no rush :) I'll leave this open for now then.

usrErr0r commented 3 years ago

Hi again, after attempting to add multiple bridges today, I am now struggling to even add one without getting crashes. Hue Device Provider no longer loads

Gives me:

Artemis.Core.ArtemisPluginException: Plugin load timeout at Artemis.Core.PluginFeature.SetEnabled(Boolean enable, Boolean isAutoEnable) in D:\a\1\s\Artemis\src\Artemis.Core\Plugins\PluginFeature.cs:line 166 at Artemis.Core.Services.PluginManagementService.EnablePluginFeature(PluginFeature pluginFeature, Boolean saveState, Boolean isAutoEnable) in D:\a\1\s\Artemis\src\Artemis.Core\Services\PluginManagementService.cs:line 611

Can attempt a complete fresh reinstall if need be, just need to backup some layouts I already have

usrErr0r commented 3 years ago

Tried a fresh install, now completely won't load the plugin after pairing my official Hue bridge at all.

RobertBeekman commented 3 years ago

That's unfortunate, did by chance the IP of a previously added bridge change? Perhaps that's not handled very well.

You can try to clear the plugin settings (click on the three dots next to the plugin's settings button to open the menu) which should be as effective as a fresh reinstall

RobertBeekman commented 3 years ago

Oh I did not see your second comment. Is the plugin timing out again?

(PS: I was just about to head off, I'll reply again tomorrow!)

usrErr0r commented 3 years ago

The plugin itself lets me pair a bridge but once paired, does not actually add the lights as accessible/modifiable devices and then after relaunching Artemis the plugin itself does not load correctly giving the error above. The actual pairing part seems to work okay but something is not working as it should for me, even with just one bridge. I have reset plug-in settings and fresh installed and still having the same issue unfortunately