Skip to content

v2.0.1

Latest
Compare
Choose a tag to compare
@eg321 eg321 released this 11 Dec 15:29
· 2 commits to master since this release

It's minor release that focused on 2 main things:

  1. Homeassistant auto-discovery support.
  2. Improve stability of WiFi connection.

HA Auto-discovery

This feature simplifies integration with HomeAssistant. With enabled "autodiscovery" at HA side, you can just enable your rollerblinds and HA automatically finds your blinds and adds them with correct configuration.

Please note, current implementation requires HA v2021.11 at least.

Improved stability of WiFi connection.

In scope of these changes were implemented additional checks for WiFi connectivity. By now it uses such workflow:

  • Once WiFi is disconnected, it waits for 15 min for connection restoration.
  • Once 15 minutes is expired and still no WiFi connection is detected, device is going to restart. Timer is started again for another 15 minutes.

Please note:

  • It can switch to Captive Portal mode after restart, if no WiFi connection still detected. I don't like this, because Captive portal is public and anyone can connect to it during this period, but I cannot find better solution now.
  • ESP8266 can restore connection immediately without reboot, but ESP32 requires reboot to properly maintain connection (it always will wait for 15 minutes to expire and try to connect after restart).
  • Device continues handle buttons despite WiFi connection issues (even in Captive portal mode).

Non-backward compatible MQTT changes :

  • removed "register" message, but "available" messages added (for HA auto-discovery needs)

Fixed issues

  • #9 Don't try to connect with disabled MQTT by @eg321 in #10