LIFX Smart Switch

It is not supported by the LIFX integration. Only the HomeKit Device integration.

ah. i have other home kit devices added but no home kit bridge. ill have to see how to get that going

found this tip:

You should be able to see the Switch in Home Assistant for 15 minutes after it boots. That’s how long it runs its HomeKit code for. After 15 minutes, you’ll need to reset again to get HomeKit activated.

Will try this

Right. When that’s active, Home Assistant should automatically detect the LIFX Switch as a HomeKit Device.

You would use a HomeKit Bridge to make it available to the Home app but only after you get it visible in Home Assistant.

Thanks. Got it in home assistant via home kit

I can’t workout how to do what you’ve done. Set the switch tj keep power on but capture button on off in homekit ha

I have it set as button one is wired and running lifx lights then button setup I set to non lifx

Button 2 is not wired. But I still want to use it .or was I meant to wire it to use it ? The button works and lights up

I want to use both buttons within home assistant automations.

i can see the single press event on each button. I could use that in the automations but the button is not on or off. id expect it to match up to what the is doing

how do you run yours exactly ?what am i doing wrong?

really appreciate your help

You don’t have to wire button two. Click the + button in the Automations box of the Device page for the Switch and then select one of the button triggers. You can then define the automation that will run when the button is tapped, double-tapped or held. The buttons don’t appear as entities, just automation triggers.

If you want to control the terminals via Home Assistant, set them all to non-LIFX regardless of whether a LIFX bulb is connected or not. This will make them appear as switch entities in Home Assistant. You can then control them like any other switch entity.

1 Like

Hi there, did you manage to get this working? I have the same issue - I want to set a switch to wired / with lifx device in the lifx app because I want the relay permanently in the on position to always supply power to the device then use HA for button programing

Cheers
Wazza

Hey no I didn’t. Have you opened up a ticket with lifx ? See my other post here about my experience.

Be good to get other complaints as they want me to get another Wi-Fi router to only run 2.4 on as lifx only supports 2.4 to test and see if that makes it work.

Pretty sure it’s a bug on their end. I’m surprised tho as other had it working

Update. Lifx confirmed this is an issue they are fixing. Their comms have been very good

This is an issue affect Switch users in HomeKit, that prevents the integration from detecting the buttons and even makes HomeKit crash.

We’re working along with Apple to fix this situation and apologize for the inconveniences.

If it helps in the interim, if you install the Eve app (free) it shows/exposes a “button” for each buttons on the lifx switch and also a “switch” for each of the bottons that have been set to “non lifx device” in the lifx app
Note that if you set a given button to “lifx device” in the lifx app for constant power - then a “switch” is not added / imported into homekit/eve for that particular button

In the eve app you can then rename switches/buttons etc … and siri/homekit will respond to vice commands that use those names

Not a full solution, but I found it better than nothing while waiting for the bug fix

cheers

This is exactly the same thing Home Assistant does.

On that note, my four switches are all behaving themselves. I haven’t noticed any of them not responding when I push a button, but there’s a caveat: we don’t really use them very often. They’re there for people who don’t know the house is mostly automated so they get very little use on a day-to-day basis.