This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Curl to Lua -- govee led
#1
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
Reply


Messages In This Thread
Curl to Lua -- govee led - by Keitz - 18.04.2022, 07:03
RE: Curl to Lua -- govee led - by Keitz - 18.04.2022, 09:08
RE: Curl to Lua -- govee led - by admin - 19.04.2022, 07:02
RE: Curl to Lua -- govee led - by Keitz - 22.04.2022, 14:34
RE: Curl to Lua -- govee led - by admin - 22.04.2022, 14:37
RE: Curl to Lua -- govee led - by Keitz - 23.04.2022, 18:49

Forum Jump: