Dlee
(DLee)
May 21, 2015, 5:49am
5
In each camera settings in BlueIris there is an option for alerts. One of the alerts options is http request. In there you just paste in your rest endpoint URLs for whichever switch on commands you configured.
[enter link description here][1]
SmartApp endpoints are a powerful way to securely control your SmartThings with familiar REST calls GET,POST,PUT or DELETE. You have the freedom to define your URL schema and can pass query values through the URL path or through JSON.
This tutorial will guide you through the process of setting up this App Endpoint Example . After you authorize the app to see specific devices, it will generate a web page of buttons with URLs to toggle your chosen lights and locks.
You can download the full code for the SmartApp Endpoint Example and PHP code to interact with the endpoint. Additional OAuth documentation can be found here.
Step 1: Enable OAuth in the SmartApp
To begin, add a New SmartApp in the IDE . Make sure to click the button to “Enable Oauth in Smart App.” Note the “OAuth Client I…