Open wayne47git opened 1 year ago
Will have to look into this. Anything in the logs when it stops working?
Mine stop working too. I had to have an auto-restart every X hours to make sure it stays up. When I try to load them right now, they look like this:
Is there a type of error I should look for in the log? Once I restart the container it works again for a few hours.
Is that just the WebRTC that is having issues or do the other streams go down too?
Is that just the WebRTC that is having issues or do the other streams go down too?
When this happened, I couldn't even load the webpage for the container. It was running, but it wouldn't load the IP address when I put it in. I had to fully restart it.
Can you post the logs from the container?
Is there a volume I can map to get the logs?
All streams stop from WebUI. Time stamps are close:
Here's the log from yesterday till this morning when it grabs the (old) jpgs:
[front-porch-cam] 📡 Getting 30kb/s SD stream (H264/20fps) via LAN mode (WiFi: 100%) FW: 4.36.10.3406 🔒 (DTLS) (2/3) [WyzeBridge] ✅ '/front-porch-cam stream is UP! (3/3) [WyzeBridge] 📖 New client reading from front-porch-cam [shed-cam] 📡 Getting 30kb/s SD stream (H264/15fps) via LAN mode (WiFi: 99%) FW: 4.9.9.1851 🔒 (DTLS) (2/3) [WyzeBridge] ✅ '/shed-cam stream is UP! (3/3) [WyzeBridge] 📖 New client reading from shed-cam [27-lake-view] 📡 Getting 30kb/s SD stream (H264/15fps) via LAN mode (WiFi: 84%) FW: 4.10.9.1574 🔒 (DTLS) (2/3) [WyzeBridge] ✅ '/27-lake-view stream is UP! (3/3) [WyzeBridge] 📖 New client reading from 27-lake-view [WyzeBridge] 📕 Client stopped reading from shed-cam [WyzeBridge] 📕 Client stopped reading from front-porch-cam [WyzeBridge] 📕 Client stopped reading from 27-lake-view [WyzeBridge] ❌ '/shed-cam' stream is down [shed-cam] FFMPEG stopped [WyzeBridge] ❌ '/27-lake-view' stream is down [27-lake-view] FFMPEG stopped [WyzeBridge] ❌ '/front-porch-cam' stream is down [front-porch-cam] Stream stopped [WyzeBridge] 🎉 Connecting to WyzeCam V3 - Front Porch Cam on 192.168.50.105 [WyzeBridge] 🎉 Connecting to WyzeCam V2 - Shed Cam on 192.168.50.106 [WyzeBridge] 🎉 Connecting to WyzeCam Pan - 27 Lake view on 192.168.0.22 [shed-cam] 📡 Getting 30kb/s SD stream (H264/15fps) via LAN mode (WiFi: 100%) FW: 4.9.9.1851 🔒 (DTLS) (2/3) [27-lake-view] 📡 Getting 30kb/s SD stream (H264/15fps) via LAN mode (WiFi: 100%) FW: 4.10.9.1574 🔒 (DTLS) (2/3) [WyzeBridge] ✅ '/shed-cam stream is UP! (3/3) [WyzeBridge] 📖 New client reading from shed-cam [WyzeBridge] ✅ '/27-lake-view stream is UP! (3/3) [WyzeBridge] 📖 New client reading from 27-lake-view [WyzeBridge] 📕 Client stopped reading from shed-cam [WyzeBridge] 📕 Client stopped reading from 27-lake-view [WyzeBridge] ⏰ Timed out connecting to Front Porch Cam. [WyzeBridge] ❌ '/shed-cam' stream is down [shed-cam] FFMPEG stopped [WyzeBridge] ❌ '/27-lake-view' stream is down [27-lake-view] FFMPEG stopped [WyzeBridge] 🎉 Connecting to WyzeCam V3 - Front Porch Cam on 192.168.50.105 [WyzeBridge] 🎉 Connecting to WyzeCam V2 - Shed Cam on 192.168.50.106 [WyzeBridge] 🎉 Connecting to WyzeCam Pan - 27 Lake view on 192.168.0.22 [front-porch-cam] 📡 Getting 30kb/s SD stream (H264/20fps) via LAN mode (WiFi: 94%) FW: 4.36.10.3406 🔒 (DTLS) (2/3) [shed-cam] 📡 Getting 30kb/s SD stream (H264/15fps) via LAN mode (WiFi: 100%) FW: 4.9.9.1851 🔒 (DTLS) (2/3) [WyzeBridge] ✅ '/front-porch-cam stream is UP! (3/3) [WyzeBridge] 📖 New client reading from front-porch-cam [WyzeBridge] ✅ '/shed-cam stream is UP! (3/3) [WyzeBridge] 📖 New client reading from shed-cam [27-lake-view] 📡 Getting 30kb/s SD stream (H264/15fps) via LAN mode (WiFi: 100%) FW: 4.10.9.1574 🔒 (DTLS) (2/3) [WyzeBridge] ✅ '/27-lake-view stream is UP! (3/3) [WyzeBridge] 📖 New client reading from 27-lake-view [WyzeBridge] 📕 Client stopped reading from shed-cam [WyzeBridge] 📕 Client stopped reading from front-porch-cam [WyzeBridge] 📕 Client stopped reading from 27-lake-view [WyzeBridge] ❌ '/shed-cam' stream is down [shed-cam] Stream stopped [WyzeBridge] ❌ '/front-porch-cam' stream is down [27-lake-view] FFMPEG stopped [front-porch-cam] Stream stopped [WyzeBridge] ❌ '/27-lake-view' stream is down [WyzeBridge] 🎉 Connecting to WyzeCam V3 - Front Porch Cam on 192.168.50.105 [WyzeBridge] 🎉 Connecting to WyzeCam V2 - Shed Cam on 192.168.50.106 [WyzeBridge] 🎉 Connecting to WyzeCam Pan - 27 Lake view on 192.168.0.22 [front-porch-cam] 📡 Getting 30kb/s SD stream (H264/20fps) via LAN mode (WiFi: 99%) FW: 4.36.10.3406 🔒 (DTLS) (2/3) [shed-cam] 📡 Getting 30kb/s SD stream (H264/15fps) via LAN mode (WiFi: 100%) FW: 4.9.9.1851 🔒 (DTLS) (2/3) [27-lake-view] 📡 Getting 30kb/s SD stream (H264/15fps) via LAN mode (WiFi: 99%) FW: 4.10.9.1574 🔒 (DTLS) (2/3) [WyzeBridge] ✅ '/27-lake-view stream is UP! (3/3) [WyzeBridge] ✅ '/shed-cam stream is UP! (3/3) [WyzeBridge] 📖 New client reading from shed-cam [WyzeBridge] 📖 New client reading from 27-lake-view [WyzeBridge] 📕 Client stopped reading from 27-lake-view [WyzeBridge] ✅ '/front-porch-cam stream is UP! (3/3) [WyzeBridge] 📖 New client reading from front-porch-cam [WyzeBridge] 📕 Client stopped reading from shed-cam [WyzeBridge] 📕 Client stopped reading from front-porch-cam [WyzeBridge] ❌ '/27-lake-view' stream is down [27-lake-view] Stream stopped [shed-cam] FFMPEG stopped [WyzeBridge] ❌ '/shed-cam' stream is down [WyzeBridge] ❌ '/front-porch-cam' stream is down [front-porch-cam] Stream stopped [WyzeBridge] 🎉 Connecting to WyzeCam V3 - Front Porch Cam on 192.168.50.105 [WyzeBridge] 🎉 Connecting to WyzeCam V2 - Shed Cam on 192.168.50.106 [WyzeBridge] 🎉 Connecting to WyzeCam Pan - 27 Lake view on 192.168.0.22 [WyzeBridge] 🎉 Connecting to WyzeCam Pan - 27 Lake view on 192.168.0.22 [shed-cam] 📡 Getting 30kb/s SD stream (H264/15fps) via LAN mode (WiFi: 86%) FW: 4.9.9.1851 🔒 (DTLS) (2/3) [27-lake-view] 📡 Getting 30kb/s SD stream (H264/15fps) via LAN mode (WiFi: 88%) FW: 4.10.9.1574 🔒 (DTLS) (2/3) [WyzeBridge] ✅ '/shed-cam stream is UP! (3/3) [WyzeBridge] 📖 New client reading from shed-cam [WyzeBridge] ✅ '/27-lake-view stream is UP! (3/3) [WyzeBridge] 📖 New client reading from 27-lake-view [WyzeBridge] 📕 Client stopped reading from shed-cam [WyzeBridge] 📕 Client stopped reading from 27-lake-view [WyzeBridge] ⏰ Timed out connecting to Front Porch Cam. [WyzeBridge] ❌ '/shed-cam' stream is down [shed-cam] FFMPEG stopped [WyzeBridge] ❌ '/27-lake-view' stream is down [27-lake-view] FFMPEG stopped [WyzeBridge] ☁️ Fetching 'cameras' from the Wyze API... [WyzeBridge] 💾 Saving 'cameras' to local cache... [WyzeBridge] 172.30.32.2 - - [27/Apr/2023 09:17:25] "GET / HTTP/1.1" 200 - [WyzeBridge] 172.30.32.2 - - [27/Apr/2023 09:17:25] "GET /static/site.css HTTP/1.1" 200 - [WyzeBridge] 172.30.32.2 - - [27/Apr/2023 09:17:25] "GET /img/front-porch-cam.jpg HTTP/1.1" 200 - [WyzeBridge] 172.30.32.2 - - [27/Apr/2023 09:17:25] "GET /img/shed-cam.jpg HTTP/1.1" 200 - [WyzeBridge] 172.30.32.2 - - [27/Apr/2023 09:17:25] "GET /img/27-lake-view.jpg HTTP/1.1" 200 -
Where is the path locally to the log files so that I may mount them and read them easier?
Not sure if this helps.
I don't know if I'm experiencing exactly the same thing, but for me, the bridge eventually stops working after a while - it can be one hour, or it can be one week.
The connection to the cameras also seems to be flaky but everything is solved after issuing a plain docker restart wyze-bridge
. I don't know what could be possibly causing the issue, but this is something that happens after some time.
The healthcheck logic probably needs some reworking as I've seen multiple issues where people experience the same thing.
@mrlt8 Just wondering, I have some spare time and I know quite a bit of Rust. Would you be willing to do a RIIR of wyze-bridge? I'm more than happy to help.
I noticed MediaMTX had a segmentation fault causing my local bridge to get stuck the other day. I wonder if this could be what is causing the bridge to get stuck?
@rakbladsvalsen a RIIR could be interesting. I need to rewrite some of the KVS/WebRTC stuff, but aiortc for python had some issues, so I have been looking into some other languages.
I don't have time to help with the programming but I am willing to install an instrumented/debug version of the plugin and post the logged results if that would be helpful. Right now I'm just trying random thins to see if I can figure out anything that might be helpful.
I noticed MediaMTX had a segmentation fault causing my local bridge to get stuck the other day. I wonder if this could be what is causing the bridge to get stuck?
@rakbladsvalsen a RIIR could be interesting. I need to rewrite some of the KVS/WebRTC stuff, but aiortc for python had some issues, so I have been looking into some other languages.
Cool! I can help you port the entire thing over to rust then. Unfortunately, I don't see any matrix/discord links in the readme to coordinate the effort. Do you have any public email/telegram/discord?
I did some digging into wyze-bridge and I don't know if a RIIR would solve the most common issues everyone seems to be facing. Most, if not all wyze cameras use the (proprietary) TUTK protocol and it looks like someone leaked (?) the TUTK SDK, which contains dynamic libraries and headers: https://github.com/nblavoie/wyzecam-api/tree/master/wyzecam-sdk
wyze-bridge apparently also uses these libraries, but for obvious reasons these won't be up-to-date unless TUTK actively releases/"leaks" them. The last release from the above link is from 2014:
1.13.0.0 |TUTK RD team |2014-10-15 |o Fix session ID increase leak in some situationo.<br> Improve device can handle concurrent connection from client.<br> o Improve P2P connection stability.
.
That's almost 10 years old and I'm 10000% sure there have been multiple improvements over the last few years.
However, only @mrlt8 knows how stable (or sound) is the current implementation of wyze-bridge. If we assume the library is not to blame, then a rust rewrite could potentially fix and improve basically everything. Python multithreading can be janky at times, and Rust is pretty good in this regard.
Otherwise, we all can regret buying cameras that use crappy, half-baked proprietary solution, because the chances of TUTK opensourcing their SDK are basically null.
This does not appear to have been picked up by Hassio. Current rev is 2.18 with no update available?
Thank you - I see 2.2.0 today. Just upgraded (manually).
Will see how it runs for a day or so. FYI, I still see this message: [WyzeBridge] WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
Failed again today. But, I checked the log, saw the failure and reconnected to get a current log. That time it worked. So, it looks like the failure condition remains but the app figures it out and restarts.
Today it's dead and not coming back.
can you post your logs from around the time it stops?
This is VERY strange. I saw your request, logged in to HASSIO, Front Cam and Lake Cam were both not responding. Shed Cam was up. So I tried the other two again, hoping something useful was in the logs - they both came up. Something is intermittent. Here is the log over the last couple days: [WyzeBridge] 📕 Client stopped reading from front-porch-cam [WyzeBridge] ❌ '/27-lake-view' stream is down [27-lake-view] FFMPEG stopped [shed-cam] FFMPEG stopped [front-porch-cam] FFMPEG stopped [WyzeBridge] ❌ '/shed-cam' stream is down [WyzeBridge] ❌ '/front-porch-cam' stream is down [WyzeBridge] 🎉 Connecting to WyzeCam V3 - Front Porch Cam on 192.168.50.105 [WyzeBridge] 🎉 Connecting to WyzeCam V2 - Shed Cam on 192.168.50.106 [WyzeBridge] 🎉 Connecting to WyzeCam Pan - 27 Lake view on 192.168.0.22 [shed-cam] 📡 Getting 30kb/s SD stream (H264/15fps) via LAN mode (WiFi: 83%) FW: 4.9.9.1851 🔒 (DTLS) (2/3) [27-lake-view] 📡 Getting 30kb/s SD stream (H264/15fps) via LAN mode (WiFi: 98%) FW: 4.10.9.1574 🔒 (DTLS) (2/3) [WyzeBridge] ✅ '/shed-cam stream is UP! (3/3) [WyzeBridge] 📖 New client reading from shed-cam [WyzeBridge] ✅ '/27-lake-view stream is UP! (3/3) [WyzeBridge] 📖 New client reading from 27-lake-view [WyzeBridge] 📕 Client stopped reading from shed-cam [WyzeBridge] 📕 Client stopped reading from 27-lake-view [WyzeBridge] ⏰ Timed out connecting to Front Porch Cam. [WyzeBridge] ❌ '/shed-cam' stream is down [shed-cam] Stream stopped [27-lake-view] FFMPEG stopped [WyzeBridge] ❌ '/27-lake-view' stream is down [WyzeBridge] 🎉 Connecting to WyzeCam V3 - Front Porch Cam on 192.168.50.105 [WyzeBridge] 🎉 Connecting to WyzeCam V2 - Shed Cam on 192.168.50.106 [WyzeBridge] 🎉 Connecting to WyzeCam Pan - 27 Lake view on 192.168.0.22 [shed-cam] 📡 Getting 30kb/s SD stream (H264/15fps) via LAN mode (WiFi: 100%) FW: 4.9.9.1851 🔒 (DTLS) (2/3) [27-lake-view] 📡 Getting 30kb/s SD stream (H264/15fps) via LAN mode (WiFi: 94%) FW: 4.10.9.1574 🔒 (DTLS) (2/3) [WyzeBridge] ✅ '/shed-cam stream is UP! (3/3) [WyzeBridge] 📖 New client reading from shed-cam [WyzeBridge] ✅ '/27-lake-view stream is UP! (3/3) [WyzeBridge] 📖 New client reading from 27-lake-view [WyzeBridge] 📕 Client stopped reading from shed-cam [WyzeBridge] 📕 Client stopped reading from 27-lake-view [WyzeBridge] ⏰ Timed out connecting to Front Porch Cam. [WyzeBridge] ❌ '/shed-cam' stream is down [shed-cam] Stream stopped [27-lake-view] FFMPEG stopped [WyzeBridge] ❌ '/27-lake-view' stream is down [WyzeBridge] 🎉 Connecting to WyzeCam V3 - Front Porch Cam on 192.168.50.105 [WyzeBridge] 🎉 Connecting to WyzeCam V2 - Shed Cam on 192.168.50.106 [WyzeBridge] 🎉 Connecting to WyzeCam Pan - 27 Lake view on 192.168.0.22 [front-porch-cam] 📡 Getting 30kb/s SD stream (H264/20fps) via LAN mode (WiFi: 86%) FW: 4.36.10.4054 🔒 (DTLS) (2/3) [shed-cam] 📡 Getting 30kb/s SD stream (H264/15fps) via LAN mode (WiFi: 100%) FW: 4.9.9.1851 🔒 (DTLS) (2/3) [WyzeBridge] ✅ '/shed-cam stream is UP! (3/3) [WyzeBridge] 📖 New client reading from shed-cam [27-lake-view] 📡 Getting 30kb/s SD stream (H264/15fps) via LAN mode (WiFi: 89%) FW: 4.10.9.1574 🔒 (DTLS) (2/3) [WyzeBridge] ✅ '/front-porch-cam stream is UP! (3/3) [WyzeBridge] 📖 New client reading from front-porch-cam [WyzeBridge] ✅ '/27-lake-view stream is UP! (3/3) [WyzeBridge] 📖 New client reading from 27-lake-view [WyzeBridge] 📕 Client stopped reading from shed-cam [WyzeBridge] 📕 Client stopped reading from 27-lake-view [WyzeBridge] 📕 Client stopped reading from front-porch-cam [WyzeBridge] ❌ '/shed-cam' stream is down [shed-cam] Stream stopped [27-lake-view] FFMPEG stopped [front-porch-cam] FFMPEG stopped [WyzeBridge] ❌ '/27-lake-view' stream is down [WyzeBridge] ❌ '/front-porch-cam' stream is down [WyzeBridge] 🎉 Connecting to WyzeCam V3 - Front Porch Cam on 192.168.50.105 [WyzeBridge] 🎉 Connecting to WyzeCam V2 - Shed Cam on 192.168.50.106 [WyzeBridge] 🎉 Connecting to WyzeCam Pan - 27 Lake view on 192.168.0.22 [27-lake-view] 📡 Getting 30kb/s SD stream (H264/15fps) via LAN mode (WiFi: 96%) FW: 4.10.9.1574 🔒 (DTLS) (2/3) [WyzeBridge] ✅ '/27-lake-view stream is UP! (3/3) [WyzeBridge] 📖 New client reading from 27-lake-view [WyzeBridge] 📕 Client stopped reading from 27-lake-view [WyzeBridge] ⏰ Timed out connecting to Front Porch Cam. [WyzeBridge] ⏰ Timed out connecting to Shed Cam. [WyzeBridge] ❌ '/27-lake-view' stream is down [27-lake-view] FFMPEG stopped [WyzeBridge] 🎉 Connecting to WyzeCam V3 - Front Porch Cam on 192.168.50.105 [WyzeBridge] ⏰ Timed out connecting to Front Porch Cam. [WyzeBridge] 🎉 Connecting to WyzeCam Pan - 27 Lake view on 192.168.0.22 [WyzeBridge] 🎉 Connecting to WyzeCam V2 - Shed Cam on 192.168.50.106 [shed-cam] 📡 Getting 30kb/s SD stream (H264/15fps) via LAN mode (WiFi: 83%) FW: 4.9.9.1851 🔒 (DTLS) (2/3) [WyzeBridge] ✅ '/shed-cam stream is UP! (3/3) [WyzeBridge] 📖 New client reading from shed-cam [WyzeBridge] ⏰ Timed out connecting to 27 Lake view. [WyzeBridge] 📕 Client stopped reading from shed-cam [WyzeBridge] 🎉 Connecting to WyzeCam V3 - Front Porch Cam on 192.168.50.105 [front-porch-cam] 📡 Getting 30kb/s SD stream (H264/20fps) via LAN mode (WiFi: 97%) FW: 4.36.10.4054 🔒 (DTLS) (2/3) [WyzeBridge] ✅ '/front-porch-cam stream is UP! (3/3) [WyzeBridge] 📖 New client reading from front-porch-cam [WyzeBridge] 📕 Client stopped reading from front-porch-cam [WyzeBridge] 🎉 Connecting to WyzeCam Pan - 27 Lake view on 192.168.0.22 [WyzeBridge] 📖 New client reading from front-porch-cam [WyzeBridge] 📖 New client reading from shed-cam [WyzeBridge] 📕 Client stopped reading from shed-cam [27-lake-view] 📡 Getting 30kb/s SD stream (H264/15fps) via LAN mode (WiFi: 100%) FW: 4.10.9.1574 🔒 (DTLS) (2/3) [WyzeBridge] 📕 Client stopped reading from front-porch-cam [WyzeBridge] ✅ '/27-lake-view stream is UP! (3/3) [WyzeBridge] 📖 New client reading from 27-lake-view [WyzeBridge] 📖 New client reading from front-porch-cam [WyzeBridge] 📕 Client stopped reading from 27-lake-view [WyzeBridge] 📖 New client reading from 27-lake-view [WyzeBridge] 📖 New client reading from shed-cam [WyzeBridge] 📕 Client stopped reading from 27-lake-view [WyzeBridge] 📕 Client stopped reading from front-porch-cam [WyzeBridge] 📕 Client stopped reading from shed-cam
And, down again: WyzeBridge] 📕 Client stopped reading from shed-cam [WyzeBridge] ❌ '/27-lake-view' stream is down [27-lake-view] Stream stopped [WyzeBridge] ❌ '/front-porch-cam' stream is down [front-porch-cam] Stream stopped [shed-cam] FFMPEG stopped [WyzeBridge] ❌ '/shed-cam' stream is down [WyzeBridge] 🎉 Connecting to WyzeCam V3 - Front Porch Cam on 192.168.50.105 [WyzeBridge] 🎉 Connecting to WyzeCam V2 - Shed Cam on 192.168.50.106 [WyzeBridge] 🎉 Connecting to WyzeCam Pan - 27 Lake view on 192.168.0.22 [27-lake-view] 📡 Getting 30kb/s SD stream (H264/15fps) via LAN mode (WiFi: 100%) FW: 4.10.9.1574 🔒 (DTLS) (2/3) [WyzeBridge] ✅ '/27-lake-view stream is UP! (3/3) [WyzeBridge] 📖 New client reading from 27-lake-view [WyzeBridge] 📕 Client stopped reading from 27-lake-view [WyzeBridge] ⏰ Timed out connecting to Front Porch Cam. [WyzeBridge] ⏰ Timed out connecting to Shed Cam.
Did a bunch testing. Most of it useless but here's a data point. I can try to connect to a camera multiple times with repeated failures. Then, if I ping the camera (no packet loss on pings), the next time I try to connect to the camera it works.
Are you running the bridge with the on_demand flag set to off/false?
Does it keep re-trying even after it times out?
On-demand is on (blue, slid to right).
LAN / RTSP / MWTT_HOST is False.
I'm using VLC to view which runs for a bit, then gives up with an error.
Should I turn on Log info or debug? or Debug FFMPEG?
Try turning on-demand off and see if that helps improve stability?
OK, that seems to have helped a lot. I ran for 2 days with no interruptions.
I just restarted it a few minutes ago, it looks like VLC still has a problem (a white box pops up for < 1 second) but then it seems to run.
Thank you!
Also been experiencing issues, cameras just stop working and then I have no recorded footage - Simply opening Wyze Bridge Website, magically reconnects all cameras until they become unavailable again the next day...
I have not set ON_DEMAND to False, lets see if that makes a difference
Nope, still crashing very often - I've disabled Sub-streams... I also have Audio enabled, not sure if that is to blame...
So frustrating! This was rock solid for so long, lately I can't go 24 hours without an issue...
I don't know what you mean by 'crashing'.. are you getting exceptions or is the bridge restarting? Please also include your configuration.
I don't know what you mean by 'crashing'.. are you getting exceptions or is the bridge restarting? Please also include your configuration.
I just meant I lose Video feed... I utilize Frigate to process these Video Feeds, but lately the feed is so unstable that this has become extremely unreliable.
[WyzeBridge] ✅ '/east-road-cam stream is UP! (3/3) [east-road-cam] WARNING: Waiting for keyframe [WyzeBridge] 📖 New client reading from east-road-cam [east-road-cam] WARNING: Audio pipe closed [east-road-cam] Stream did not receive a frame for over 15s [WyzeBridge] ❌ '/east-road-cam' stream is down [WyzeBridge] 🎉 Connecting to WyzeCam V3 - East Road Cam on 10.0.0.13 [WyzeBridge] 📕 Client stopped reading from east-road-cam [east-road-cam] 📡 Getting 120kb/s HD stream (H264/20fps) via LAN mode (WiFi: 55%) FW: 4.36.10.4054 🔒 (DTLS) (2/3) [east-road-cam] 🔊 Audio Enabled - ALAW > AAC/16,000Hz [east-road-cam] WARNING: Skipping smaller frame at start of stream (frame_size=1) [WyzeBridge] ✅ '/east-road-cam stream is UP! (3/3) [WyzeBridge] 📖 New client reading from east-road-cam [east-road-cam] WARNING: Waiting for keyframe [WyzeBridge] 📕 Client stopped reading from east-road-cam [WyzeBridge] 📖 New client reading from east-road-cam [east-road-cam] WARNING: Audio pipe closed [WyzeBridge] ❌ '/east-road-cam' stream is down [east-road-cam] Stream did not receive a frame for over 15s [WyzeBridge] 🎉 Connecting to WyzeCam V3 - East Road Cam on 10.0.0.13 [WyzeBridge] 📕 Client stopped reading from east-road-cam [WyzeBridge] 🎉 Connecting to WyzeCam V3 - East Road Cam on 10.0.0.13 [east-road-cam] 📡 Getting 120kb/s HD stream (H264/20fps) via LAN mode (WiFi: 98%) FW: 4.36.10.4054 🔒 (DTLS) (2/3) [east-road-cam] 🔊 Audio Enabled - ALAW > AAC/16,000Hz [east-road-cam] WARNING: Skipping smaller frame at start of stream (frame_size=1) [WyzeBridge] ✅ '/east-road-cam stream is UP! (3/3) [WyzeBridge] 📖 New client reading from east-road-cam [east-road-cam] WARNING: Waiting for keyframe [east-road-cam] WARNING: Audio pipe closed [WyzeBridge] ❌ '/east-road-cam' stream is down [east-road-cam] Stream did not receive a frame for over 15s 2023/07/26 11:27:13 WAR [RTSP] [session 30baad3c] no H264 key frames received in 10s, stream can't be decoded 2023/07/26 12:04:25 WAR [RTSP] [session 30baad3c] no H264 key frames received in 10s, stream can't be decoded 2023/07/26 12:45:07 WAR [RTSP] [session 30baad3c] no H264 key frames received in 10s, stream can't be decoded 2023/07/26 12:53:47 WAR [RTSP] [session 30baad3c] no H264 key frames received in 10s, stream can't be decoded 2023/07/26 13:05:55 WAR [RTSP] [session 30baad3c] no H264 key frames received in 10s, stream can't be decoded 2023/07/26 13:28:45 WAR [RTSP] [session 30baad3c] no H264 key frames received in 10s, stream can't be decoded [west-road-cam] WARNING: Audio pipe closed [west-road-cam] Stream did not receive a frame for over 15s
Camera has been connected to Wifi for over 2 Days:
Can you try power cycling or rebooting the cameras to see if that helps?
Can you try power cycling or rebooting the cameras to see if that helps?
I've tried everything.
Restarting Camera, Restarting AP's, Switches, locking to AP, Setting Static IP's - But daily I look at my cameras and they are dead.
No picture coming from them.
The moment I open the Docker Wyze Web Page, then they all magically start working.
Can you try setting:
- ON_DEMAND=False
I've tried having that False, True, removed from my config - Same result
I was unable to check my cams for about a week. Tried to use them today, no access. Restarting solved it, as usual.
@wayne47git anything unusual in the logs?
Nothing significant. This is new: [front-porch-cam] Wrong bitrate=120 does not match 30 [front-porch-cam] Setting bitrate=30 [27-lake-view] Wrong bitrate=120 does not match 30 [27-lake-view] Setting bitrate=30
I see there's a new version, will update.
@wayne47git you're probably opening the stream in the wyze app which will tell the camera to switch the bitrate to 120 for "HD" and you have your bridge set to to use HD30, so it's sending the command to change it back.
Not sure if this helps at all. I have the Snapshot view up. one camera seems fine One of my 4 cameras toggles between 5:59 this morning and now. Two are frozen at different times several days ago
Also, the images were 4 across and tiny despite being set to 2.
Restarting the app seems to have corrected everything
The rtsp snapshot will occasionally time out and will fallback to the thumbnail/alarm image that the camera sends to the wyze API.
The snapshot from that stream is probably taking a little long and falling back to the image from the wyze server every now and then.
Today I got
Every morning at 03:00, my cameras go offline:
They will NOT return on their own until I open Wyze Bridge UI or restart the container.
Opening the UI (Not clicking on anything), within 30 seconds all cameras are restored. Every Sub and Mainstream will get a notification popup stating that it is connected.
The easieat way to fix ALL cameras is to open the UI:
@louispires How are you running the bridge? Can you post your config/command?
@louispires How are you running the bridge? Can you post your config/command?
I am running the bridge through Unraid:
I have played around with these settings as well, for instance Fresh Data has been on False.
Net Mode used to be LAN
Always the same results...
While Unraid should be compatible, I personally don't have access to one so can't fully test or maintain support for it.
Could you try running the bridge in docker to see if you still get the same disconnect issues?
While Unraid should be compatible, I personally don't have access to one so can't fully test or maintain support for it.
Could you try running the bridge in docker to see if you still get the same disconnect issues?
This is still running it in Docker, there is NO difference from utilizing Unraid's Docker and any other Docker implementation.
I've been following this thread due to experiencing the same connectivity issues. I'm running Home Assistant as a docker instance, along with docker-wyze-bridge in another. I've updated both over the last few weeks, and i've now had the camera working for about 2 weeks without incident.
Prior to that, I would have to restart docker-wyze-bridge after about 24 hours in order for camera feeds to start updating again.
tl;dr this seems to have started working again on its own, so I would recommend updating this and home assistant to latest releases and see if it helps.
Pretty much every day, my cams go offline. Restarting the app using Hassio->Settings->Restart gets them back.
Can the watchdog please be trained to do this automatically?