homebridge-http-switch icon indicating copy to clipboard operation
homebridge-http-switch copied to clipboard

Help me on this call http

Open platini76 opened this issue 3 years ago • 0 comments

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 } ] }

platini76 avatar Dec 07 '20 03:12 platini76