LIFX Discovery not working

Posted on
Fri Jan 06, 2023 1:41 pm
naasflynn offline
Posts: 3
Joined: Nov 24, 2019

LIFX Discovery not working

Hi all,
I have been using Indigo for some years and recently purchased some LIFX GU10s.
Something basic must be wrong with my setup.....
I have the LIFX GU10s appearing in the LIFX iOS app and also appearing on HomeKit.
After adding the LIFXPlugIn (2022.0.4) to Indigo, nothing showing on Discovery.
I can ping the IP address of the bulbs from the Mac (12.6.2) where Indigo (2022.1.2)is installed and all looks good. No ping losses.
No errors when loading the PlugIn, but wondering if I am missing something obvious?
Output from log is below.
There is no firewall between WiFi network and Mac. All on same 192.168.10.X IP subnet.
Any help gratefully appreciated!
Thanks,
Conor

======================================= Initialising LIFX Controller Bridge Plugin Plugin ========================================
Plugin Name: LIFX
Plugin Version: 2022.0.4
Plugin ID: com.autologplugin.indigoplugin.lifxcontroller
Indigo Version: 2022.1.2
Indigo License: ActiveSubscription
Indigo API Version: 3.1
Architecture: x86_64
Python Version: 3.10.2 (v3.10.2:a58ebcc701, Jan 13 2022, 14:50:16) [Clang 13.0.0 (clang-1300.0.29.30)]
Mac OS Version: 12.6.2
==================================================================================================================================

LIFX Logging to Indigo Event Log at the 'Info' level
LIFX Logging to LIFX Plugin Log at the 'Info' level
Started plugin "LIFX 2022.0.4"
LIFX LIFX device discovery starting (this can take up to 60 seconds) . . .
LIFX Initialising to poll at 10.0 second intervals
LIFX 'LIFX Controller' giving Discovery an opportunity to complete . . .
LIFX

LIFX device discovery has completed. 0 LIFX device(s) have been discovered as follows:

Start of discovered LIFX devices list ---->
<---- End of discovered LIFX devices list.

LIFX . . . 'LIFX Controller' initialization now completed.

Posted on
Sat Jan 07, 2023 5:09 am
autolog offline
Posts: 3989
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: LIFX Discovery not working

Hi Connor,
There are some changes in the latest Gen 4 bulbs firmware - see this post from 2021: v3.70 - (All 4th Generation LIFX bulbs)

Can you check what firmware version your bulbs are on?

My bulbs are older and still on V2.90. THis might explain why mine is working and yours aren't.

The plugin uses the LIFXLAN library and I see there is a year old issue posted about non-discovery: Discovery + Use Appears to Fail on LIFX Firmware 3.70 #168

I will investigate adding the capability to the plugin to directly create a new LIFX device without using discovery i.e. manually inputting the ip address and mac address when creating a new device. :)

EDIT Also see this post from LIFX which explains the firmware differences: Firmware v2.90 & 3.90

Posted on
Sat Jan 07, 2023 7:30 am
autolog offline
Posts: 3989
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: LIFX Discovery not working

Hi Connor,

As a follow-up, try entering a device manually.

I am not sure if this process will work for you as it is a bit difficult for me to fully test:
  • From the Indigo device list UI, select New...
  • In the Create New Device dialogue, select Type: LIFX and Model: LIFX Device
  • Then click Edit Device Settings...
  • If nothing has been discovered, LIFX Device will show - No unassigned LIFX devices available -, so leave as is.
  • Enter the MAC Address of the LIFX GU10 lamp in the format AA:BB:CC:DD:EE:FF
  • Enter the IP Address in the format 192.168.10.X
  • Then click Save
If it doesn't work, try adding + 1 to the MAC Address.

With a bit of luck, the plugin might then be able to communicate wth the LIFX GU10 lamp. :)

Posted on
Sat Apr 15, 2023 8:25 am
michaelcreamer offline
Posts: 34
Joined: Jul 14, 2015

Re: LIFX Discovery not working

I'm having the same problem-- discovery doesn't find any LIFX lights.

I've gotten a new computer so I'm starting fresh with a brand new installation of everything.

It turns out that I CAN manually add the lights and this seems to allow controlling the lights just fine-- but I have 50+ LIFX lights so I'm hoping I don't have to do that!

Anyone found a workaround for this?

Thanks!
Michael

Posted on
Sat Apr 15, 2023 9:59 am
autolog offline
Posts: 3989
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: LIFX Discovery not working

Hi Michael,
What firmware are your LIFX lamps on?

What does the log show when you start up / reload the plugin?

Posted on
Sat Apr 15, 2023 11:07 am
michaelcreamer offline
Posts: 34
Joined: Jul 14, 2015

Re: LIFX Discovery not working

My device versions (everything is up-to-date):

Lifx Color/Mini Color - v3.9
Lifx Tile - v3.5
Lifx Z - v2.9 & v3.9
Lifx Candle - v3.9

The LOG shows:
======================================= Initialising LIFX Controller Bridge Plugin Plugin ========================================
Plugin Name: LIFX
Plugin Version: 2022.0.4
Plugin ID: com.autologplugin.indigoplugin.lifxcontroller
Indigo Version: 2022.2.2
Indigo License: ActiveSubscription
Indigo API Version: 3.2
Architecture: arm64
Python Version: 3.10.2 (v3.10.2:a58ebcc701, Jan 13 2022, 14:50:16) [Clang 13.0.0 (clang-1300.0.29.30)]
Mac OS Version: 13.3.1
==================================================================================================================================

LIFX Logging to Indigo Event Log at the 'Info' level
LIFX Logging to LIFX Plugin Log at the 'Info' level
Started plugin "LIFX 2022.0.4"
LIFX LIFX device discovery starting (this can take up to 60 seconds) . . .
LIFX Initialising to poll at 300.0 second intervals
LIFX 'LIFX Controller' giving Discovery an opportunity to complete . . .
LIFX

LIFX device discovery has completed. 0 LIFX device(s) have been discovered as follows:

Start of discovered LIFX devices list ---->
<---- End of discovered LIFX devices list.

Posted on
Thu Apr 20, 2023 5:00 am
autolog offline
Posts: 3989
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: LIFX Discovery not working

Not sure what is causing this :?

I thought it might be related to the firmware 3.9 but I see your LIFX Z is on 2.9.

All my LIFX lamps are on 2.9, so I have just ordered a new LIFX lamp which hopefully will be on 3.7 so that I can test and see if I can resolve this.

Posted on
Sat Apr 22, 2023 5:28 am
autolog offline
Posts: 3989
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: LIFX Discovery not working

Hi Michael,
Well, good news in a way as the plugin is working for me, which suggests the issue might not be with the plugin.

My new LIFX Clean arrived and I have done the setup in the LIFX App and updated the firmware to Version 3.90.
I then started the LIFX plugin and it discovered the LIFX Clean OK and I can now control it in Indigo.
It has the new offset by one MAC address and the LIFXLan library and plugin appear to handle that OK.

So I suspect your issue may be network related and something has changed in your new setup?

The plugin does a UDP Broadcast to find the lamps. Presumably, it is getting no response to this as it is not finding any lamps.

Maybe your firewall is blocking this and | or your LIFX lamps are on a different network?

Let me know how you get on investigating this.

Posted on
Sat Apr 22, 2023 8:15 am
michaelcreamer offline
Posts: 34
Joined: Jul 14, 2015

Re: LIFX Discovery not working

Hi Jon,

Thanks for the research and the reply.

I'll do some additional research on my end and let you know what I find.

Thanks for the help!

Michael

Posted on
Sat Apr 22, 2023 3:32 pm
GlennNZ offline
User avatar
Posts: 1565
Joined: Dec 07, 2014
Location: Central Coast, Australia

Re: LIFX Discovery not working

I found this:

https://support.lifx.com/en_us/free-net ... -ByvgG_iIu

When troubleshooting some mDNS/Broadcast homekit issues.

May help troubleshoot some of the network aspects?


Sent from my iPad using Tapatalk

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 2 guests

cron