You, my friend, are looking for [ST Edge] Web Requestor: a driver to issue local POST and GET HTTP requests. It should have the ability to do what you need using the BI API. I currently use it to restart a camera once I’ve turned the smart switch on.
If you get stuck, I may be able to help!