I created an SmartThings App LIFX Connect and the associated SmartThings Device LIFX Bulb
Steps are:
- Add the Smart Device (https://graph.api.smartthings.com/ide/devices From Code)
- Add the Smart App (https://graph.api.smartthings.com/ide/app From Code)
- Click on App settings
- In settings, set your access_token (which you can get from Chendo https://github.com/chendo/lifx-http/issues/27#issuecomment-72760322)
- You can set debug to true, if you want some debugging statement in the log
- Install the app (I personally use the IDE simulator to set a location, then i can open the SmartApp in the iOS app)
You should be able to find all your bulbs and add them.
Know bugs so far:
- If you use LIFX app to turn bulb on/off, their status won’t reflect for at least 5 minute (there is a job that get call every 5 minutes)
- In the mean time there is a delay on the cloud API of LIFX on the status of a bulb, I wasn’t able to find out how long of a delay it is. But if you turn a bulb on by their API, the status endpoint is not updated right away