Skip to content

Releases: heythisisnate/nodemcu-smartthings

Easy OAuth

17 Jun 23:30
Compare
Choose a tag to compare

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.

bug fix (SmartApp)

11 Apr 22:52
Compare
Choose a tag to compare
  • fix a null error in the SmartApp with some combinations of device types
  • improve log messaging

Siren and strobe

08 Apr 05:58
Compare
Choose a tag to compare

Feature: Connect the alarm system siren and/or strobe which can be switched on via SmartThings. Integrates with Smart Home Monitor.

UPGRADING:

  1. This release now requires the cjson firmware package. You must re-flash your firmware. See the README for the latest flashing instructions.
  2. In variables.lua, remove the /event from the end of the apiEndpoint variable.
  3. Update the cloud-sensor.groovy SmartApp code.
  4. Create a NodeMCU Connected Alarm device handler with nodemcu-connected-alarm.groovy
  5. Upload the application.lua and variables.lua to the NodeMCU. Note the new alarm configuration in variables.lua.example.
  6. Upload the new alarm.lua file to the NodeMCU if you're connecting a siren or strobe.

Reliable poll

30 Mar 06:34
Compare
Choose a tag to compare

Feature: Blink the onboard LED on successful communication with SmartThings. To enable set blink_led = true in
variables.lua

Feature: Reliable polling. Configure by setting poll_interval in variables.lua to a number to indicate the number of seconds between polling in case there are sensors that may have gotten out of sync.