I created a SmartApp that just acts as an endpoint for a simulated motion sensor. If you have supported NVR software (iSpyConnect, BlueIris, ZoneMinder), you can use the software to trigger these end points, thus activating/deactivating the simulated sensor.
Please Note: It is very important to “Enable OAuth” on your SmartApp after you install it. The App is not actually functional until you do this!
I have a question about this app. I am trying to use this with Blue iris to trigger a Harmony Hub action (specifically "turn on LED light strip from hub)
But i dont have that “thing” show up on the app to use as an Endpoint. Any suggestions?
Forgive me, i’ve been really trying to wrap my head around all this stuff, And i think i’ve just jumped right into this, But now the app says “error bad state”
From my phone:
Error - bad state. Unable to complete page configuration.
From Live Logging:
e46bf3fa-18ba-4bd7-9cd2-0c99dd11a516 6:43:23 PM: error java.lang.NullPointerException: Cannot get property ‘authorities’ on null object @ line 68
OK - I think I left out a critical step in the instructions. Under the IDE, go into My Smartapps. Then click on the edit button next to “HTTP Motion”. On the next screen, click “OAuth” and then “Enable OAuth”. If you don’t do this, the app will give you an error like what you reported.
Sorry for the confusion! I’ll update the GitHub page now
Yup, thanks @Kristopher, enabling Oauth fixes the problem.
@jksearles, I’m on Android, and when I get to the screen where the 2 end point links show, I can long press on each one & select to Copy All & then I paste into my mail app.
Thank you very much for all of you who contributed and forked the project. You will ultimately be the ones to carry it forward on SmartThings. Unfortunately, after much deliberation, I have decided to pull the project from ST at this time.