long shot, but has anyone managed to get the LiFx API to work from php?
I want to set-up a few simple commands from a web interface, posting to a php file, but I am not sure exactly how it all works.
http://developer.lifx.com/ Their documentation shows curl examples, which work in terminal. and I have found this example:
PHP HTTP CURL PUT request for LIFX Power On/Off
I have tried putting the code in from that stack overflow answer into a php fule and running it, but I get nothing, no response, error and nothing happens. I am a bit of a php novice, so if anyone has some insight, I would be interested to hear it.
Regards Kirt