* Use MQTT for start-stream debug messages
* Fix ANSI colors
* Refactor event URL management
* Fix subscription detection
* Improve event URL expiry handling by parsing Amazon S3 expire time
* Convert to ESM/replace colors with chalk
* Force colors for chalk
* Migrate to ESM
* Fix stop of keepalive stream
* Add transcoded event selections
* Update event URL on raw/trancoded toggle
* Switch to per-camera livecall threads
* Customized WebRTC functions
Mostly copied from ring-client-api with port to pure Javascript, removal of unneeded features and additional debugging modified for use as worker thread with ring-mqtt. Allows easier testing with updated Werift versions.
* Add nightlight enable/disable
* Include nightlight state as attribute
* Only pro versions have nightlight
* Tweak battery level reporting for dual battery cameras
* Release 5.1.0
4.5.0 Release
**New Features**
* During motion detection events, battery cameras will now attempt to get snapshots from the livestream since they can't take snapshots while recording. This takes longer, is slightly less reliable, and doesn't always produce the best image quality, but it's almost always better than no snapshot.
* Person detection attribute is available on camera motion sensors. This only works if you see "Person detected" events in the Ring app (needs more testing as my account does not support person detection for reasons unknown)
* Last motion/ding events are available as attributes on cameras
**Enhancements/Fixes**
* Snapshot on motion reliability is improved for line powered cameras
* Fixed various crashes in camera support
* Docker/addon now uses newer Alpine build with Node v14 to hopefully fix issues with reconnecting to Ring API after network interruptions
* Times in attributes now use a consistent format (ISO 8601 without milliseconds)
* Add Home Assistant Device Model support
* Major refactor of device discovery and republish to simplify code
* Add support for alarm status
* Implement new topic heirarchy
* Add support for keypad status monitoring
* Misc bugfixes from refactor
* Remove legacy attribute support
* Display chirps only for security-keypad
* Add support for panic buttons
* Must be explicitly enabled with "enable_panic"
* Addon auto configuration
* Enhance web based token generator
* Improve error handling for token generation
* Add support for Home Assistant device registry for cameras