Comments (11)
Raspberry Pi 4? Yeah, I had some issues with tutk for aarch64/arm64...
For now, it's only compatible with x64 systems.
from docker-wyze-bridge.
Arrrrggghhh.... ThisClose!
OK, but in case it helps, I can install all those packages individually:
root@Raspberry-Ubuntu:/home/ron/docker/docker-wyze-bridge# pip3 install av
Collecting av
Using cached av-8.0.3-cp39-cp39-linux_aarch64.whl
Installing collected packages: av
Successfully installed av-8.0.3
root@Raspberry-Ubuntu:/home/ron/docker/docker-wyze-bridge# pip3 install opencv-python
Collecting opencv-python
Downloading opencv_python-4.5.2.54-cp39-cp39-manylinux2014_aarch64.whl (34.9 MB)
|████████████████████████████████| 34.9 MB 31 kB/s
Collecting numpy>=1.19.3
Downloading numpy-1.21.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (13.0 MB)
|████████████████████████████████| 13.0 MB 10.7 MB/s
Installing collected packages: numpy, opencv-python
Successfully installed numpy-1.21.0 opencv-python-4.5.2.54
root@Raspberry-Ubuntu:/home/ron/docker/docker-wyze-bridge# pip3 install requests
Requirement already satisfied: requests in /usr/lib/python3/dist-packages (2.25.1)
from docker-wyze-bridge.
I pushed a new dockerfile which removes opencv-python and av. That should clear up those errors, but we still need to get the tutk library for arm64/aarch64.
from docker-wyze-bridge.
Yes, breezed through that error and only getting stuck on tutk. Thank you!
FYI, I am trying to get this running on Raspberry for two reasons:
-
It might provide an easier way to get noobs (like myself) to get a wyze-bridge rtsp streamer running inexpensively and relatively easily. I am actually documenting the steps in a video to assist folks to that end.
-
I have cameras in and outside my garage which are connected to a router in the garage which is connected to my home network via a wireless bridge. The wifi speed between home and garage is very slow. So I need a wyze-bridge box actually in the garage for the streaming from cameras to be usable.
Yes, I could just run an ethernet cable from the house to the garage, but I live in an apartment building and that creates a whole new set of problems.
from docker-wyze-bridge.
Hey @SomebodySysop
I created a new arm64 branch that uses an armhf/arm32 base image since there is a working arm 32 bit tutk library.
from docker-wyze-bridge.
Great news!
git question: I went to the branch and copied the uri, it's the same as the main branch. Will the install know which branch to install automatically?
Thanks so much for doing this!
from docker-wyze-bridge.
OK, think I found how to do it:
root@Raspberry-Ubuntu:/home/ron/docker# git clone --branch arm64 https://github.com/mrlt8/docker-wyze-bridge.git
Cloning into 'docker-wyze-bridge'...
remote: Enumerating objects: 81, done.
remote: Counting objects: 100% (81/81), done.
remote: Compressing objects: 100% (69/69), done.
remote: Total 81 (delta 27), reused 62 (delta 12), pack-reused 0
Receiving objects: 100% (81/81), 15.82 KiB | 1.58 MiB/s, done.
Resolving deltas: 100% (27/27), done.
from docker-wyze-bridge.
OK!
git clone --branch arm64 https://github.com/mrlt8/docker-wyze-bridge.git
docker-compose up
It builds the project branch and reports the following:
Creating rtsp-server ... done
Creating wyze-bridge ... done
Attaching to wyze-bridge, rtsp-server
rtsp-server | 2021/07/01 17:59:29 I [0/0] rtsp-simple-server v0.16.3
rtsp-server | 2021/07/01 17:59:29 I [0/0] [RTSP] TCP listener opened on :8554
rtsp-server | 2021/07/01 17:59:29 I [0/0] [RTMP] listener opened on :1935
rtsp-server | 2021/07/01 17:59:29 I [0/0] [HLS] listener opened on :8888
wyze-bridge | STARTING ALL 4 CAMERAS
wyze-bridge | 2021/07/01 17:59:30 [WyzeCam305] Starting Camera (WYZE_CAKP2JFUS) on 192.168.1.154...
wyze-bridge | 2021/07/01 17:59:30 [WyzeCam304] Starting Camera (WYZE_CAKP2JFUS) on 192.168.1.211...
wyze-bridge | 2021/07/01 17:59:30 [WyzeCam302] Starting Camera (WYZE_CAKP2JFUS) on 192.168.1.167...
wyze-bridge | 2021/07/01 17:59:30 [WyzeCam303] Starting Camera (WYZE_CAKP2JFUS) on 192.168.1.190...
wyze-bridge | 2021/07/01 17:59:32 [WyzeCam302] requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://auth-prod.api.wyze.com/user/login
wyze-bridge | 2021/07/01 17:59:32 [WyzeCam302] Killing FFmpeg...
wyze-bridge | 2021/07/01 17:59:33 [WyzeCam302] Starting Camera (WYZE_CAKP2JFUS) on 192.168.1.167...
rtsp-server | 2021/07/01 17:59:50 I [0/0] [RTMP] [conn 172.18.0.3:39178] opened
wyze-bridge | 2021/07/01 17:59:50 [WyzeCam302] Output #0, flv, to 'rtmp://rtsp-server:1935/wyzecam302':
rtsp-server | 2021/07/01 17:59:50 I [1/0] [RTMP] [conn 172.18.0.3:39178] is publishing to path 'wyzecam302', 1 track
rtsp-server | 2021/07/01 18:00:29 I [1/0] [RTMP] [conn 172.18.0.3:39180] opened
wyze-bridge | 2021/07/01 18:00:29 [WyzeCam304] Output #0, flv, to 'rtmp://rtsp-server:1935/wyzecam304':
rtsp-server | 2021/07/01 18:00:29 I [2/0] [RTMP] [conn 172.18.0.3:39180] is publishing to path 'wyzecam304', 1 track
rtsp-server | 2021/07/01 18:00:35 I [2/0] [RTMP] [conn 172.18.0.3:39182] opened
rtsp-server | 2021/07/01 18:00:35 I [3/0] [RTMP] [conn 172.18.0.3:39182] is publishing to path 'wyzecam303', 1 track
wyze-bridge | 2021/07/01 18:00:35 [WyzeCam303] Output #0, flv, to 'rtmp://rtsp-server:1935/wyzecam303':
All cameras except one were connected. The one that wasn't connected is offline.
Inserted one of the Raspberry rtsp uris into VLC->media->open network stream
Works!
This is super cool! Thank you for this effort! I think a lot of people are going to find this very useful.
from docker-wyze-bridge.
Hey @SomebodySysop, I pushed a new update to the main branch.
You'll need to specify the arm library by adding dockerfile: Dockerfile.arm
to the new docker-compose.yml:
wyzecam-bridge:
container_name: wyze-bridge
restart: always
build:
context: ./app
dockerfile: Dockerfile.arm
environment:
- WYZE_EMAIL=
- WYZE_PASSWORD=
Please let me know if you have any issues!
from docker-wyze-bridge.
Got it! Do I still specify the branch in git clone command?
git clone --branch arm64 https://github.com/mrlt8/docker-wyze-bridge.git
from docker-wyze-bridge.
I merged it into the main branch, so you can just do a regular git clone.
from docker-wyze-bridge.
Related Issues (20)
- quality env vriable not working
- New firmware for V2 cams - 4.9.9.3006 causes cameras to not function. HOT 4
- cannot connect - 400 Client Error: Bad Request for url: https://auth-prod.api.wyze.com/api/user/login HOT 1
- MQTT camera state online periodically - Enhancement
- Not updating HOT 5
- HTTP 500 when fetching cameras HOT 1
- Any New Forks active now the project is dead? HOT 4
- Please define a license for this project HOT 1
- Running on ihost device
- Wyze v4 Support? HOT 39
- Dead repository HOT 1
- Not Auto updating in Home Assistant still HOT 5
- Waypoint/Cruise point set at different position
- Internal Server Error HOT 1
- Wyzecam3 not working HOT 6
- Highest resolution photos on Wyze v3 Cam HOT 2
- Server down or format not supported HOT 10
- 400 client error HOT 50
- Wrong FPS for recordings [v2.8.x] HOT 31
- outdoor cam stream frame not received HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-wyze-bridge.