Autolog LIFX Controller Discussion

kelmk
Posts: 85
Joined: Wed May 17, 2017 3:37 pm

Re: Autolog LIFX Controller Discussion

Post by kelmk »

Sounds awesome. Can’t wait to try it out after I get back from holiday :)


Sent from my iPhone using Tapatalk
geoffosler1
Posts: 5
Joined: Mon Jul 03, 2017 1:19 pm

Re: Autolog LIFX Controller Discussion

Post by geoffosler1 »

First - love the plugin! Thanks very much for making this happen.

Sadly however, despite having upgraded to the most recent version, my LIFX devices keep disappearing from Indigo. Currently running Indigo 7.0.3 and Autologic v4.1.0

When I disable and reload the plugin, devices will be available and work fine for between 1-5 minutes, after which they'll switch to 'no ack' and stay that way until I reload the plugin.

I have tried factory resetting one of the devices and re-adding it to Indigo, but no luck; same thing.

I'm running 5 A19s, 4 BR30s, 1 Color 1000 and 1 Z LED strip all of which are running the latest firmware (which caused the problem to begin with)

Any advice?

Thanks!
autolog
Posts: 4077
Joined: Tue Sep 10, 2013 3:07 am
Location: West Sussex, UK
Contact:

Re: Autolog LIFX Controller Discussion

Post by autolog »

geoffosler1 wrote:First - love the plugin! Thanks very much for making this happen.

Sadly however, despite having upgraded to the most recent version, my LIFX devices keep disappearing from Indigo. Currently running Indigo 7.0.3 and Autologic v4.1.0

When I disable and reload the plugin, devices will be available and work fine for between 1-5 minutes, after which they'll switch to 'no ack' and stay that way until I reload the plugin.

I have tried factory resetting one of the devices and re-adding it to Indigo, but no luck; same thing.

I'm running 5 A19s, 4 BR30s, 1 Color 1000 and 1 Z LED strip all of which are running the latest firmware (which caused the problem to begin with)

Any advice?

Thanks!
Another user has identified something similar but not quite as quick AFAIR. It has happened to me (maybe once a day) and reloading the plugin resolves it.
It has almost got to the top of my list to sort out. :)

Presumably you can still control the LIFX devices from the iOS App?

What is your polling time set to ?

If you turn on all debugging and then reload the plugin and attach the log of the output after the problem occurs and I will see if I can spot anything.

I believe there is a new firmware version coming out in the next week or so that is meant to improve LAN connectivity which may help? :)
geoffosler1
Posts: 5
Joined: Mon Jul 03, 2017 1:19 pm

Re: Autolog LIFX Controller Discussion

Post by geoffosler1 »

Thanks for looking into this, Jon.

Yes - the LIFX iOS app has been working just fine throughout. Polling time is set to 10 sec.

Attached is the log file; hopefully something will catch your eye.

Best,

Geoff.
Attachments
plugin.log
(101.46 KiB) Downloaded 368 times
autolog
Posts: 4077
Joined: Tue Sep 10, 2013 3:07 am
Location: West Sussex, UK
Contact:

Re: Autolog LIFX Controller Discussion

Post by autolog »

I have a suspicion (not yet confirmed) that there might be something adrift in the polling logic. :?

I have my polling set to 5 minutes. Can you try that value and see if the situation improves?

The polling is only to handle the situation where the LIFX lamps might have been altered outside of Indigo e.g. by the iOS App, the aim being to get Indigo back in sync with the state of the lamps.

Thanks for the log. :)
autolog
Posts: 4077
Joined: Tue Sep 10, 2013 3:07 am
Location: West Sussex, UK
Contact:

Re: Autolog LIFX Controller Discussion

Post by autolog »

Looks like it is a bug in the polling logic (not yet resolved) - I switched one of eleven LIFX lamps off and they all went no ack - Definitely not what is intended. :oops:

I'll start work now on trying to resolve it. :)
geoffosler1
Posts: 5
Joined: Mon Jul 03, 2017 1:19 pm

Re: Autolog LIFX Controller Discussion

Post by geoffosler1 »

Tried resetting polling to 5 minutes, but this seemed just to delay the lamps switching to 'no ack' by, well, five minutes. ;)

Thanks again for working on this - also, I feel work of this quality should be at least acknowledged somehow... it's great stuff. Do you have a tip jar or something on Github?

Cheers.
autolog
Posts: 4077
Joined: Tue Sep 10, 2013 3:07 am
Location: West Sussex, UK
Contact:

Re: Autolog LIFX Controller Discussion

Post by autolog »

geoffosler1 wrote:Tried resetting polling to 5 minutes, but this seemed just to delay the lamps switching to 'no ack' by, well, five minutes. ;)
See the announcement post for version 4.1.3 - hopefully this version will fix the issue - it does for me AFAICS. :)
geoffosler1 wrote:Thanks again for working on this - also, I feel work of this quality should be at least acknowledged somehow... it's great stuff. Do you have a tip jar or something on Github?
Thanks for the kind words and no I don't have a "tip jar". :)

I am just happy to contribute to the Indigo "ecosystem" and to be able to share my plugins with support on a best endeavours basis with no strings attached. :)
geoffosler1
Posts: 5
Joined: Mon Jul 03, 2017 1:19 pm

Re: Autolog LIFX Controller Discussion

Post by geoffosler1 »

Well, it's been about 5 hours since I installed v4.1.3 and so far, so good! All lamps are online and none have dropped off.

I'll keep you posted if anything changes - and thanks again for all your help!
autolog
Posts: 4077
Joined: Tue Sep 10, 2013 3:07 am
Location: West Sussex, UK
Contact:

Re: Autolog LIFX Controller Discussion

Post by autolog »

geoffosler1 wrote:Well, it's been about 5 hours since I installed v4.1.3 and so far, so good! All lamps are online and none have dropped off.

I'll keep you posted if anything changes - and thanks again for all your help!
Thanks for the update. :)
geoffosler1
Posts: 5
Joined: Mon Jul 03, 2017 1:19 pm

Re: Autolog LIFX Controller Discussion

Post by geoffosler1 »

Several days in now, and happy to report everything is rock stable. Cheers.
autolog
Posts: 4077
Joined: Tue Sep 10, 2013 3:07 am
Location: West Sussex, UK
Contact:

Re: Autolog LIFX Controller Discussion

Post by autolog »

That's good news - thanks for the follow-up update. :)
karlg
Posts: 9
Joined: Wed Nov 10, 2010 9:15 pm

Re: Autolog LIFX Controller Discussion

Post by karlg »

I'm probably the other person who had previously reported the problem. I reverted to version 4.0.5, but have been running 4.1.3 for a few days now, and am happy to report not seeing any no acks with that version.

Well done, and thanks Jon!!

Karl
jltnol
Posts: 1162
Joined: Tue Oct 15, 2013 11:11 pm

Re: Autolog LIFX Controller Discussion

Post by jltnol »

So I updated to the latest version of the plugin, but still have one light strip that goes offline occasionally. While in the No Ack mode in Indigo, I can still control it from the iOS app, so its still connected to the network. It does drift on and offline in Indigo.. but it is never off the network.

Otherwise, the other LIFX lights, one bulb, one more strip, works great....
autolog
Posts: 4077
Joined: Tue Sep 10, 2013 3:07 am
Location: West Sussex, UK
Contact:

Re: Autolog LIFX Controller Discussion

Post by autolog »

That's useful info. :)

What do you have your polling time set to?
Post Reply

Return to “LIFX Controller”