Skip to content

Commit

Permalink
v0.5.18
Browse files Browse the repository at this point in the history
Thumbnails, warnings, and HA config improvements
  • Loading branch information
mrlt8 committed Sep 2, 2021
1 parent c9f7493 commit 35f82d0
Show file tree
Hide file tree
Showing 8 changed files with 88 additions and 77 deletions.
26 changes: 16 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,22 @@ Docker container to expose a local RTMP, RTSP, and HLS stream for all your Wyze

Based on [@noelhibbard's script](https://gist.github.com/noelhibbard/03703f551298c6460f2fd0bfdbc328bd#file-readme-md) with [kroo/wyzecam](https://github.com/kroo/wyzecam), and [aler9/rtsp-simple-server](https://github.com/aler9/rtsp-simple-server).

## Changes in v0.5.18

- New: `API_THUMB` ENV parameter to save a thumbnail from the Wyze API
- New: Show warnings on frame drops
- 🏠 Home Assistant: Improved config option compatibility

## Changes in v0.5.17

- ARM Only: Switch to debian buster base image to avoid libseccomp2 related issues
- Fix: Additional checks for stale data
- 🏠 Home Assistant: Force refresh of cameras from wyze api to pull new thumbnails
- 🏠 Home Assistant: Add hass.io labels to docker image
- 🏠 Home Assistant: Add schema for *some* config options

[View older changes](https://github.com/mrlt8/docker-wyze-bridge/releases)

## Compatibility

![Supports armv7 Architecture](https://img.shields.io/badge/armv7-yes-success.svg)
Expand Down Expand Up @@ -43,16 +59,6 @@ If you wish to continue using your camera with the bridge, you should downgrade
| V3 | 4.36.3.19 (August 26, 2021) |
| PAN | 4.10.6.241 (March 9, 2021) |

## Changes in v0.5.17

- ARM Only: Switch to debian buster base image to avoid libseccomp2 related issues
- Fix: Additional checks for stale data
- 🏠 Home Assistant: Force refresh of cameras from wyze api to pull new thumbnails
- 🏠 Home Assistant: Add hass.io labels to docker image
- 🏠 Home Assistant: Add schema for *some* config options

[View older changes](https://github.com/mrlt8/docker-wyze-bridge/releases)

## Usage

### docker run
Expand Down
6 changes: 6 additions & 0 deletions app/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Changes in v0.5.18

- New: `API_THUMB` ENV parameter to save a thumbnail from the Wyze API
- New: Show warnings on frame drops
- 🏠 Home Assistant: Improved config option compatibility

# Changes in v0.5.17

- ARM Only: Switch to debian buster base image to avoid libseccomp2 related issues
Expand Down
5 changes: 5 additions & 0 deletions app/DOCS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Docker Wyze Bridge

(coming soon)

Please visit [github.com/mrlt8/docker-wyze-bridge](https://github.com/mrlt8/docker-wyze-bridge) for additional information.
2 changes: 1 addition & 1 deletion app/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN apt-get update \
RUN pip3 install --disable-pip-version-check --prefix=/build/usr/local requests supervisor https://github.com/mrlt8/wyzecam/archive/refs/heads/main.zip
ADD https://johnvansickle.com/ffmpeg/builds/ffmpeg-git-${FFMPEG_ARCH:-amd64}-static.tar.xz /tmp/ffmpeg.tar.xz
ADD https://github.com/miguelangel-nubla/videoP2Proxy/archive/refs/heads/master.zip /tmp/tutk.zip
RUN mkdir -p /build/app /build/tokens \
RUN mkdir -p /build/app /build/tokens /build/img \
&& RTSP_TAG=$(curl -s https://api.github.com/repos/aler9/rtsp-simple-server/releases/latest | jq -r .tag_name) \
&& curl -L https://github.com/aler9/rtsp-simple-server/releases/download/${RTSP_TAG}/rtsp-simple-server_${RTSP_TAG}_linux_${RTSP_ARCH:-amd64}.tar.gz \
| tar xzf - -C /build/app \
Expand Down
2 changes: 1 addition & 1 deletion app/Dockerfile.arm
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN apt-get update \
RUN pip3 install --disable-pip-version-check --prefix=/build/usr/local requests supervisor https://github.com/mrlt8/wyzecam/archive/refs/heads/main.zip
ADD https://johnvansickle.com/ffmpeg/builds/ffmpeg-git-${FFMPEG_ARCH:-amd64}-static.tar.xz /tmp/ffmpeg.tar.xz
ADD https://github.com/miguelangel-nubla/videoP2Proxy/archive/refs/heads/master.zip /tmp/tutk.zip
RUN mkdir -p /build/app /build/tokens \
RUN mkdir -p /build/app /build/tokens /build/img \
&& RTSP_TAG=$(curl -s https://api.github.com/repos/aler9/rtsp-simple-server/releases/latest | jq -r .tag_name) \
&& curl -L https://github.com/aler9/rtsp-simple-server/releases/download/${RTSP_TAG}/rtsp-simple-server_${RTSP_TAG}_linux_${RTSP_ARCH:-amd64}.tar.gz \
| tar xzf - -C /build/app \
Expand Down
11 changes: 7 additions & 4 deletions app/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"description": "RTMP/RTSP/HLS bridge for Wyze cams in a docker container",
"slug": "docker-wyze-bridge",
"url": "http://github.com/mrlt8/docker-wyze-bridge",
"version": "0.5.17",
"image": "mrlt8/wyze-bridge",
"version": "0.5.18",
"arch": [
"armv7",
"aarch64",
Expand All @@ -31,12 +31,15 @@
],
"options": {
"WYZE_EMAIL": null,
"WYZE_PASSWORD": null
"WYZE_PASSWORD": null,
"API_THUMB": "true",
"LAN_ONLY": "true"
},
"schema": {
"WYZE_EMAIL": "email",
"WYZE_PASSWORD": "password",
"LAN_ONLY": "bool?",
"LAN_ONLY": "bool",
"API_THUMB": "bool",
"FRESH_DATA": "bool?",
"IGNORE_OFFLINE": "bool?",
"FILTER_NAMES": "str?",
Expand All @@ -45,9 +48,9 @@
"FILTER_MODE": "list(Include|Exclude)?",
"FFMPEG_FLAGS": "str?",
"FFMPEG_CMD": "str?",
"URI_SEPARATOR": "list(-|_|#)?",
"QUALITY": "str?",
"DEBUG_FFMPEG": "bool?",
"URI_SEPARATOR": "list(-|_|#)?",
"DEBUG_LEVEL": "list(debug|info|warning|error)?",
"RTSP_LOGLEVEL": "list(debug|info|warn)?",
"RTSP_RTSPDISABLE": "list(yes|no)?",
Expand Down
2 changes: 1 addition & 1 deletion app/multi-arch.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ RUN apt-get update \
RUN pip3 install --disable-pip-version-check --prefix=/build/usr/local requests supervisor https://github.com/mrlt8/wyzecam/archive/refs/heads/main.zip
ADD https://johnvansickle.com/ffmpeg/builds/ffmpeg-git-${FFMPEG_ARCH:-amd64}-static.tar.xz /tmp/ffmpeg.tar.xz
ADD https://github.com/miguelangel-nubla/videoP2Proxy/archive/refs/heads/master.zip /tmp/tutk.zip
RUN mkdir -p /build/app /build/tokens \
RUN mkdir -p /build/app /build/tokens /build/img \
&& RTSP_TAG=$(curl -s https://api.github.com/repos/aler9/rtsp-simple-server/releases/latest | jq -r .tag_name) \
&& curl -L https://github.com/aler9/rtsp-simple-server/releases/download/${RTSP_TAG}/rtsp-simple-server_${RTSP_TAG}_linux_${RTSP_ARCH:-amd64}.tar.gz \
| tar xzf - -C /build/app \
Expand Down
Loading

0 comments on commit 35f82d0

Please sign in to comment.