18.04.2022, 07:03
Dear, as I am a novice in scripting. Anyone that can help me send a Put request for my govee led stip.
curl --location --request PUT 'https://developer-api.govee.com/v1/devices/control' --header 'Govee-API-Key: 0af6b18b-0303-4c87-b68a-xxxxxxxxx' --header 'Content-Type: application/json' --data-raw '{"device": "FF:AA:A4:C1:xx:xx:xx:xx","model": "H6199","cmd": {"name": "turn", "value": "off"}}'
Thanks
curl --location --request PUT 'https://developer-api.govee.com/v1/devices/control' --header 'Govee-API-Key: 0af6b18b-0303-4c87-b68a-xxxxxxxxx' --header 'Content-Type: application/json' --data-raw '{"device": "FF:AA:A4:C1:xx:xx:xx:xx","model": "H6199","cmd": {"name": "turn", "value": "off"}}'
Thanks