Open madjetey opened 1 year ago
Can you try going to the WebUI and selecting "restart" -> "clear cache and reconnect"?
Did that multiple times before & after the update to 2.5.0
The bridge seems to be detecting the camera:
[+] Adding HouseCam1 [WYZE_CAKP2JFUS]
Do you get any error messages when trying to open the stream? Can you also try rebooting the camera from the webUI: controls
-> restart
.
No error messages when opening the stream. No stream either.
Reboot command from the webUI worked but after boot completes nothing changes
[WyzeBridge] π Home Assistant Mode
π DOCKER-WYZE-BRIDGE v2.5.0
[WyzeBridge] π Using 'auth' from local cache...
[WyzeBridge] π Using 'user' from local cache...
[WyzeBridge] π Using 'cameras' from local cache...
[WyzeBridge] [+] Adding HouseCam1 [WYZE_CAKP2JFUS]
* Serving Flask app 'frontend'
* Debug mode: off
[WyzeBridge] WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on all addresses (0.0.0.0)
* Running on http://127.0.0.1:5000
* Running on http://172.30.33.7:5000
[WyzeBridge] Press CTRL+C to quit
[WyzeBridge] HouseCam1 may not support multiple streams!!
[WyzeBridge] starting MediaMTX 1.1.1
[WyzeBridge] π¬ 2 streams enabled
[WyzeBridge] 172.30.32.2 - - [05/Nov/2023 15:25:58] "GET / HTTP/1.1" 200 -
[WyzeBridge] 172.30.32.2 - - [05/Nov/2023 15:25:58] "GET /static/site.css HTTP/1.1" 304 -
[WyzeBridge] 172.30.32.2 - - [05/Nov/2023 15:25:58] "GET /static/webrtc.js HTTP/1.1" 304 -
[WyzeBridge] 172.30.32.2 - - [05/Nov/2023 15:25:58] "GET /static/site.js HTTP/1.1" 304 -
[WyzeBridge] 172.30.32.2 - - [05/Nov/2023 15:25:58] "GET /img/housecam1.jpg HTTP/1.1" 304 -
[WyzeBridge] 172.30.32.2 - - [05/Nov/2023 15:25:58] "GET /img/housecam1-sub.jpg HTTP/1.1" 304 -
[WyzeBridge] 172.30.32.2 - - [05/Nov/2023 15:25:58] "GET /api/sse_status HTTP/1.1" 200 -
[WyzeBridge] 172.30.32.2 - - [05/Nov/2023 15:25:58] "GET /img/housecam1-sub.jpg HTTP/1.1" 304 -
[WyzeBridge] 172.30.32.2 - - [05/Nov/2023 15:25:58] "GET /img/housecam1.jpg HTTP/1.1" 304 -
[WyzeBridge] 172.30.32.2 - - [05/Nov/2023 15:26:00] "GET /signaling/housecam1-sub?webrtc= HTTP/1.1" 200 -
[WyzeBridge] 172.30.32.2 - - [05/Nov/2023 15:29:09] "GET / HTTP/1.1" 200 -
[WyzeBridge] 172.30.32.2 - - [05/Nov/2023 15:29:09] "GET /static/site.css HTTP/1.1" 304 -
[WyzeBridge] 172.30.32.2 - - [05/Nov/2023 15:29:09] "GET /static/site.js HTTP/1.1" 304 -
[WyzeBridge] 172.30.32.2 - - [05/Nov/2023 15:29:09] "GET /static/webrtc.js HTTP/1.1" 304 -
[WyzeBridge] 172.30.32.2 - - [05/Nov/2023 15:29:09] "GET /img/housecam1-sub.jpg HTTP/1.1" 304 -
[WyzeBridge] 172.30.32.2 - - [05/Nov/2023 15:29:09] "GET /img/housecam1.jpg HTTP/1.1" 304 -
[WyzeBridge] 172.30.32.2 - - [05/Nov/2023 15:29:09] "GET /api/sse_status HTTP/1.1" 200 -
[WyzeBridge] 172.30.32.2 - - [05/Nov/2023 15:29:09] "GET /img/housecam1.jpg HTTP/1.1" 304 -
[WyzeBridge] 172.30.32.2 - - [05/Nov/2023 15:29:09] "GET /img/housecam1-sub.jpg HTTP/1.1" 304 -
[WyzeBridge] 172.30.32.2 - - [05/Nov/2023 15:29:13] "GET /signaling/housecam1-sub?webrtc= HTTP/1.1" 200 -
[WyzeBridge] 172.30.32.2 - - [05/Nov/2023 15:31:22] "GET / HTTP/1.1" 200 -
[WyzeBridge] 172.30.32.2 - - [05/Nov/2023 15:31:22] "GET /static/site.css HTTP/1.1" 304 -
[WyzeBridge] 172.30.32.2 - - [05/Nov/2023 15:31:22] "GET /static/webrtc.js HTTP/1.1" 304 -
[WyzeBridge] 172.30.32.2 - - [05/Nov/2023 15:31:22] "GET /static/site.js HTTP/1.1" 304 -
[WyzeBridge] 172.30.32.2 - - [05/Nov/2023 15:31:22] "GET /img/housecam1.jpg HTTP/1.1" 304 -
[WyzeBridge] 172.30.32.2 - - [05/Nov/2023 15:31:22] "GET /img/housecam1-sub.jpg HTTP/1.1" 304 -
[WyzeBridge] 172.30.32.2 - - [05/Nov/2023 15:31:22] "GET /api/sse_status HTTP/1.1" 200 -
[WyzeBridge] 172.30.32.2 - - [05/Nov/2023 15:31:22] "GET /img/housecam1.jpg HTTP/1.1" 304 -
[WyzeBridge] 172.30.32.2 - - [05/Nov/2023 15:31:22] "GET /img/housecam1-sub.jpg HTTP/1.1" 304 -
[WyzeBridge] Stopping 2 streams
[WyzeBridge] Stopping MediaMTX...
ice ERROR: 2023/11/05 15:31:28 Failed to read UDP packet: read udp [::]:8189: use of closed network connection
[WyzeBridge] βοΈ Fetching 'auth' from the Wyze API...
[WyzeBridge] β»οΈ Clearing local cache...
[WyzeBridge] starting MediaMTX 1.1.1
[WyzeBridge] 172.30.32.2 - - [05/Nov/2023 15:31:28] "GET /restart/rtsp_server HTTP/1.1" 200 -
[WyzeBridge] Stream monitoring stopped
[WyzeBridge] Stopping 2 streams
[WyzeBridge] π¬ 2 streams enabled
[WyzeBridge] πΎ Saving 'auth' to local cache...
[WyzeBridge] π Could not find local cache for 'user'
[WyzeBridge] βοΈ Fetching 'user' from the Wyze API...
[WyzeBridge] πΎ Saving 'user' to local cache...
[WyzeBridge] π Could not find local cache for 'cameras'
[WyzeBridge] βοΈ Fetching 'cameras' from the Wyze API...
[WyzeBridge] [API] Fetched [1] cameras
[WyzeBridge] πΎ Saving 'cameras' to local cache...
[WyzeBridge] [+] Adding HouseCam1 [WYZE_CAKP2JFUS]
[WyzeBridge] HouseCam1 may not support multiple streams!!
[WyzeBridge] π¬ 2 streams enabled
[WyzeBridge] 172.30.32.2 - - [05/Nov/2023 15:31:34] "GET /signaling/housecam1-sub?webrtc= HTTP/1.1" 200 -
Looks like you're trying to open the webrtc stream? Can you see if you get any error with the RTSP stream in something like VLC?
Tried various combinations of: With & without login info in address With port 8554 specified With no port specified Full address including & excluding /unicast
live555 error: Failed to connect with rtsp://192.168.1.119:8554
main error: connection failed: Connection refused by peer
satip error: Failed to connect to RTSP server 192.168.1.119:8554
main error: connection failed: Connection refused by peer
access_realrtsp error: cannot connect to 192.168.1.119:8554
live555 error: Failed to connect with rtsp://192.168.1.119:554
main error: connection failed: Connection refused by peer
satip error: Failed to connect to RTSP server 192.168.1.119:554
main error: connection failed: Connection refused by peer
access_realrtsp error: cannot connect to 192.168.1.119:554
live555 error: Failed to connect with rtsp://192.168.1.119:554
main error: connection failed: Connection refused by peer
satip error: Failed to connect to RTSP server 192.168.1.119:554
main error: connection failed: Connection refused by peer
access_realrtsp error: cannot connect to 192.168.1.119:554
live555 error: Failed to connect with rtsp://192.168.1.119:8554
main error: connection failed: Connection refused by peer
satip error: Failed to connect to RTSP server 192.168.1.119:8554
access_realrtsp error: cannot connect to 192.168.1.119:8554
live555 error: Failed to connect with rtsp://192.168.1.119:8554/unicast
main error: connection failed: Connection refused by peer
satip error: Failed to connect to RTSP server 192.168.1.119:8554
main error: connection failed: Connection refused by peer
access_realrtsp error: cannot connect to 192.168.1.119:8554
live555 error: Failed to connect with rtsp://192.168.1.119:8554/unicast
main error: connection failed: Connection refused by peer
satip error: Failed to connect to RTSP server 192.168.1.119:8554
main error: connection failed: Connection refused by peer
access_realrtsp error: cannot connect to 192.168.1.119:8554
That doesn't seem right. Try clicking the RTSP link from the webUI or use this format in VLC:
rtsp://<home assistant ip>:8554/housecam1
Same situation like you after 2.5 update.
[WyzeBridge] π Home Assistant Mode
π DOCKER-WYZE-BRIDGE v2.5.0
Same problem on my side. Can no longer access the cams (v2). I have them connected to Frigate using RTSP stream but they all fail to read. Ffplay test says:
rtsp://192.168.28.53:8554/vhod: Server returned 404 Not Found
Edit: I have downgraded docker image to mrlt8/wyze-bridge:2.3.17 and they are now both working. So something is wrong with version 2.5.0. Let me know how can I help debug this.
Same issue here, cameras lost all connection after auto upgrade to 2.5.0 this morning.
Reverting to 2.3.17 restored all functionality.
That doesn't seem right. Try clicking the RTSP link from the webUI or use this format in VLC:
rtsp://<home assistant ip>:8554/housecam1
No change
live555 error: Failed to connect with rtsp://192.168.1.108:8554/housecam1
satip error: Failed to setup RTSP session
satip error: read error: No error
satip error: Failed to teardown RTSP session
Try Sync the time on the cameras. It worked for my 2xV3, 1xV3 and my Doorbell v1
Try Sync the time on the cameras. It worked for my 2xV3, 1xV3 and my Doorbell v1
Tried. Restarted the add on & camera as well to be sure. Issue persists
I'm not seeing this issue with v2.5.0, but will try to look into this.
Is everyone having issues using the Home Assistant add-on?
Can someone post the logs from the bridge when trying to access the streams to see if there are any errors with the connection to the camera?
having similar issues on the standalone docker version. all latest tags and dev.
hmm, I reverted MTX from v1.1.1 back down to v1.1.0 in the dev branch to match what we were using in v2.4.0 of the bridge.
better on dev image HLS works but loading is taking forever and webrtc is still giving issues
seems the cams lose connection now and clearing cache+reconnect doesn't bring them back.
Any errors in the logs? Does rolling back to a previous build of the bridge improve things?
Same issue. I'll try to fork the repo and apply changes and see if that helps.
[WyzeBridge]` 172.17.0.1 - - [12/Nov/2023 03:40:04] "GET /snapshot/cam-v3.jpg?1699760387126 HTTP/1.1" 307 -
[WyzeBridge] 172.17.0.1 - - [12/Nov/2023 03:40:04] "GET /static/notavailable.svg HTTP/1.1" 200 -
[WyzeBridge] π Connecting to WyzeCam V3 - Cam v3 on 192.168.68.51
[WyzeBridge] π New client reading from media-room
[WyzeBridge] π New client reading from family-room
[WyzeBridge] 172.17.0.1 - - [12/Nov/2023 03:40:19] "GET /snapshot/family-room.jpg?1699760417297 HTTP/1.1" 200 -
[WyzeBridge] π New client reading from family-room
[WyzeBridge] 172.17.0.1 - - [12/Nov/2023 03:40:19] "GET /snapshot/media-room.jpg?1699760417297 HTTP/1.1" 200 -
[WyzeBridge] π New client reading from media-room
[WyzeBridge] π Client stopped reading from media-room
[WyzeBridge] π Client stopped reading from family-room
[WyzeBridge] βοΈ Pulling "cam-v3" thumbnail to /img/cam-v3.jpg
[cam-v3] π‘ Getting 180kb/s HD stream (H264/20fps) via LAN mode (WiFi: 98%) FW: 4.36.0.150 (2/3)
[cam-v3] WARNING: Skipping smaller frame at start of stream (frame_size=1)
[WyzeBridge] ERROR pulling thumbnailοΌ404 Client Error: Not Found for url: https://camera-usw2.s3.us-west-2.amazonaws.com/7C78B2231DCC/2023-11-12/7C78B2231DCC011699760075_1699760075000_1_1_0/ed4c13376a344c7aa48d0f8df144e14f.jpg?X-Amz-Expires=1200&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIARI6ZGMJQQTF3O3GP/20231112/us-west-2/s3/aws4_request&X-Amz-Date=20231112T033934Z&X-Amz-SignedHeaders=host&X-Amz-Signature=f6838f7d49701302cfa91339a50e4b79cf374bab2e93ea004b41ab2270e6c400
[WyzeBridge] 172.17.0.1 - - [12/Nov/2023 03:40:19] "GET /snapshot/cam-v3.jpg?1699760417296 HTTP/1.1" 307 -
[WyzeBridge] 172.17.0.1 - - [12/Nov/2023 03:40:19] "GET /static/notavailable.svg HTTP/1.1" 200 -
[cam-v3] FFMPEG stopped
I'm assuming TUTK patched their protocol, because Wyze put out a statement saying that they had to force an update because of "security vulnerabilities".
@UnexDev it looks like the bridge is able to connect to your cam, but something goes wrong while getting the video. Was it connecting in the previous release (v2.4.0) of the bridge? Can you set FFMPEG_LOGLEVEL=info
to see if that shows any additional errors?
Wyze did make some changes to their v4.x.11.x firmware that messed up the bitrate info, but it seems like you're still on a really early version 4.36.0.150
.
Same issue. @mrlt8, so far the fix for me is going into the UI, and on each camera, select "enable" for the stream to start. The stream's won't enable automatically for some reason...
# docker logs addon_7094bb28_docker_wyze_bridge -f
[WyzeBridge] π Home Assistant Mode
19:15:04 [WARNING][WyzeBridge] WARNING: invalid escape sequence '\:'
π DOCKER-WYZE-BRIDGE v2.5.0
19:15:04 [INFO][WyzeBridge] β»οΈ Clearing local cache...
19:15:04 [INFO][WyzeBridge] π Could not find local cache for 'auth'
19:15:04 [INFO][WyzeBridge] βοΈ Fetching 'auth' from the Wyze API...
19:15:04 [DEBUG][WyzeBridge] Starting new HTTPS connection (1): auth-prod.api.wyze.com:443
* Serving Flask app 'frontend'
* Debug mode: off
19:15:04 [INFO][WyzeBridge] WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on all addresses (0.0.0.0)
* Running on http://127.0.0.1:5000
* Running on http://172.30.33.6:5000
19:15:04 [INFO][WyzeBridge] Press CTRL+C to quit
19:15:04 [DEBUG][WyzeBridge] https://auth-prod.api.wyze.com:443 "POST /api/user/login HTTP/1.1" 200 None
19:15:04 [INFO][WyzeBridge] πΎ Saving 'auth' to local cache...
19:15:04 [INFO][WyzeBridge] π Could not find local cache for 'user'
19:15:04 [INFO][WyzeBridge] βοΈ Fetching 'user' from the Wyze API...
19:15:04 [DEBUG][WyzeBridge] Starting new HTTPS connection (1): api.wyzecam.com:443
19:15:04 [DEBUG][WyzeBridge] https://api.wyzecam.com:443 "POST /app/user/get_user_info HTTP/1.1" 200 240
19:15:04 [INFO][WyzeBridge] πΎ Saving 'user' to local cache...
19:15:04 [INFO][WyzeBridge] π Could not find local cache for 'cameras'
19:15:04 [INFO][WyzeBridge] βοΈ Fetching 'cameras' from the Wyze API...
19:15:05 [DEBUG][WyzeBridge] Starting new HTTPS connection (1): api.wyzecam.com:443
19:15:05 [DEBUG][WyzeBridge] https://api.wyzecam.com:443 "POST /app/v2/home_page/get_object_list HTTP/1.1" 200 36081
19:15:05 [INFO][WyzeBridge] [API] Fetched [21] cameras
19:15:05 [INFO][WyzeBridge] πΎ Saving 'cameras' to local cache...
19:15:05 [INFO][WyzeBridge] πͺ FILTER ALLOWING: 5 of 21 cams
19:15:05 [INFO][WyzeBridge] [+] Adding Exterior [HL_PAN3]
19:15:05 [INFO][WyzeBridge] [+] Adding three [HL_PAN3]
19:15:05 [ERROR][WyzeBridge] three may not support multiple streams!!
19:15:05 [INFO][WyzeBridge] [+] Adding two luz [WYZE_CAKP2JFUS]
19:15:05 [INFO][WyzeBridge] [+] Adding two [WYZE_CAKP2JFUS]
19:15:05 [INFO][WyzeBridge] [+] Adding one [WYZE_CAKP2JFUS]
19:15:05 [INFO][WyzeBridge] starting MediaMTX 1.1.1
19:15:05 [INFO][WyzeBridge] π¬ 7 streams enabled
Working now π
Updated to 2.5.1. No change for me
[WyzeBridge] π Home Assistant Mode
π DOCKER-WYZE-BRIDGE v2.5.1
* Serving Flask app 'frontend'
* Debug mode: off
[WyzeBridge] π Using 'auth' from local cache...
[WyzeBridge] WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on all addresses (0.0.0.0)
* Running on http://127.0.0.1:5000
* Running on http://172.30.33.7:5000
[WyzeBridge] Press CTRL+C to quit
[WyzeBridge] π Using 'user' from local cache...
[WyzeBridge] π Using 'cameras' from local cache...
[WyzeBridge] [+] Adding HouseCam1 [WYZE_CAKP2JFUS]
[WyzeBridge] HouseCam1 may not support multiple streams!!
[WyzeBridge] starting MediaMTX 1.1.1
[WyzeBridge] π¬ 2 streams enabled
[WyzeBridge] π Connecting to WyzeCam V3 - HouseCam1 on 192.168.1.119
[WyzeBridge] π Connecting to WyzeCam V3 - HouseCam1 on 192.168.1.119
[WyzeBridge] 172.30.32.2 - - [13/Nov/2023 17:40:59] "GET /api/sse_status HTTP/1.1" 200 -
[WyzeBridge] β° Timed out connecting to HouseCam1.
[WyzeBridge] β° Timed out connecting to HouseCam1.
[WyzeBridge] π Connecting to WyzeCam V3 - HouseCam1 on 192.168.1.119
[WyzeBridge] π Connecting to WyzeCam V3 - HouseCam1 on 192.168.1.119
[WyzeBridge] 172.30.32.2 - - [13/Nov/2023 17:41:27] "GET / HTTP/1.1" 200 -
[WyzeBridge] 172.30.32.2 - - [13/Nov/2023 17:41:27] "GET /img/housecam1-sub.jpg HTTP/1.1" 304 -
[WyzeBridge] 172.30.32.2 - - [13/Nov/2023 17:41:27] "GET /static/site.css HTTP/1.1" 304 -
[WyzeBridge] 172.30.32.2 - - [13/Nov/2023 17:41:27] "GET /img/housecam1.jpg HTTP/1.1" 304 -
[WyzeBridge] 172.30.32.2 - - [13/Nov/2023 17:41:27] "GET /static/site.js HTTP/1.1" 304 -
[WyzeBridge] 172.30.32.2 - - [13/Nov/2023 17:41:27] "GET /img/housecam1-sub.jpg HTTP/1.1" 304 -
[WyzeBridge] 172.30.32.2 - - [13/Nov/2023 17:41:27] "GET /img/housecam1.jpg HTTP/1.1" 304 -
[WyzeBridge] 172.30.32.2 - - [13/Nov/2023 17:41:27] "GET /api/sse_status HTTP/1.1" 200 -
[WyzeBridge] 172.30.32.2 - - [13/Nov/2023 17:41:27] "GET /img/housecam1-sub.jpg HTTP/1.1" 304 -
[WyzeBridge] 172.30.32.2 - - [13/Nov/2023 17:41:27] "GET /img/housecam1.jpg HTTP/1.1" 304 -
[WyzeBridge] [CONTROL] SET housecam1-sub state=enable
[WyzeBridge] 172.30.32.2 - - [13/Nov/2023 17:41:29] "GET /api/housecam1-sub/state/enable HTTP/1.1" 200 -
[WyzeBridge] [CONTROL] SET housecam1-sub state=start
[WyzeBridge] 172.30.32.2 - - [13/Nov/2023 17:41:30] "GET /api/housecam1-sub/state/start HTTP/1.1" 200 -
[WyzeBridge] [CONTROL] SET housecam1 state=enable
[WyzeBridge] 172.30.32.2 - - [13/Nov/2023 17:41:34] "GET /api/housecam1/state/enable HTTP/1.1" 200 -
[WyzeBridge] [CONTROL] SET housecam1 state=start
[WyzeBridge] 172.30.32.2 - - [13/Nov/2023 17:41:34] "GET /api/housecam1/state/start HTTP/1.1" 200 -
[housecam1-sub] [-13] IOTC_ER_TIMEOUT
[housecam1] [-13] IOTC_ER_TIMEOUT
[WyzeBridge] βοΈ Fetching 'cameras' from the Wyze API...
[WyzeBridge] [API] Fetched [1] cameras
[WyzeBridge] πΎ Saving 'cameras' to local cache...
[WyzeBridge] π Connecting to WyzeCam V3 - HouseCam1 on 192.168.1.119
[WyzeBridge] π Connecting to WyzeCam V3 - HouseCam1 on 192.168.1.119
[WyzeBridge] 172.30.32.2 - - [13/Nov/2023 17:41:41] "GET /snapshot/housecam1-sub.jpg?1699897301286= HTTP/1.1" 307 -
[WyzeBridge] 172.30.32.2 - - [13/Nov/2023 17:41:41] "GET /snapshot/housecam1-sub.jpg?1699897301286= HTTP/1.1" 307 -
[WyzeBridge] π Connecting to WyzeCam V3 - HouseCam1 on 192.168.1.119
[WyzeBridge] 172.30.32.2 - - [13/Nov/2023 17:41:43] "GET /snapshot/housecam1.jpg?1699897303798= HTTP/1.1" 307 -
[WyzeBridge] 172.30.32.2 - - [13/Nov/2023 17:41:43] "GET /snapshot/housecam1.jpg?1699897303798= HTTP/1.1" 307 -
[WyzeBridge] 172.30.32.2 - - [13/Nov/2023 17:41:56] "GET / HTTP/1.1" 200 -
[WyzeBridge] 172.30.32.2 - - [13/Nov/2023 17:41:56] "GET /static/site.css HTTP/1.1" 304 -
[WyzeBridge] 172.30.32.2 - - [13/Nov/2023 17:41:56] "GET /img/housecam1.jpg HTTP/1.1" 304 -
[WyzeBridge] 172.30.32.2 - - [13/Nov/2023 17:41:56] "GET /static/webrtc.js HTTP/1.1" 304 -
[WyzeBridge] 172.30.32.2 - - [13/Nov/2023 17:41:56] "GET /static/site.js HTTP/1.1" 304 -
[WyzeBridge] 172.30.32.2 - - [13/Nov/2023 17:41:56] "GET /img/housecam1-sub.jpg HTTP/1.1" 304 -
[WyzeBridge] 172.30.32.2 - - [13/Nov/2023 17:41:56] "GET /img/housecam1-sub.jpg HTTP/1.1" 304 -
[WyzeBridge] 172.30.32.2 - - [13/Nov/2023 17:41:56] "GET /img/housecam1.jpg HTTP/1.1" 304 -
[WyzeBridge] 172.30.32.2 - - [13/Nov/2023 17:41:56] "GET /api/sse_status HTTP/1.1" 200 -
[WyzeBridge] 172.30.32.2 - - [13/Nov/2023 17:41:56] "GET /img/housecam1-sub.jpg HTTP/1.1" 304 -
[WyzeBridge] 172.30.32.2 - - [13/Nov/2023 17:41:56] "GET /img/housecam1.jpg HTTP/1.1" 304 -
[WyzeBridge] 172.30.32.2 - - [13/Nov/2023 17:41:57] "GET /signaling/housecam1-sub?webrtc= HTTP/1.1" 200 -
[WyzeBridge] 172.30.32.2 - - [13/Nov/2023 17:41:59] "GET /signaling/housecam1?webrtc= HTTP/1.1" 200 -
[housecam1-sub] [-13] IOTC_ER_TIMEOUT
[housecam1-sub] [-13] IOTC_ER_TIMEOUT
[WyzeBridge] β° Timed out connecting to HouseCam1.
[WyzeBridge] π Connecting to WyzeCam V3 - HouseCam1 on 192.168.1.119
[WyzeBridge] π Connecting to WyzeCam V3 - HouseCam1 on 192.168.1.119
[WyzeBridge] 172.30.32.2 - - [13/Nov/2023 17:42:07] "GET / HTTP/1.1" 200 -
[WyzeBridge] 172.30.32.2 - - [13/Nov/2023 17:42:07] "GET /static/site.css HTTP/1.1" 304 -
[WyzeBridge] 172.30.32.2 - - [13/Nov/2023 17:42:08] "GET /img/housecam1.jpg HTTP/1.1" 304 -
[WyzeBridge] 172.30.32.2 - - [13/Nov/2023 17:42:08] "GET /img/housecam1-sub.jpg HTTP/1.1" 304 -
[WyzeBridge] 172.30.32.2 - - [13/Nov/2023 17:42:08] "GET /static/site.js HTTP/1.1" 304 -
[WyzeBridge] 172.30.32.2 - - [13/Nov/2023 17:42:08] "GET /img/housecam1.jpg HTTP/1.1" 304 -
[WyzeBridge] 172.30.32.2 - - [13/Nov/2023 17:42:08] "GET /img/housecam1-sub.jpg HTTP/1.1" 304 -
[WyzeBridge] 172.30.32.2 - - [13/Nov/2023 17:42:08] "GET /api/sse_status HTTP/1.1" 200 -
[WyzeBridge] 172.30.32.2 - - [13/Nov/2023 17:42:08] "GET /img/housecam1-sub.jpg HTTP/1.1" 304 -
[WyzeBridge] 172.30.32.2 - - [13/Nov/2023 17:42:08] "GET /img/housecam1.jpg HTTP/1.1" 304 -
Adding in camera info
<html><body>
<!--StartFragment-->
audio | true
-- | --
camera_info | null
connected | false
dtls | 1
enabled | true
firmware_ver | 4.36.9.139
hls_url | http://192.168.1.108:8888/housecam1-sub/...
img_time | 1691198601892
img_url | img/housecam1-sub.jpg
ip | 192.168.1.119
is_2k | false
is_battery | false
mac | XXXXXXXXXXXX
model_name | V3
motion | false
motion_ts | 0
name_uri | housecam1-sub
nickname | HouseCam1
on_demand | false
p2p_type | 3
parent_dtls | 0
parent_mac | Β
product_model | WYZE_CAKP2JFUS
record | false
req_bitrate | 50
req_frame_size | 1
rtmp_url | rtmp://192.168.1.108:1935/housecam1-sub
rtsp_fw | false
rtsp_fw_enabled | false
rtsp_url | rtsp://192.168.1.108:8554/housecam1-sub
snapshot_url | snapshot/housecam1-sub.jpg
start_time | 1699897429.8222227
status | 2
stream_auth | false
substream | true
thumbnail | null
thumbnail_url | thumb/housecam1-sub.jpg
timezone_name | Africa/Accra
webrtc | true
webrtc_url | http://192.168.1.108:8889/housecam1-sub
<!--EndFragment-->
</body>
</html>audio true
camera_info null
connected false
dtls 1
enabled true
firmware_ver 4.36.9.139
hls_url [http://192.168.1.108:8888/housecam1-sub/...](http://192.168.1.108:8888/housecam1-sub/)
img_time 1691198601892
img_url [img/housecam1-sub.jpg](http://192.168.1.108:8123/api/hassio_ingress/img/housecam1-sub.jpg)
ip 192.168.1.119
is_2k false
is_battery false
mac XXXXXXXXXXXX
model_name V3
motion false
motion_ts 0
name_uri housecam1-sub
nickname HouseCam1
on_demand false
p2p_type 3
parent_dtls 0
parent_mac
product_model WYZE_CAKP2JFUS
record false
req_bitrate 50
req_frame_size 1
rtmp_url rtmp://192.168.1.108:1935/housecam1-sub
rtsp_fw false
rtsp_fw_enabled false
rtsp_url rtsp://192.168.1.108:8554/housecam1-sub
snapshot_url [snapshot/housecam1-sub.jpg](http://192.168.1.108:8123/api/hassio_ingress/snapshot/housecam1-sub.jpg)
start_time 1699897429.8222227
status 2
stream_auth false
substream true
thumbnail null
thumbnail_url [thumb/housecam1-sub.jpg](http://192.168.1.108:8123/api/hassio_ingress/thumb/housecam1-sub.jpg)
timezone_name Africa/Accra
webrtc true
webrtc_url http://192.168.1.108:8889/housecam1-sub
@madjetey Any chance you can run the bridge in docker or on another machine to rule out any local connection issues with HA?
Well will you look at that. Connected the camera to next door WiFi then installed & ran Docker Wyze Bridge on the bare metal HA setup there.
There was a power cut immediately I finished the setup & the jumper cables for the generator were missing BUT
After defeating that nonsense, and running the add on IT WORKED.
[WyzeBridge] π Home Assistant Mode
π DOCKER-WYZE-BRIDGE v2.5.1
[WyzeBridge] π Could not find local cache for 'auth'
[WyzeBridge] βοΈ Fetching 'auth' from the Wyze API...
* Serving Flask app 'frontend'
* Debug mode: off
[WyzeBridge] WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on all addresses (0.0.0.0)
* Running on http://127.0.0.1:5000
* Running on http://172.30.33.7:5000
[WyzeBridge] Press CTRL+C to quit
[WyzeBridge] πΎ Saving 'auth' to local cache...
[WyzeBridge] π Could not find local cache for 'user'
[WyzeBridge] βοΈ Fetching 'user' from the Wyze API...
[WyzeBridge] πΎ Saving 'user' to local cache...
[WyzeBridge] π Could not find local cache for 'cameras'
[WyzeBridge] βοΈ Fetching 'cameras' from the Wyze API...
[WyzeBridge] [API] Fetched [1] cameras
[WyzeBridge] πΎ Saving 'cameras' to local cache...
[WyzeBridge] [+] Adding Wyze Cam V3 [WYZE_CAKP2JFUS]
[WyzeBridge] starting MediaMTX 1.1.1
[WyzeBridge] π¬ 1 stream enabled
[WyzeBridge] π Connecting to WyzeCam V3 - Wyze Cam V3 on 192.168.132.150
[wyze-cam-v3] π‘ Getting 180kb/s HD stream (H264/20fps) via LAN mode (WiFi: 63%) FW: 4.36.9.139 π (DTLS) (2/3)
[WyzeBridge] β
'/wyze-cam-v3 stream is UP! (3/3)
[WyzeBridge] 172.30.32.2 - - [14/Nov/2023 22:15:03] "GET / HTTP/1.1" 200 -
[WyzeBridge] 172.30.32.2 - - [14/Nov/2023 22:15:03] "GET /static/site.js HTTP/1.1" 200 -
[WyzeBridge] 172.30.32.2 - - [14/Nov/2023 22:15:03] "GET /static/site.css HTTP/1.1" 200 -
[WyzeBridge] 172.30.32.2 - - [14/Nov/2023 22:15:03] "GET /static/loading.svg HTTP/1.1" 200 -
[WyzeBridge] 172.30.32.2 - - [14/Nov/2023 22:15:03] "GET /api/sse_status HTTP/1.1" 200 -
[WyzeBridge] π New client reading from wyze-cam-v3
[WyzeBridge] π Client stopped reading from wyze-cam-v3
[WyzeBridge] 172.30.32.2 - - [14/Nov/2023 22:15:06] "GET /img/wyze-cam-v3.jpg HTTP/1.1" 200 -
[WyzeBridge] 172.30.32.2 - - [14/Nov/2023 22:15:06] "GET /img/wyze-cam-v3.jpg HTTP/1.1" 200 -
[WyzeBridge] 172.30.32.2 - - [14/Nov/2023 22:15:15] "GET /api/wyze-cam-v3 HTTP/1.1" 200 -
[WyzeBridge] 172.30.32.2 - - [14/Nov/2023 22:15:37] "GET /img/wyze-cam-v3.jpg HTTP/1.1" 304 -
[WyzeBridge] 172.30.32.2 - - [14/Nov/2023 22:15:37] "GET /img/wyze-cam-v3.jpg HTTP/1.1" 304 -
[wyze-cam-v3] [CONTROL] ERROR - error=TutkError(-20018), cmd=('param_info', '1,2,3,4,5,6,7,21,22,27,50')
[wyze-cam-v3] Stream did not receive a frame for over 15s
[WyzeBridge] β '/wyze-cam-v3' stream is down
[WyzeBridge] π Connecting to WyzeCam V3 - Wyze Cam V3 on 192.168.132.150
[wyze-cam-v3] π‘ Getting 180kb/s HD stream (H264/20fps) via LAN mode (WiFi: 60%) FW: 4.36.9.139 π (DTLS) (2/3)
[wyze-cam-v3] WARNING: Skipping smaller frame at start of stream (frame_size=1)
[WyzeBridge] β
'/wyze-cam-v3 stream is UP! (3/3)
[WyzeBridge] 172.30.32.2 - - [14/Nov/2023 22:19:51] "GET /img/wyze-cam-v3.jpg HTTP/1.1" 304 -
[WyzeBridge] 172.30.32.2 - - [14/Nov/2023 22:19:51] "GET /img/wyze-cam-v3.jpg HTTP/1.1" 304 -
Camera info from add on
audio false
apartalarmParm { "heightY": "55", "longX": "50", "startX": "25", "startY": "22", "type": "0" }
audioParm { "sampleRate": "16000" }
basicInfo { "firmware": "4.36.9.139", "hardware": "0.0.0.0", "mac": "XXXXXXXXXXXX", "model": "WYZE_CAKP2JFUS", "type": "camera", "wifidb": "63" }
channelResquestResult { "audio": "0", "video": "1" }
recordType { "type": "2" }
sdParm { "capacity": "29801", "detail": "0", "free": "29084", "status": "1" }
settingParm { "logSd": "1", "logUdisk": "1", "nightVision": "3", "osd": "1", "stateVision": "1", "telnet": "2", "tz": "0" }
uDiskParm { "capacity": "0", "free": "0", "status": "2" }
videoParm { "bitRate": "60", "fps": "20", "horizontalFlip": "2", "logo": "2", "resolution": "2", "time": "1", "type": "H264", "verticalFlip": "2" }
connected true
dtls 1
enabled true
firmware_ver 4.36.9.139
UPDATE: Never mind. It's back. Relocated the camera back to its original position and DWB isn't seeing it. It's not a WiFi range problem because it was working fine there way back when everything was ok & it's just as fine on the wyze app right now.
ORIGINAL: You guys would not believe this. So after the failure earlier (successfully running docker wyze bridge on another HA setup on another network then trying again on my own system), I tried one last gasp and copied the addon yaml configuration from the alternative HA setup to mine. Removed DWB, restarted HA, reinstalled DWB & removed and re-added the camera. Still had no luck. Gave up, posted my update then went to bed.
Woke up to a power cut that lasted 13hrs. Now that things stabilized I rebooted my HA & wifi to discover that it's all working fine. I don't get it.
[WyzeBridge] π Home Assistant Mode
π DOCKER-WYZE-BRIDGE v2.5.1
[WyzeBridge] π Using 'auth' from local cache...
[WyzeBridge] π Using 'user' from local cache...
[WyzeBridge] π Using 'cameras' from local cache...
[WyzeBridge] [+] Adding HouseCam1 [WYZE_CAKP2JFUS]
* Serving Flask app 'frontend'
* Debug mode: off
[WyzeBridge] WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on all addresses (0.0.0.0)
* Running on http://127.0.0.1:5000
* Running on http://172.30.33.7:5000
[WyzeBridge] Press CTRL+C to quit
[WyzeBridge] HouseCam1 may not support multiple streams!!
[WyzeBridge] starting MediaMTX 1.1.1
[WyzeBridge] π¬ 2 streams enabled
[WyzeBridge] π Connecting to WyzeCam V3 - HouseCam1 on 192.168.1.119
[WyzeBridge] π Connecting to WyzeCam V3 - HouseCam1 on 192.168.1.119
[housecam1-sub] [-13] IOTC_ER_TIMEOUT
[housecam1] [-13] IOTC_ER_TIMEOUT
[WyzeBridge] βοΈ Fetching 'cameras' from the Wyze API...
[WyzeBridge] [API] HTTPSConnectionPool(host='api.wyzecam.com', port=443): Max retries exceeded with url: /app/v2/home_page/get_object_list (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7fea31f55a10>: Failed to resolve 'api.wyzecam.com' ([Errno -2] Name or service not known)"))
[WyzeBridge] βοΈ Fetching 'cameras' from the Wyze API...
[WyzeBridge] [API] Fetched [1] cameras
[WyzeBridge] πΎ Saving 'cameras' to local cache...
[WyzeBridge] π Connecting to WyzeCam V3 - HouseCam1 on 192.168.1.119
[WyzeBridge] π Connecting to WyzeCam V3 - HouseCam1 on 192.168.1.119
[housecam1-sub] π‘ Getting 50kb/s SD stream (H264/20fps) via LAN mode (WiFi: 69%) FW: 4.36.9.139 π (DTLS) (2/3)
[housecam1-sub] π Audio Enabled - ALAW > AAC/16,000Hz
[housecam1] π‘ Getting 60kb/s HD stream (H264/20fps) via LAN mode (WiFi: 69%) FW: 4.36.9.139 π (DTLS) (2/3)
[housecam1] π Audio Enabled - ALAW > AAC/16,000Hz
[WyzeBridge] β
'/housecam1-sub stream is UP! (3/3)
[WyzeBridge] β
'/housecam1 stream is UP! (3/3)
[WyzeBridge] π New client reading from housecam1-sub
[WyzeBridge] π New client reading from housecam1
Can you try going to the WebUI and selecting "restart" -> "clear cache and reconnect"?
Just got some new v3 cameras and after the obligatory update your firmware several times, simply doing the aforementioned steps made them appear immediately.
And to @mrlt8 awesome project, keep up the great work!
Home Assistant 2023.10.5 Supervisor 2023.10.1 Operating System 11.1 Frontend 20231005.0 - latest
Initially was working fine. Stopped using the camera for 91 days waiting for a replacement USB cable. Updated multiple times to 2.3.17 over the period. Cable comes in & camera works fine with Wyze app but getting no results in Wyze Bridge. Updated to 2.5.0 but same result.
Here's my log: