This repository has been archived by the owner on Aug 22, 2021. It is now read-only.
v0.4.0
Excited to tell you AiLight has a new version!
The biggest addition to the AiLight firmware is the support for transitions. You can now make your Ai-Thinker Light slowly transition (cross fade) between colors, rather than immediately.
Furthermore, you will be greeted with a nice popup message on the Web UI when you perform an OTA update, and when your restart or restart your light. At least now you know what is going on :)
And lastly, it was reported that saving the settings didn't work, which was due to small error in the underlying JavaScript code. This has been resolved now as well.
Thanks to all contributing and testing this AiLight firmware!
Added
- In stead of immediately switching to a new state, you can now make the transition to a desired state (i.e. colours, brightness, etc.) perform more gradually. This will change the light (cross fade) from the current to the next state given the specified time.
- Now the html.gz.h file is included for people that are not able to build this file themselves.
- When an OTA update has been initiated, a message window - with a nice progress bar - is being displayed in the Web UI to indicate the user that an update is in progress. Subsequently, the Web UI is now reloaded automatically.
- When the user chooses RESTART or RESET, a user friendly message window is being shown in the Web UI.
- Gulpfile now includes task for generating the gamma correction table.
Changed
- Changed position of password visibility icon to be inside input box.
- Adjusted path to gulp binary in the 'build.py' file to provide better support Windows OS.
Fixed
- Fixed issue #10: In the Web UI, the object holding the form's input values wasn't initialized, resulting in the user settings not being saved.
- Ensured OTA 'complete' message isn't shown multiple times.
- Fixed issue #8:
[Violation] Added non-passive event listener to a scroll-blocking 'touchmove' event
in Web UI. - Included missing gulp-util package in the 'package.json' file.
Removed
- SVG font (used for icons) as most browsers started not supporting it anymore. Helps reducing the size of the firmware.
- Removed unnecessary onConnect handler.