Skip to content

Easy OAuth

Latest
Compare
Choose a tag to compare
@heythisisnate heythisisnate released this 17 Jun 23:30
· 1 commit to master since this release

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

  1. Update the cloud-sensor.groovy SmartApp code in the SmartThings web based IDE.
  2. 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.
  3. Remove the apiHost and apiEndpoint variables from your variables.lua file.
  4. Connect your NodeMCU device to your laptop, using ESPlorer go to Upload and upload all the lua files and html files from the lua directory.
  5. Restart the device by toggling RTS and watch the console output for success.