Skip to content
This repository has been archived by the owner on Aug 22, 2021. It is now read-only.

v0.6.0

Compare
Choose a tag to compare
@stelgenhof stelgenhof released this 08 Apr 06:32
· 79 commits to develop since this release

Quite a number of changes and fixes in this new release of the AiLight firmware. Although the focus has not been on new features, most of the work has been targeting stability and security of the firmware.

Thanks to everybody helping testing and providing improvements!

Added

  • Included additional HTTP response headers for the Web UI to increase security.
  • As it may be hard to identify which ESP Core version is used, this Core version information has been added to the About page on the Web UI and the debug output.
  • Enabled Travis CI so the AiLight firmware gets build and tested with each change.
  • Allow Gamma Correction option to be set via REST API and MQTT. #23
  • Possibility to define the state (ON/OFF) of the light upon power on / reset. Three options are available: Always On, Always Off and As Before. This can be extremely useful if for example you have your light connected to a regular switch and like it to behave like a general light switch. #24.
  • MQTT availability topic for HomeAssistant is included and set to the same topic as the Last Will and Testament topic. #35.

Changed

  • Locked down versions of the platform and dependent libraries to safeguard stability. Altered the debug flag in the platformio.ini configuration file to show all warnings.
  • Home Assistant 0.84 (and up) changed the configuration syntax for the MQTT JSON platform type. A compiler directive is introduced to allow the firmware to be compiled for versions 0.84 or older of Home Assistant. #51
  • Added monitor_speed parameter for development environments in the platformio.ini configuration file to be able to override the default (9600).
  • In addition to the hostname, if the MQTT state topic, command topic or state topic are changed, the device will re-register itself on Home Assistant via the MQTT Auto discovery (if enabled). These settings are part of the Home Assistant device configuration and therefor need to be re-initialized if they are changed.
  • Renamed the 'extra_script' parameter to 'extra_scripts' in the platformio.ini configuration file as 'extra_script' will be deprecated.
  • Increased buffer for MQTT discovery payload. Payload was too small causing Home Assistant not to recognize all configuration options.
  • Added DEBUG block for code parts that are only required in debug mode.
  • Suppressed message during build and included step to remove prior generated files for the WebUI (gulpfile.js).
  • Changed the name of the ESPAsyncWebServer library in the platformio.ini configuration file since original project has changed their naming.
  • Updated e-mail address and copyright year.

Fixed

  • MQTT Reconnect timer was using the WiFi timeout directive rather than the applicable MQTT timeout directive. Created a new compiler directive to allow for setting the WiFi reconnect time to a custom value.
  • Corrected OTA port argument in the platformio.ini configuration file (Needs equal sign)
  • When settings in the Web UI were saved, the Lights tab was made active. This made verifying your changed settings quite cumbersome. After saving, the Settings tab now stays active. #14.
  • Removed the Program Memory Macros for all constants used with AsyncWebServer methods. These were causing random Software WDT resets and removing these were the remedy. #27.
  • Corrected debug flag in the platformio.ini configuration file.