LIFX Plugin for $'s

Posted on
Fri Jun 20, 2014 2:08 am
manwithavan offline
User avatar
Posts: 76
Joined: Jan 14, 2014
Location: Melbourne Australia

LIFX Plugin for $'s

Will pay $100 for a LIFX plugin that can control and monitor the brightness and colour state of my LIFX bulbs.

API http://blog.lifx.co/2014/03/24/announcing-the-lifx-api/

Existing Apps http://apps.lifx.co/

Posted on
Fri Jun 20, 2014 3:29 am
autolog offline
Posts: 3988
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: LIFX Plugin for $'s

I have been toying with the idea of writing a plugin for this as I have just got a LIFX bulb and will be getting more :)

If I do a plugin I don't want or expect any money for it as I am more than happy to share it with the Indigo community.

I have looked at the API on github and note that at the moment it supports IOS only. OSX support is apparently coming soon (however long 'soon' is). To get it to run on OSX before the OSX API support is available, it looks like you have to interface python to Ruby which isn't something I have done yet. There is an unofficial JSON RESTful API but I am not sure that is the way to go.

If nobody else is going to take up the challenge, then I shall consider doing so :D

Posted on
Fri Jun 20, 2014 4:35 am
autolog offline
Posts: 3988
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: LIFX Plugin for $'s

autolog wrote:
... There is an unofficial JSON RESTful API but I am not sure that is the way to go. ...

Changed my mind - I think this is the way to go as I have now installed it and can control my lights from terminal window which effectively means I can control it from Indigo. I have started looking at a plugin implementation :)

Posted on
Fri Jun 20, 2014 4:53 am
bschollnick2 offline
Posts: 1355
Joined: Oct 17, 2004
Location: Rochester, Ny

Re: LIFX Plugin for $'s

autolog wrote:
autolog wrote:
... There is an unofficial JSON RESTful API but I am not sure that is the way to go. ...

Changed my mind - I think this is the way to go as I have now installed it and can control my lights from terminal window which effectively means I can control it from Indigo. I have started looking at a plugin implementation :)


The unofficial restful API is available from here (search for Restful). I haven't updated it in a while, but that's simply because I haven't needed to.

viewtopic.php?f=33&t=8804

I certainly would welcome changes, improvements, and other suggestions.

- Ben

------
My Plugins for Indigo (v4, v5, and v6) - http://bit.ly/U8XxPG

Security Script for v4 - http://bit.ly/QTgclf
for v5 - http://bit.ly/T6WBKu

Support Forum(s) - http://www.perceptiveautomation.com/userforum/viewforum.php?f=33

Posted on
Fri Jun 20, 2014 5:00 am
manwithavan offline
User avatar
Posts: 76
Joined: Jan 14, 2014
Location: Melbourne Australia

Re: LIFX Plugin for $'s

Wow! :D
What an amazing community.
I mucked around for ages trying to grasp ruby without even rudimentary coding knowledge and had given up frustrated. Thanks so much for pitching in, if I can get the LIFX globes into Indigo my GF may even consider using the indigo app again.
Cheers!

Posted on
Fri Jun 20, 2014 4:42 pm
autolog offline
Posts: 3988
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: LIFX Plugin for $'s

bschollnick2 wrote:
autolog wrote:
autolog wrote:
... There is an unofficial JSON RESTful API but I am not sure that is the way to go. ...

Changed my mind - I think this is the way to go as I have now installed it and can control my lights from terminal window which effectively means I can control it from Indigo. I have started looking at a plugin implementation :)


The unofficial restful API is available from here (search for Restful). I haven't updated it in a while, but that's simply because I haven't needed to.

viewtopic.php?f=33&t=8804

I certainly would welcome changes, improvements, and other suggestions.

- Ben

I think there may have been a slight misunderstanding :oops:

I was referring to the one on the LIFX site that could be used in a Plugin to call out of Indigo to the LIFX Ruby Gem. I think yours is used outside of Indigo to invoke server functions in Indigo (unless I have misunderstood). :)

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 0 guests