docker-wyze-bridge

WebRTC/RTSP/RTMP/LL-HLS bridge for Wyze cams in a docker container

AGPL-3.0 License

Downloads
140
Stars
2.5K
Committers
15

Bot releases are hidden (Show)

docker-wyze-bridge - v2.5.2

Published by mrlt8 11 months ago

What's Changed in v2.5.2

  • FIX: MQTT Naming Warning in Home Assistant #1046 Thanks @ejpenney!
  • NEW: {img} variable for motion_webhooks #1044
    • e.g., MOTION_WEBHOOKS: http://0.0.0.0:123/webhooks/endpoint?camera={cam_name}&snapshot={img}
docker-wyze-bridge - v2.5.1

Published by mrlt8 11 months ago

What's Changed in v2.5.1

  • FIX ON_DEMAND=False option was broken in v2.5.0 #1036 #1037
  • NEW API/MQTT commands Thanks @ralacher! #921:
    • GET: /api/<cam-name>/accessories | MQTT: wyzebridge/<cam-name>/accessories/get
    • SET: /api/<cam-name>/spotlight | MQTT: wyzebridge/<cam-name>/spotlight/set
docker-wyze-bridge - v2.5.0

Published by mrlt8 12 months ago

What's Changed in v2.5.0

  • NEW camera support:
    • HL_DB2: Wyze Cam Doorbell v2 - thanks @hoveeman!
    • HL_CAM4: Wyze Cam V4
  • NEW API Endpoint:
    • /api/all/update_snapshot - trigger interval snapshots via web API #1030
docker-wyze-bridge - v2.4.0

Published by mrlt8 about 1 year ago

What's Changed in v2.4.0

  • Motion Events!
    • Pulls events from the wyze API, so it doesn't require an active connection to the camera to detect motion - great for battery cams.
    • Motion status and timestamp available via MQTT and REST API:
      • MQTT topics: wyzebridge/{cam-name}/motion or wyzebridge/{cam-name}/motion_ts
      • REST endpoint: /api/{cam-name}/motion or /api/{cam-name}/motion_ts
    • Webhooks ready and works with ntfy.sh triggers.
    • See Camera Motion wiki for more information.
  • Other fixes and changes:
    • Potential improvements for audio sync. Audio will still lag on frame drops. (#388)
      • Using wallclock seems to help in some situations:
        - FFMPEG_FLAGS=-use_wallclock_as_timestamps 1
    • UPDATE FFmpeg to v6.0
    • UPDATE MediaMTX version from v1.0.3 to v1.1.0 (#1002)
    • Store and reuse s3 thumbnail from events to reduce calls to the wyze api (#970)
    • Increase default MTX_WRITEQUEUESIZE (#984)
    • keep stream alive if livestream enabled (#985)
    • Catch RuntimeError if libseccomp2 is missing (#994)
    • Refactored API client to better handle exceptions and limit connections.
    • Check bitrate from videoParams for all 11.x or newer firmware (#975)
    • buffer mtx event data (#990)
    • Exclude battery cams from scheduled RTSP snapshots (#970)
  • New ENV/Options:
    • MOTION_API=True to enable motion events. (Default: False)
    • MOTION_INT=<float> number of seconds between motion checks. (Default: 1.5)
    • MOTION_START=True to have the bridge initiate a connection to the camera on a motion event. (Default: False)
    • MOTION_WEBHOOK=<str> webhooks url. Can use {cam_name} in the url to make a request to a url with the camera name. Image url and title are available in the request header.
    • MOTION_WEBHOOK_<CAM-NAME>=<str> Same as MOTION_WEBHOOK but for a specific camera.
docker-wyze-bridge - v2.3.17

Published by mrlt8 about 1 year ago

What's Changed in v2.3.17

  • NEW REST/MQTT Commands:
    • battery GET current battery level on outdoor cams. (#864)
    • battery_usage GET current battery usage times. (#864)
    • hor_flip GET/SET horizontal video flip. (#976)
    • ver_flip GET/SET vertical video flip. (#976)
  • FIXES:
    • Wrong bitrate error on newer 4.36.11.x firmware which were not returning the correct bitrate info. (#975)
    • Typo in quick_response REST/MQTT topic.
    • invalid escape sequence warning.
  • UPDATES:
    • MediaMTX version from v1.0.0 to v1.0.3 (#979)

Full Changelog: https://github.com/mrlt8/docker-wyze-bridge/compare/v2.3.16...v2.3.17

docker-wyze-bridge - v2.3.16

Published by mrlt8 about 1 year ago

What's Changed in v2.3.16

  • FIX: Catch exception in thread errors
  • FIX: Other minor typos and typing errors.
  • UPDATE: Wyze App version to v2.44.1.1 (#946)

Full Changelog: https://github.com/mrlt8/docker-wyze-bridge/compare/v2.3.15...v2.3.16

docker-wyze-bridge - v2.3.15

Published by mrlt8 about 1 year ago

What's Changed in v2.3.15

  • FIX: caminfo not found error.
  • Update MediaMTX version from v0.23.8 to v1.0.0 (#956)
docker-wyze-bridge - v2.3.14

Published by mrlt8 about 1 year ago

What's Changed in v2.3.14

NEW:

  • PTZ controls in MQTT discovery as "cover"
  • Add ffmpeg filter_complex config (#919)

CHANGED:

  • Adjust default bitrate for re-encoding to 3000k.
  • Case sensitive FFMPEG_CMD (#736) Thanks @392media!
  • DEBUG_FFMPEG is now FFMPEG_LOGLEVEL with customizable levels:
    • quiet, panic, fatal, error, warning, info, verbose, debug.
    • Defaults to fatal.
  • Bump Wyze App version to v2.44.1.1 (#946)
docker-wyze-bridge - v2.3.13

Published by mrlt8 about 1 year ago

What's Changed in v2.3.13

FIXES:

  • Errors when SET/GET bitrate. Thanks @plat2on1! (#929)
  • Prevent exception on empty GET/SET payload.

Full Changelog: https://github.com/mrlt8/docker-wyze-bridge/compare/v2.3.12...v2.3.13

docker-wyze-bridge - v2.3.12

Published by mrlt8 about 1 year ago

What's Changed in v2.3.12

  • NEW:
    • update_snapshot MQTT/REST API GET topic.
    • Additional MQTT entities (#921)
  • FIXES:
    • Monitor and set preferred bitrate if/when the wyze app changes it. Thanks @plat2on1! (#929)
    • cruise_point index starts at 1 when setting via MQTT/REST API. (#835)
    • Camera status was always online. (#907) (#920)
    • Power status was incorrect when using MQTT discovery. (#921)

Full Changelog: https://github.com/mrlt8/docker-wyze-bridge/compare/v2.3.11...v2.3.12

docker-wyze-bridge - v2.3.11

Published by mrlt8 about 1 year ago

What's Changed in v2.3.11

  • NEW:
    • Add more MQTT entities when using MQTT discovery. Thanks @jhansche! #921 #922
    • custom video filter - Use FFMPEG_FILTER or FFMPEG_FILTER_CAM-NAME to set custom ffmpeg video filters. #919
  • NEW MQTT/REST commands:
    • SET topic: cruise_point | payload: (int) 1-4 - Pan to predefined cruise_point/waypoint. Thanks @jhansche! (#835).
    • SET topic: time_zone | payload: (str) Area/Location, e.g. America/New_York - Change camera timezone. Thanks @DennisGarvey! (#916)
    • GET/SET topic: osd_timestamp | payload: (bool/int) on/off - toggle timestamp on video.
    • GET/SET topic: osd_logo | payload: (bool/int) on/off - toggle wyze logo on video.
    • SET topic: quick_reponse | payload: (int) 1-3 - Doorbell quick response.
  • FIXES:
    • Resend discovery message on HA online. Thanks @jhansche! #907 #920
    • Return json response/value for commands. Thanks @jhansche! #835
    • Fix threading issue on restart. Thanks @ZacTyAdams! #902
    • Catch and disable MQTT on name resolution error.
    • Fix SET cruise_points over MQTT.
  • Updates:
    • Wyze iOS App version from v2.43.0.12 to v2.43.5.3 (#914)
    • MediaMTX version from v0.23.7 to v0.23.8 (#925)
docker-wyze-bridge - v2.3.10

Published by mrlt8 over 1 year ago

What's Changed in v2.3.10

  • FIX: KeyError when upgrading with old cache data in v2.3.9 (#905) Thanks @itsamenathan!
    • You should be able to remove or set FRESH_DATA back to false.
  • MQTT: Update bridge status (#907) Thanks @giorgi1324!
docker-wyze-bridge - v2.3.9

Published by mrlt8 over 1 year ago

What's Changed in v2.3.9

  • NEW: ENV Options - token-based authentication (#876)
    • REFRESH_TOKEN - Use a valid refresh token to request a new access token and refresh token.
    • ACCESS_TOKEN - Use an existing valid access token too access the API. Will not be able to refresh the token once it expires.
  • NEW: Docker "QSV" Images with basic support for QSV hardware accelerated encoding. (#736) Thanks @mitchross, @392media, @chris001, and everyone who helped!
    • Use the latest-qsv tag (e.g., mrlt8/wyze-bridge:latest-qsv) along with the H264_ENC=h264_qsv ENV variable.
  • FIXES:
    • Home Assistant: set max bitrate quality to 255 (#893) Thanks @gtxaspec!
    • WebUI: email 2FA support.
  • UPDATES:

Full Changelog: https://github.com/mrlt8/docker-wyze-bridge/compare/v2.3.8...v2.3.9

docker-wyze-bridge - v2.3.8

Published by mrlt8 over 1 year ago

What's Changed in v2.3.8

  • FIX: Home Assistant - API_KEY and API_ID config for wyze API was broken. (#837)
  • FIX: Prioritize sms > totp > email for MFA if no MFA_TYPE or primary option is set. (#885)
  • Potential fix: Add libx11 to qsv image.
docker-wyze-bridge - v2.3.7

Published by mrlt8 over 1 year ago

What's Changed in v2.3.7

  • FIX: Regression introduced in v2.3.6 if primary_option for MFA is "Unknown". Will now default to sms or totp if MFA_TYPE is not set. Thanks @Dot50Cal! (#885)
  • FIX: Reduce excess logging if rtsp snapshot times out.
docker-wyze-bridge - v2.3.6

Published by mrlt8 over 1 year ago

What's Changed in v2.3.6

  • NEW: Add support for email 2FA (#880) Thanks @foobarmeow!
  • NEW: ENV Option MFA_TYPE - allows you to specify a verification type to use when an account has multiple options enabled. Will default to the primary option from the app if not set. Valid options are:
    • TotpVerificationCode
    • PrimaryPhone
    • Email
docker-wyze-bridge - v2.3.5

Published by mrlt8 over 1 year ago

What's Changed in v2.3.5

  • FIXED: response code and error handling for Wyze Web API.
  • FIXED: catch exceptions when taking a snapshot (#873)
  • CHANGED: MediaMTX versions are now pinned to avoid breaking changes.
  • UPDATED: MediaMTX to 0.23.6 and fixed MTX_PATH.
docker-wyze-bridge - v2.3.4

Published by mrlt8 over 1 year ago

What's Changed in v2.3.4

  • ENV Options:
    • FIX: FILTER_NAMES would not work if camera had spaces at the end of the name. Thanks @djak250! (#868)
  • Camera Commands:
    • FIX: Regression introduced in v2.3.3 preventing negative values for the rotary_degree topic. Thanks @gtxaspec! (#870) (#866)
    • FIX: String cmd lookup for rotary_degree and json error response breaking web api. #870 #866
  • Other Fixes:
    • Catch exceptions when saving thumbnail from api. (#869)
    • Clear cache on UnpicklingError. (#867)

Full Changelog: https://github.com/mrlt8/docker-wyze-bridge/compare/v2.3.3...v2.3.4

docker-wyze-bridge - v2.3.3

Published by mrlt8 over 1 year ago

What's Changed in v2.3.3

  • ENV Option:
    • NEW: Add SUB_RECORD config. Thanks @gtxaspec! (#861)
    • FIX: Home Assistant SUB_QUALITY
  • MQTT:
    • NEW: Update more camera parameters on connect.
  • Camera Commands:
    • NEW: Add GET topics for camera params.
    • FIX: Persist bitrate changes on-reconnect (#852)
    • FIX: Limited vertical angle for ptz_position. Thanks @Rijswijker! (#862)

Full Changelog: https://github.com/mrlt8/docker-wyze-bridge/compare/v2.3.2...v2.3.3

docker-wyze-bridge - v2.3.2

Published by mrlt8 over 1 year ago

What's Changed in v2.3.2

  • Camera commands:
    • SET Topic: state; payload: start|stop|enable|disable - control the camera stream.
    • GET Topic: state - get the state of the stream in the bridge.
    • GET Topic: power - get the power switch state (Wyze Cloud API).
  • REST/MQTT Control:
    • FIXED: Refresh token if needed when sending power commands.
    • FIXED: Remove quotations from payload. (#857)
    • CHANGED: Better error handling for commands.
  • MQTT:
    • Updated discovery availability and additional entities.
    • Publish additional topics with current settings.
    • Disable on TimeoutError.

Full Changelog: https://github.com/mrlt8/docker-wyze-bridge/compare/v2.3.1...v2.3.2

Package Rankings
Top 37.29% on Pypi.org
Badges
Extracted from project README
Docker GitHub release (latest by date) Docker Image Size (latest semver) Docker Pulls Home Assistant Add-on Homebridge Portainer stack Unraid Community App Open your Home Assistant instance and show the add add-on repository dialog with a specific repository URL pre-filled.
Related Projects