Skip to content

Releases: konnected-io/konnected-security

TLS updates for Hass.io; Some advanced settings

22 Jun 22:15
7e760c4
Compare
Choose a tag to compare
  1. Updates to the latest NodeMCU Firmware release
  2. Fixes SSL/TLS handshake with Let's Encrypt certificates served by Hass.io. See: Using Konnected with Hass.io and SSL/TLS
  3. Adds more informative debugging output to device serial output and device status page.
  4. Konnected SmartApps now display a version number.
  5. Adds setting to disable the blue LED blink on transmission (ST only for now).
  6. Adds setting to disable device discovery (ST only for now). See: Disabling device discovery
  7. Removes some dead code and updates tests.

Firmware update release

08 May 12:51
8c53c98
Compare
Choose a tag to compare

Updates to NodeMCU firmware 2.2.0 as well as a few stability and feature improvements to Konnected.

Security

  1. Fixes the KRACK WiFi security vulnerability
  2. Upgrades TLS to support industry standard TLS 1.2 for secure connections to SmartThings.

Stability

  1. Improved memory handling ensures a lower application memory footprint.
  2. Fixes a rare issue that causes frequent device reboots on some networks
  3. Better handling of rapid open/close events. Now, each open/close event will be logged. Previously sometimes only the last state would be logged if a contact opened/closed many times very rapidly.

Functionality

  1. Includes new firmware libraries for reading temperature and humidity sensors. Future support for this is coming soon!
  2. Support for digital temperature and humidity sensor modules. Now you can monitor the ambient temperature with Konnected and SmartThings* and an inexpensive DHT22 module. Buy one here for only $9.50.

Known Issues

  1. Over-the-air (OTA) updates are still not working. As a workaround, we've released a Flash Tool to assist in flashing new firmware and software via your Windows or Mac computer.
  2. The new TLS 1.2 security results in slightly slower response times when communicating with SmartThings. Improved security comes with a slight performance cost in this case. Local communication (i.e. to Home Assistant) is not affected. Issue nodemcu/nodemcu-firmware#2346.

IMPORTANT: This release requires an update to the Konnected SmartApps on SmartThings. I recommend updating the SmartApps first before flashing the new firmware. Update your SmartApps by using the "Update from Repo" button in the SmartThings IDE.

add API endpoint

29 Apr 13:57
Compare
Choose a tag to compare

Adds a simple GET <device-ip>:<device-port>/device endpoint for external polling.

Maintenance release

20 Feb 02:25
Compare
Choose a tag to compare

This release fixes an issue with some HTTP clients that split a POST/PUT request into multiple packets.

OTA update improvement

01 Feb 14:19
Compare
Choose a tag to compare

A small improvement to the function that checks for software updates.

Discovery update for Home Assistant

01 Feb 04:09
Compare
Choose a tag to compare

This small update enables LAN discovery for the future Home Assistant integration.

New Features: Door Chime/Beep, Switch and Momentary Switch

04 Sep 05:30
Compare
Choose a tag to compare

This release adds three new device handers for expanded capabilities with alarm systems and beyond.

New Features

  1. Konnected Switch device handler for activating any electrical device using a relay
  2. Konnected Momentary Switch for activating a switch momentarily. This can be used with electric doorbells to make a door chime. The momentary-on duration is customizable per device.
  3. Konnected Beep/Blink activates a switch on/off with a beep/blink pattern. The number of pulses, duration of pulse, and duration of pause are customizable. This can be used with a piezo buzzer to create a "beep beep beep" on door open.

Important Upgrade Instructions

If you are upgrading from a previous version, please read the important upgrading instructions for 2.1.0

OTA update reliability + firmware update

28 Aug 20:31
Compare
Choose a tag to compare

Some users on the SmartThings community forum reported failed OTA updates when updating to the 2.0.4 release last week. After investigating, I was able to reproduce an intermittent failure scenario where one file would not download completely, corrupting the update.

To solve this in a clean and reliable way, I've implemented a verification step where each downloaded file from the OTA update is hashed and compared with a checksum from git before it is finalized. This approach works well, however it introduces a new firmware dependency on the crypto module.

A firmware update is included in this release

While not required, I recommend all users re-flash the firmware of their device(s) before applying this OTA update. The updated firmware file is firmware/konnected-security-2-0-5.bin in this release. Unfortunately, it's not possible to update the firmware over the air, so a USB connection to your computer is necessary.

If you choose not to update the firmware, then your device will not be able to verify OTA updates automatically, and you risk corrupting your device during an OTA update. If this happens, you can manually re-load the source code on to the device by following this guide. Or, contact us at [email protected] for a replacement device if you purchased from us.

IF YOU'RE UPDATING FROM 2.0.3 AND EARLIER, THIS UPDATE REQUIRES TWO "CHECK FOR UPDATE" PROCESSES TO COMPLETE. The first time, the device will download the new OTA-updater code. The second time you check for updates it will actually update the software.

OTA update improvements

23 Aug 05:51
Compare
Choose a tag to compare

Over the Air Update Improvements

  • This patch release fixes some limitations and bugs in the OTA-update process.

Handle IP address changes

  • This update also allows SmartThings to re-discover the device's IP address in case the IP address changes without a device reboot.

THIS UPDATE REQUIRES TWO "CHECK FOR UPDATE" PROCESSES TO COMPLETE. The first time, the device will download the new OTA-updater code. The second time you check for updates it will actually update the software.

Wifi reliability improvements

15 Aug 07:26
Compare
Choose a tag to compare

This bug fix release improves wifi reliability in a few situations:

  1. When recovering from a power failure, if the device wasn't able to connect to wifi immediately, it would get stuck in broadcast mode. This fixes the problem by adding a 30 second delay before entering broadcast mode, and a 5 minute failsafe reboot if a wifi connection isn't set.

  2. Fixes some wifi connectivity issues with certain routers