I think this is just a syntax issue.
I have camera nightvision switches configured in HA that I want to control from BI, and AFAIK the
REST API is my most feasible solution.
I have a working cURL command, so I basically need to get this…
curl -k -X POST -H 'Authorization: Bearer MY.TOKEN' -H 'Content-Type: application/json' -d '{"entity_id": "switch.garage_cam_nightvision"}' https://MY.DOMAIN:8123/api/services/switch/turn_on
…into here…
Unfortunately, the Blue Iris help file doesn’t provide much information regarding syntax:
Any help would be much appreciated!