This repository has been archived by the owner on Aug 22, 2021. It is now read-only.
v0.5.0
Summertime is the time to relax and take time off of work, so work on AiLight has been a tad slow :)
Nevertheless, some time was found to give you a new version of AiLight: v0.5.0!
Sometimes we forget that MQTT is not the only way we have to communicate with IoT devices. That's why AiLight v0.5.0 includes an RESTful API to allow other type of applications, integrations, etc. to interact with your light.
In addition, AiLight now supports Home Assistants' MQTT Auto discovery, so your Ai-Thinker Light will be added to Home Assistant automagically.
Added
- REST API
- Support for Home Assistant's MQTT Discovery. Have AiLight set up your light automatically!
Changed
- Moved MQTT Discovery notify event and reconnect timer to device callback function. MQTT functions become decoupled from device implementation.
- Refactored MQTT and WiFi connections using event driven methods that are executed asynchronously.
- Changed signature use of MQTT callback handlers (based on AsyncMQTT's own examples.)
- Updated Bulma CSS Framework to 0.4.4 (including other NPM packages).
- Clear EEPROM space before loading factory defaults.
- Replaced core function 'memcpy' with the ESP8266 SDK counterpart.
Fixed
- #13 Ensured (new) configuration setting has a proper value before sending via WebSockets.
- Decreased refresh time as UI is available again within 10 seconds.