Jump to content

Lifx Light Bulbs plug-in


Headfritz

Recommended Posts

Headfritz

I was just wondering if it would be possible to do a plug-in to control lifx light bulbs you have for the Philip Hue lights? I use Lifx light bulbs and it would be nice to have the same feature that the Hue lights have in emby. Not sure if it could be done, but just I would ask.

Link to comment
Share on other sites

@@Headfritz

 

I looked at the API. They are pretty stringent on who they let access their public redirect and authentication endpoints.

 

Question: in the UI on the bridge are you able to create auth tokens? The API doc says you can, just wondering what that looks like.

Link to comment
Share on other sites

Headfritz

I have generated a token quite easy, Just have know Idea what to do with it.  The Token is a string of 60 or so numbers and letters. 

  • Like 1
Link to comment
Share on other sites

I have generated a token quite easy, Just have know Idea what to do with it. The Token is a string of 60 or so numbers and letters.

That's good news, we'd use that auth token in requests to the API to trigger scenes for playback.

 

Is it okay to follow up with you about testing such a plugin.

 

I don't own lifx , but I didn't own a Phillips hue bridge either. So if you're okay with some testing. We can probably get it working :)

Link to comment
Share on other sites

Latchmor

I have Lifx bulbs so could help too. I did have a quick look last year to see if I could control using the Emby Webhooks but I didn't get very far  :D

  • Like 1
Link to comment
Share on other sites

  • 2 months later...
happytambi

Sweet! Thanks for your help! I also have lifx lights and Emby. Glad to help if I can. Hope everyone is staying well

Link to comment
Share on other sites

  • 4 weeks later...
  • 11 months later...
chef

Looks like there is a REST api.

https://api.developer.lifx.com/

 

The only thing I'm not sure about is this:

HTTPS Requests Only

All requests must be made over HTTPS. Requests made to the HTTP endpoint will be rejected with a 426 Upgrade Required status code indicating that the connection must be remade using HTTPS to continue.

 

Looks as though Lifx mimics Smartthings, in a sense that requests leave the LAN and come back.

We could try to load the Lifx urls into the Smartthings plugin and see what happens.

Edited by chef
Link to comment
Share on other sites

chef

How many Lifx users use scenes to trigger their lights.

At the moment, most of the third party plugins will request scene data from the controller, after configuration in the Emby plugin, it will attempt to run the scenes on emby events.

I found this to be the best/easiest way to handle home automation and emby.

 

 

Link to comment
Share on other sites

Myboredlife
3 hours ago, chef said:

How many Lifx users use scenes to trigger their lights.

At the moment, most of the third party plugins will request scene data from the controller, after configuration in the Emby plugin, it will attempt to run the scenes on emby events.

I found this to be the best/easiest way to handle home automation and emby.

 

 

I got the api code.. but do not know how setup anything..but i have scene setup 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...