All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Fix issue with leaflet CSS in production mode
- Bugfix: Alarm are now re-scheduled when gladys restart
- BoxType.create update boxType if already exist
- new method gladys.paramUser.getValues()
- handling calendar/calendarevent with all API routes
- real-time map of the family in the dashboard
- added identifier to the devicetype modal
- native weather implementation in Gladys
- added sunrise/sunset schedule to init tasks (inited each day at 00.01)
- added House & room ID to parameters view in dashboard
- added gladys.deviceState.purge() function to clean deviceState table
- added gladys.sun.isItDay(), gladys.sun.isItNight(), gladys.sun.getState()
- device now added in real-time on the device list view
- added 'category' field on the deviceType table to identify properly each category of device (ex: 'light')
- new deviceType.getByCategory() function
- passing user starting the script in a context object in each script
- brain : parsing room name with lowercase
- deviceType.command can now select lights in a room
- Schedule alarms with cron-rules !
###Changed
- Fix critical bug when getting deviceType by room
- add unit tests to GET /devicetype/room to prevent that
###Added
- new route: GET /devicetype/:id
- scenario now accept empty templates
- new function: gladys.house.getById()
- Bugfixed mode.change, now working !
- full REST API documentation thanks to apidoc
- brain now call module functions and not global services anymore
- Added roomName in deviceType get requests so that you don't have to query room to get room name.
- Bugfix: In scenario, test if trigger scope has property before overidding it.
- New music service in Gladys ! To be able to handle various music system in Gladys, there is a now a
gladys.music
abstract service. This service search for devices with a deviceTypemusic
, and treat them as music capable devices. It forwards all commands (play, pause, stop, ...) to theservice
of the device.
- Bugfix: Cloning params object in
gladys.scenario.trigger()
function so that original object is not modified.
- Injecting event params (house, user, room, datetime) into scenario scope so that back-at-home and left-home scenario can work properly.
- New event create box on the dashboard ! (Update of gladys data needed)
- Create event in scenario action is working.