Nanoleaf Controller - Version 1.0.5 Available

Posted on
Fri Jun 30, 2017 8:01 pm
chasyori offline
Posts: 27
Joined: Dec 18, 2014

Re: Nanoleaf Controller - Version 1.0.5 Available

Thanks... I'm going to reset it and try again..


Sent from my iPhone using Tapatalk

Posted on
Sat Jul 01, 2017 10:01 pm
chasyori offline
Posts: 27
Joined: Dec 18, 2014

Re: Nanoleaf Controller - Version 1.0.5 Available

Thanks guys for your help... I finally got it working..

I did I a reset of it and now it's working like a charm...

after removing it from HomeKit and setting it up again, the plugin found the correct IP address..


Sent from my iPhone using Tapatalk

Posted on
Sun Jul 02, 2017 1:00 am
autolog offline
Posts: 3988
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: Nanoleaf Controller - Version 1.0.5 Available

Different Computers wrote:
Somewhere between the plugin and my network, there's trouble.
Code: Select all
Nanoleaf Error                  Discovering nanoleaf devices failed: Socket error while setting up discovery of nanoleaf devices!: [Errno 49] Can't assign requested address


The odd thing is that a few times, the plugin has found the device and it works for a while. But mostly not.


Once the device has been discovered and you have set-up an Indigo Nanoleaf device, the discovery isn't needed. It runs at plugin start or on demand (via an Action) to check the network for new Nanoleaf devices.

So are you saying that when you try and control a Nanoleaf from Indigo (once it has been set-up) that from time to time it doesn't work?

Posted on
Sun Jul 02, 2017 1:02 am
autolog offline
Posts: 3988
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: Nanoleaf Controller - Version 1.0.5 Available

chasyori wrote:
Thanks guys for your help... I finally got it working..

I did I a reset of it and now it's working like a charm...

after removing it from HomeKit and setting it up again, the plugin found the correct IP address.

That's good news - I am glad you finally got it working. :D

Posted on
Sun Jul 02, 2017 7:18 am
Different Computers offline
User avatar
Posts: 2531
Joined: Jan 02, 2016
Location: East Coast

Re: Nanoleaf Controller - Version 1.0.5 Available

I think it’s safe to say that now, it has completely stopped working. All I get is a No ack status on the device. Is it possibly storing a bad IP address that the Aurora doesn’t actually have? The reason I did not suspect this until now is that when I restart the plug and it says it finds the Aurora.

SmartThings refugee, so happy to be on Indigo. Monterey on a base M1 Mini w/Harmony Hub, Hue, DomoPad, Dynamic URL, Device Extensions, HomeKitLink, Grafana, Plex, uniFAP, Fantastic Weather, Nanoleaf, LED Simple Effects, Bond Home, Camect.

Posted on
Sun Jul 02, 2017 7:37 am
autolog offline
Posts: 3988
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: Nanoleaf Controller - Version 1.0.5 Available

You just beat me to it with this problem - I think I have a fix for it :D

I had been playing around with DHCP allocations and realised that re-allocating the IP address was going to confuse the plugin. :?

The good news is that I have just finished the updates for V1.0.6 which will warn of this situation and allow you to correct it. I am just finishing off the documentation for this and expect to have the new release available within the hour. :)

Posted on
Sun Jul 02, 2017 9:14 am
autolog offline
Posts: 3988
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: Nanoleaf Controller - Version 1.0.5 Available

Different Computers wrote:
I think it’s safe to say that now, it has completely stopped working. All I get is a No ack status on the device. Is it possibly storing a bad IP address that the Aurora doesn’t actually have? The reason I did not suspect this until now is that when I restart the plug and it says it finds the Aurora.

V 1.0.6 now available which will hopefully allow you to resolve this problem. :)

Posted on
Sun Jul 02, 2017 9:43 am
Different Computers offline
User avatar
Posts: 2531
Joined: Jan 02, 2016
Location: East Coast

Re: Nanoleaf Controller - Version 1.0.5 Available

I really appreciate your plugging away at this, but still no joy with the 1.0.6:

Code: Select all
 Nanoleaf Error                  Discovering nanoleaf devices failed: Socket error while setting up host 'Unknown.domain' discovery of nanoleaf devices!: [Errno 49] Can't assign requested address
   Nanoleaf Error                  Problem retrieving status for device 'Wall Art': Failed to establish a new connection: [Errno 61] Connection refused


Not sure I've seen "connection refused" before. Should I perhaps delete the device and re-add it?

SmartThings refugee, so happy to be on Indigo. Monterey on a base M1 Mini w/Harmony Hub, Hue, DomoPad, Dynamic URL, Device Extensions, HomeKitLink, Grafana, Plex, uniFAP, Fantastic Weather, Nanoleaf, LED Simple Effects, Bond Home, Camect.

Posted on
Sun Jul 02, 2017 9:55 am
autolog offline
Posts: 3988
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: Nanoleaf Controller - Version 1.0.5 Available

Different Computers wrote:
I really appreciate your plugging away at this, but still no joy with the 1.0.6:

Code: Select all
 Nanoleaf Error                  Discovering nanoleaf devices failed: Socket error while setting up host 'Unknown.domain' discovery of nanoleaf devices!: [Errno 49] Can't assign requested address
   Nanoleaf Error                  Problem retrieving status for device 'Wall Art': Failed to establish a new connection: [Errno 61] Connection refused


Not sure I've seen "connection refused" before. Should I perhaps delete the device and re-add it?

I don't like the look of the 'Unknown.domain' in your discovery. Can you use the host override to specify the actual IP Address of your Apple Mac running the Indigo server. Then reload the plugin and see what happens. You could always turn on full debugging and attach the log so that I can take a look at what is going on.

Connection refused might be because the plugin isn't authorised to access the Nanoleaf device. Have you done a full reset on it recently?

Posted on
Sun Jul 02, 2017 10:09 am
Different Computers offline
User avatar
Posts: 2531
Joined: Jan 02, 2016
Location: East Coast

Re: Nanoleaf Controller - Version 1.0.5 Available

"Unknown" was the unset hostname of the Mac. I've just noticed that problem and set it to Indigo. My dumbass CenturyLink DSL modem says the domain is "domain".

But I did as you said, and
Code: Select all
   Nanoleaf Error                  Problem retrieving status for device 'Wall Art': Failed to establish a new connection: [Errno 61] Connection refused
after reloading the plugin.

OH! here's some progress:
Code: Select all
   Nanoleaf Error                  WARNING: IP Address changed for Nanoleaf 'Wall Art', it was '192.168.0.29' and is now '192.168.0.6' - Edit Device and Update IP Address.


Updated and now it's working! Many thanks.

SmartThings refugee, so happy to be on Indigo. Monterey on a base M1 Mini w/Harmony Hub, Hue, DomoPad, Dynamic URL, Device Extensions, HomeKitLink, Grafana, Plex, uniFAP, Fantastic Weather, Nanoleaf, LED Simple Effects, Bond Home, Camect.

Posted on
Sun Jul 02, 2017 10:19 am
autolog offline
Posts: 3988
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: Nanoleaf Controller - Version 1.0.5 Available

Great - that is excellent news :D

The checking of the IP Address occurs in the Discovery processing - it double checks what it found against what has been saved in the Indigo device and warns if it doesn't agree. The message won't display until the discovery ends. :)

Posted on
Sun Jul 02, 2017 9:45 pm
howartp offline
Posts: 4559
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: Nanoleaf Controller - Version 1.0.5 Available

Jon, I'm completely outside of this as I don't own any Nanoleafs so don't even have the plugin installed but following the threads here and thinking out loud...

Is it worth, based on your last update and reply to DC, automatically updating the stored IP address of your plugin nanoleaf device to that which you've discovered, now that you can detect mis-matches?

Or, if not possible/practical, set the ui display state to say "mismatched IP" and enable error state (so it goes red) - this will prompt users to check log and find your nudging to update IP?


Sent from my iPhone using Tapatalk Pro

Posted on
Mon Jul 03, 2017 12:39 am
autolog offline
Posts: 3988
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: Nanoleaf Controller - Version 1.0.5 Available

Hi Peter,
Thanks for the suggestions. :D

howartp wrote:
... Is it worth, based on your last update and reply to DC, automatically updating the stored IP address of your plugin nanoleaf device to that which you've discovered, now that you can detect mis-matches?

I did consider that (and may still do so) but thought it best for the user to take a specific action to correct the issue in case it indicated a wider network problem. I could potentially add a user option to enable auto-correct or similar.

howartp wrote:
Or, if not possible/practical, set the ui display state to say "mismatched IP" and enable error state (so it goes red) - this will prompt users to check log and find your nudging to update IP?

It will currently show no ack - your suggestion is more user friendly and helpful. I will look at including it in the next release. :)

Posted on
Sun Jul 23, 2017 8:03 am
Different Computers offline
User avatar
Posts: 2531
Joined: Jan 02, 2016
Location: East Coast

Re: Nanoleaf Controller - Version 1.0.5 Available

Just some kudos where they're due: Last night I had a power outage (and of course I was in the midst of an OS X install, but that's unrelated) and this morning I happened to notice that my Aurora is not responding to scene commands from HomeKit or from the Nanoleaf app.

But commands from Indigo via your plugin are working just fine!

SmartThings refugee, so happy to be on Indigo. Monterey on a base M1 Mini w/Harmony Hub, Hue, DomoPad, Dynamic URL, Device Extensions, HomeKitLink, Grafana, Plex, uniFAP, Fantastic Weather, Nanoleaf, LED Simple Effects, Bond Home, Camect.

Who is online

Users browsing this forum: No registered users and 1 guest

cron