Xblinds Versions Save

HTTP and MQTT controller for vertical blinds

v1.0

2 years ago
  • feature complete release
  • source code (relatively) cleaned up, documented and published (by popular demand)
  • html file is included for convenience, it's not imported during compiling or runtime. I do UI modifications in that file and then copy to code.
  • added MQTT status message for tactile button press
  • added "Reboot ESP" button on Setup page
  • removed all deep sleep related code, it will not be in the official xBlinds release from me
  • change: Dialed up MQTT KeepAlive to 90 seconds, as I saw random disconnects with the default 15 seconds after upgrading Home Assistant Core to 2021.11.x

v0.9

2 years ago
  • bugfix: Tactile button didn't correctly set last preset/position on MQTT
  • change: Web interface was not accessible when MQTT server connection couldn't be established (who turns off their MQTT server anyway?) now xBlinds accepts that it's unreachable after 3 retries (~15 sec).
  • added labels to terminal text output for easier identification of values during boot
  • added deep sleep settings on experimental page (by request), cancel by accessing http://IP-address/cancelsleep

Note: Deep sleep setting is ignored in code as I couldn't make it work reliably, feel free to fiddle with it when code is released. For proper implementation ESP.deepSleep() should go in setup() but that's just not possible without making it permanent by moving all the stuff from loop() in there.

v0.8

3 years ago
  • added Home Assistant MQTT Cover Tilt support (documentation: https://www.home-assistant.io/integrations/cover.mqtt/)
  • added button for debug page under Setup
  • added button for experimental settings under Setup
  • bugfix: Going from "closed" to "half" wouldn't move the blinds
  • renamed "MQTT group" to "MQTT topic" to avoid confusion
  • removed code to turn off onboard LED as the stepper library overruled it anyway

Experimental: Added option by request to adjust how many steps are taken when adjusting presets (default: 512). For use only when stepper is geared down! This is experimental, use with caution and check the debug page. Random restarts of the ESP during preset adjustment are seen with values over 2048, your milage may vary...

Notes on Tilt: I would recommend configuring the tilt keywords in your MQTT Cover part of configuration.yaml and trying it out - you will probably get the best overall experience by sticking to either presets or tilt though...

0.7

3 years ago

Breaking change: xBlinds will now only reports "open" or "closed" on MQTT rather than the name of the preset, so "half" and "full" will be reported as "open". This is to increase compatibility with Home Assistant MQTT Cover (thanks to arthurkok2 for pointing me in that direction!). Make sure to update your configuration.yaml to reflect the change.

  • changed MQTT status updates from every 5 seconds to retained messages that are only updated on changes, to minimize noise (still subject to change)
  • changed MQTT status to "open" or "closed" instead of preset name
  • added "closing" and "opening" MQTT status messages when blinds are moving, "opening" will show for any other preset than "close"
  • added debug page to show the most important variables for troubleshooting, use http://IP-address/debug to view
  • changed "Save as Closed" button to "Save as Closed and reset". This resets the other presets to defaults (requires setting those presets again after setting the new closed position)
  • bugfix: Current position of stepper was not always correctly set after firmware updates and other resets, potentially causing a skew over time

0.6

3 years ago
  • bugfix: Stepper pins remained high after movement, resulting in unnecessary power consumption. They are now set low when stepper is not moving. Thanks to m00x-pixel for reporting.

0.5

3 years ago
  • added support for toggling open/close with optional tactile button (D8 leg on the ESP, important to use 3.3V here or you could fry the ESP!)
  • added proper wiring diagram

0.4

3 years ago
  • version information now displayed on setup page
  • added "override half open" button on setup page to save your own half position
  • added "reset half" button on setup page to reset half position to the calculated one
  • added OTA firmware upgrade support, use http://IP-address/update to upload new firmware.bin

0.3

3 years ago

First public release, find quick guide in readme.md