Release 5.1.0 (#537)

* 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
This commit is contained in:
tsightler
2023-02-02 20:59:09 -05:00
committed by GitHub
parent c88b82cdb5
commit b8338e30de
57 changed files with 2832 additions and 2794 deletions

View File

@@ -10,11 +10,11 @@
# If HASSIO_TOKEN variable exist we are running as addon
if [ -v HASSIO_TOKEN ]; then
RUNMODE_BANNER="Addon for Home Assistant "
RUNMODE_BANNER="Addon for Home Assistant"
# Use bashio to get configured branch
export BRANCH=$(bashio::config "branch")
else
RUNMODE_BANNER="Docker Edition "
RUNMODE_BANNER="Docker Edition "
fi
# Short delay to keep log messages from overlapping with s6 logs
@@ -22,7 +22,7 @@ sleep .5
echo "-------------------------------------------------------"
echo "| Ring-MQTT with Video Streaming |"
echo "| ${RUNMODE_BANNER} |"
echo "| ${RUNMODE_BANNER} |"
echo "| |"
echo "| For support questions please visit: |"
echo "| https://github.com/tsightler/ring-mqtt/discussions |"

View File

@@ -45,6 +45,8 @@ else
fi
fi
export FORCE_COLOR=2
if [ "${BRANCH}" = "latest" ] || [ "${BRANCH}" = "dev" ]; then
cd "/app/ring-mqtt-${BRANCH}"
else