homebridge-http-switch
homebridge-http-switch copied to clipboard
Help me on this call http
hello!
I have a problem, assuming that I am a noob, it is possible to use your plugin to make this call?
curl -XPUT https://api.lifx.co/v1/lights/states -d @states.json -HContent-Type:application/json -H"Authorization: Bearer $PROD_API_TOKEN"
states.json
{ "states": [ { "selector": "label:strip", "power": "on" }, { "selector": "label:strip|0-15", "brightness": 0 }, { "selector": "label:strip|16-31", "brightness": 1 } ] }