Releases: konnected-io/konnected-security
TLS updates for Hass.io; Some advanced settings
- Updates to the latest NodeMCU Firmware release
- Fixes SSL/TLS handshake with Let's Encrypt certificates served by Hass.io. See: Using Konnected with Hass.io and SSL/TLS
- Adds more informative debugging output to device serial output and device status page.
- Konnected SmartApps now display a version number.
- Adds setting to disable the blue LED blink on transmission (ST only for now).
- Adds setting to disable device discovery (ST only for now). See: Disabling device discovery
- Removes some dead code and updates tests.
Firmware update release
Updates to NodeMCU firmware 2.2.0 as well as a few stability and feature improvements to Konnected.
Security
- Fixes the KRACK WiFi security vulnerability
- Upgrades TLS to support industry standard TLS 1.2 for secure connections to SmartThings.
Stability
- Improved memory handling ensures a lower application memory footprint.
- Fixes a rare issue that causes frequent device reboots on some networks
- 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
- Includes new firmware libraries for reading temperature and humidity sensors. Future support for this is coming soon!
- 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
- 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.
- 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
Adds a simple GET <device-ip>:<device-port>/device
endpoint for external polling.
Maintenance release
This release fixes an issue with some HTTP clients that split a POST/PUT request into multiple packets.
OTA update improvement
A small improvement to the function that checks for software updates.
Discovery update for Home Assistant
This small update enables LAN discovery for the future Home Assistant integration.
New Features: Door Chime/Beep, Switch and Momentary Switch
This release adds three new device handers for expanded capabilities with alarm systems and beyond.
New Features
- Konnected Switch device handler for activating any electrical device using a relay
- 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.
- 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
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
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
This bug fix release improves wifi reliability in a few situations:
-
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.
-
Fixes some wifi connectivity issues with certain routers