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

v0.3.0

Compare
Choose a tag to compare
@stelgenhof stelgenhof released this 09 May 00:34
· 235 commits to master since this release

Happy to announce a new release of AiLight! This version contains various fixes and a couple of new additions.

Most importantly the Over The Air (OTA) feature is now working properly. Unfortunately, it was behaving erratically due to an incorrect datatype applied. As a result, you have to upload this version of the firmware via the Serial port again.

Some additions have been made to the 'platformio.ini' and 'config.h' files as well. If you are upgrading from a previous release, please compare your version of these files to the new (example) ones in this release:

  • Migrated to the AsyncMQTTClient library (replacing PubSubClient Library): this needs to be reflected in your 'platformio.ini' file
  • MQTT Last Will and Testament support added: two new constants have been created that needs to be added to your 'config.h' file.

Thanks to all contributing and testing this AiLight firmware!

Added

  • MQTT Last Will and Testament, giving the MQTT broker and other clients option to know if the Ai-Thinker RGBW light has been disconnected gracefully or not.
  • Gamma Correction: makes the colours of the LED light to appear closer to what our eyes perceive. This allows for better colour representations.
  • favico added to HTML UI
  • Added model name to distinguish naming between AiLight and Ai-Thinker light bulb manufacturer/model name.

Changed

  • Migrated to AsyncMQTTClient library (replacing PubSubClient Library) * Please be aware of changes to the platformio.ini and config.h files!
  • Build.py script now uses locally installed Gulp binary instead of global one
  • HTML UI title includes now the device name so it's easier to identify which light you are looking at
  • Reduced size of HTML UI by removing unused style sheet elements, shrinking logo and removing unnecessary code.
  • The sliders are now accompanied with a value bubble to make it easier understanding what the actual value is.

Fixed

  • Reset button now properly performs a factory reset. Previously it was executing a restart.
  • OTA upload was behaving erratically caused by incorrectly implementing the asynchronous 'onProgress' method (Wrong datatypes used).