I was wondering if there is a way to call a URL as a webbrowser would, when I set the SmartThings app to away/arm. It would need to call up: URL/index.php?runzmday=true which tells my zoneminder instance to use motion capture mode and then another url to disarm it. Is there an existing bit of code out there to do this. Just to call up a URL when a mode is set?
Essentially, this tells zoneminder to go into record, or do not record mode via processing the URL path that I listed, /index.php?runzmday=true.
Thanks in advance! Hopefully what I described makes sense!
Edit: I’ve edited the content of this post to contain more of the information I am looking for.