Headfritz 7 Posted February 4, 2020 Posted February 4, 2020 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.
chef 3807 Posted February 4, 2020 Posted February 4, 2020 okay, it might be possible. let me see if there is an api for Lifx.
chef 3807 Posted February 4, 2020 Posted February 4, 2020 @@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.
Headfritz 7 Posted February 7, 2020 Author Posted February 7, 2020 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. 1
chef 3807 Posted February 7, 2020 Posted February 7, 2020 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
Latchmor 584 Posted February 8, 2020 Posted February 8, 2020 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 1
happytambi 0 Posted April 8, 2020 Posted April 8, 2020 Sweet! Thanks for your help! I also have lifx lights and Emby. Glad to help if I can. Hope everyone is staying well
slyfox 46 Posted May 5, 2020 Posted May 5, 2020 Another Lifx owner and Emby fan. Let me know if this would be possible.
Myboredlife 1 Posted April 15, 2021 Posted April 15, 2021 has any thing been accomplish? own lifx bulb as well
chef 3807 Posted April 16, 2021 Posted April 16, 2021 (edited) 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 April 16, 2021 by chef
Myboredlife 1 Posted April 16, 2021 Posted April 16, 2021 https://lan.developer.lifx.com/docs/communicating-with-device#request-without-acknowledgement-or-response that help any? 1
chef 3807 Posted April 17, 2021 Posted April 17, 2021 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.
Myboredlife 1 Posted April 17, 2021 Posted April 17, 2021 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now