Feature: Easy OAuth. The application handles the OAuth flow automatically now. Just point your browser
to http://<your-device-ip>:8100/oauth
. See the updated README for details.
Feature: Authorize multiple alarms with the SmartApp.
Bug Fix: Strobe output did not work due to copy/paste bug.
Bug Fix: Fix error in SmartApp when you only have motion sensors authorized.
Upgrade instructions
- Update the
cloud-sensor.groovy
SmartApp code in the SmartThings web based IDE. - If you have an alarm connected, you will have to re-add it. Using the SmartThings mobile app, go to Automation -> SmartApps -> Cloud Sensor and open up the Alarms section. Check the device(s) connected to your NodeMCU.
- Remove the
apiHost
andapiEndpoint
variables from your variables.lua file. - Connect your NodeMCU device to your laptop, using ESPlorer go to Upload and upload all the
lua
files andhtml
files from thelua
directory. - Restart the device by toggling RTS and watch the console output for success.