I got a token and run the following command in terminal, but my status is ‘offline’
curl -v -X PUT “https://api.lifx.com/v1/lights/all/state” -H “Authorization: Bearer mytoken” -H “content-type: application/json” -d ‘{“infrared”: 0.0, “brightness”: 0.21, “color”:“kelvin:9000”}’
And if you go into that light in the app and into the settings page, does it say it’s connected to the cloud?
I looked at the logs for that light and it seems it went online a few hours after you stopped trying to use the HTTP API. If you try again it should work now.