Hi guys, looking for help/direction on my latest project.
Essentially I would like to flip a HE virtual switch when I run a specific windows program and then turn off the switch when I shutdown the PC.
Can anyone assist me what the http request command looks like? Is it as simple as using a windows batch file which includes the following command (+ Maker API):
curl 'http://HE_Address/apps/api/xxx/devices/[Device ID]/on (or off)/access_token=xxxxxxx'
or do I need some additional options in the curl command to make it work? Thanks!