New LIFX A21 model not working

masterblaster
Posts: 12
Joined: Wed Mar 27, 2019 12:54 pm

New LIFX A21 model not working

Post by masterblaster »

LIFX has two new models of bulbs, A21 and BR38, with matter capability. I've purchased both types but only tried the A21 thus far. After adding the device, its state doesn't get past "starting" and is uncontrollable in Indigodomo. The log says:
LIFX Error ''NoneType' object is not subscriptable' in module 'plugin.py', method 'deviceStartComm'
Failing statement [line 539]: 'min_kelvin = self.globals[K_DISCOVERY][lifx_mac_address][K_PRODUCT_FEATURES]["min_kelvin"]'

I added an entry for "LIFX A21" in constants.py but this didn't help.

My other (older) LIFX bulbs work fine.

Please advise, thank you.

p.s. I just tried a newly purchased BR30 that is shown in the LIFX app as being a "LIFX Color BR30 1100lm" . No luck using it in Indigodomo either.
autolog
Posts: 4077
Joined: Tue Sep 10, 2013 3:07 am
Location: West Sussex, UK
Contact:

Re: New LIFX A21 model not working

Post by autolog »

Those two new devices don’t appear to be listed yet in the LIFX API documentation: LIFX Products

The plugin is coded using information from that product table to be able to control the devices.

When you start the plugin, are the new devices listed as being discovered and if so are there product IDs listed?
autolog
Posts: 4077
Joined: Tue Sep 10, 2013 3:07 am
Location: West Sussex, UK
Contact:

Re: New LIFX A21 model not working

Post by autolog »

It appears that the LIFX Github repository is more up-to-date than their documentation :roll:

I will investigate adding these devices. :)
autolog
Posts: 4077
Joined: Tue Sep 10, 2013 3:07 am
Location: West Sussex, UK
Contact:

Re: New LIFX A21 model not working

Post by autolog »

Try this pre-release: LIFX Controller 2024.0.0

I have updated the plugin to handle all of the LIFX lights defined in the LIFX Github product listing.

I couldn’t find a BR38; did you mean a PAR38?
killerdan56
Posts: 27
Joined: Sun Feb 04, 2024 6:27 am

Re: New LIFX A21 model not working

Post by killerdan56 »

So did the new lightbulbs work?
autolog
Posts: 4077
Joined: Tue Sep 10, 2013 3:07 am
Location: West Sussex, UK
Contact:

Re: New LIFX A21 model not working

Post by autolog »

killerdan56 wrote:So did the new lightbulbs work?
I haven’t had any feedback from @masterblaster (last seen on the forum on Sat, 15 Jun 2024) on the updated pre-release plugin with updated product definitions.

In answer to your question, I see no reason why it shouldn’t. The definition for the A21 was previously missing and has now been added to the pre-release version of the plugin.
masterblaster
Posts: 12
Joined: Wed Mar 27, 2019 12:54 pm

Re: New LIFX A21 model not working

Post by masterblaster »

My sincere apologies for not seeing until today your quick response--now 9 months ago! I soon returned the new model bulbs in question, to avoid owning devices that couldn't be added to Indigodomo.

HOWEVER, sometime within the past several months (sometime in the fall of 2024, I believe), the latest official release of the LIFX plugin stopped controlling my original LIFX bulbs, which are BR30s. The plugin gets stuck at "starting..." for each of the four bulbs. The bulbs do respond to ping, are controllable with the iOS LIFX app, and their IPs haven't changed in the years since their installation. The trial LIFX plugin you provided in this thread also doesn't work with them. My best guess is that the plugin broke (for me, anyway) with the October update of Indigodomo or with a macOS update in the fall. If it helps, my Mac is a 64GB/2TB core i7 mini currently running Sequoia 15.3.2.

Your help would be greatly appreciated! Let me know if there's further information I could provide that would help you.
autolog
Posts: 4077
Joined: Tue Sep 10, 2013 3:07 am
Location: West Sussex, UK
Contact:

Re: New LIFX A21 model not working

Post by autolog »

HI @masterblaster,

I am using the pre-release version (2024.0.0) of the LIFX plugin in Indigo 2024.2 running on an M1 Mac mini (Sequoia 15.3.2) and the plugin is working fine for me. While this doesn't resolve your issue, it suggests the plugin is OK.

From what you describe, if the plugin can't find any of the LIFX bulbs and gives up after 5 retry attempts then that implies there might be some sort of network issue between Indigo / LIFX plugin and the bulbs (accepting that iOS can see them).

In recent Mac OS versions Apple introduced higher security and you have to enable access to the local network (see Settings > Privacy & Security > Local Network). I have a couple of Indigo entries enabled in my Local Network settings: IndigoServer and Indigo 2024.2. Sometimes I have had to switch them off, stop and restart Indigo (server and client) and then re-enable the settings when prompted.

The other thing could be a firewall stopping the access?
masterblaster
Posts: 12
Joined: Wed Mar 27, 2019 12:54 pm

Re: New LIFX A21 model not working

Post by masterblaster »

Thank you so much! Local Network permissions were the issue!
Thank you again!!!
Post Reply

Return to “LIFX Controller”