Updating to 2.1.0

Konnected

Updating to 2.1.0

The Konnected 2.1.0 release adds three new device handlers for expanded switch capabilities. There are updates to device code as well as SmartApp code and Device Handlers. I’ve also decided to rename the Konnected SmartApp to just Konnected recognizing the expanded capabilities of the app beyond just security. There are multiple upgrade steps and you need to complete all of them for things to work properly.

Updating the Konnected SmartApp

The SmartApp was renamed to Konnected and that causes some problems with the SmartThings GitHub integration. Do not try to update from GitHub, it will create a duplicate SmartApp. Follow these steps:

  1. In the SmartThings IDE, go to My SmartApps
  2. Click Edit Properties for “Konnected Security (Connect)” and go to Source code Options.
  3. Set the GitHub repository to None
  4. Now edit the SmartApp code itself. Copy/paste the latest SmartApp code from GitHub into the IDE editor, replacing the code that was already there.
  5. Click Save
  6. Click Publish -> For Me
  7. Go back to Edit Properties and set the Github Repo back to konnected-security (stable). Now it should be in sync with git. When there are future updates, it should update as normal.

Updating Device Handlers

Add the three new Konnected device handlers from GitHub:

  1. In the SmartThings IDE, go to My Device Handlers
  2. Click on Update From Repo and select konnected-security, you’ll see three new and some updated device handlers.
  3. Check Publish and then click Execute Update

If you’re not using the GitHub integration, update the device handler code manually from the device handlers on GitHub

Updating the Firmware

I introduced a firmware update in version 2.0.5. If you are upgrading from version 2.0.4 or below, I strongly recommend updating the firmware before doing an OTA update.

Updating from 2.0.5

A bug in the OTA update code requires you to force an update:

  1. Get the IP address and port of your device by opening the Konnected Security SmartApp in the SmartThings mobile app, tap to view the status of your device, and look for the IP Address

  2. In any browser, go to:

     http://<your-ip-address-and-port>/settings?update=true&force=true&commitish=v2.1.0
    
  3. You won’t see any output on the page, but this should restart the device and begin the update process.

Updating from any other version

After ensuring your firmware is up to date, you can do an OTA update by tapping the Check for Update button on the device status page in the app. After the update completes, you will have to update a second time to fully apply the update. Go back to the device status page and tap Check for Update again.