Skip to content

All a sudden my V3 cam is constantly disconnecting/connecting. #1505

@Roachforlife

Description

@Roachforlife

No changes to hardware, network, software, settings. I should note I have 8 total V3s, and only this one has a problem all of a sudden. I thought maybe wifi was bad but Ive checked that and wyzebridge is showing about 50% wifi connection (I assume this is ok?) Anyhow, any help is greatly appreciated!

Here is what I'm getting for logs in docker
wyze-bridge | 17:24:04 [front-house-cam] [Exception] Did not receive a frame for 20s
wyze-bridge | 17:24:05 [WyzeBridge] ❌ '/front-house-cam' stream is down
wyze-bridge | 17:24:05 [WyzeBridge] 🎉 Connecting to WyzeCam V3 - Front House Cam on 192.168.19.74
wyze-bridge | 17:24:07 [front-house-cam] 📡 Getting 180kb/s HD stream (H264/20fps) via LAN mode (WiFi: 48%) FW: 4.36.10.4054 🔒
wyze-bridge | 17:24:08 [front-house-cam] WARNING: Skipping wrong frame_size at start of stream [frame_size=1]
wyze-bridge | 17:24:10 [WyzeBridge] ✅ '/front-house-cam stream is UP! (3/3)

.
.
.

I turned on debugging and seeing this
wyze-bridge | 17:18:34 [DEBUG][front-house-cam] RECV <TutkWyzeProtocolHeader prefix=b'HL' protocol=36 code=10021 txt_len=82>: b'{"1":2,"2":3,"3":180,"4":1,"5":20,"6":2,"7":2,"13":1,"21":1,"22":-4,"27":2,"50":1}'
wyze-bridge | 17:18:34 [INFO][WyzeBridge] ✅ '/front-house-cam stream is UP! (3/3)
wyze-bridge | 17:18:34 [ERROR][front-house-cam] [CONTROL] ERROR - error='[-20010] AV_ER_INVALID_SID', cmd=('param_info', '1,2,3,4,5,6,7,13,21,22,27,50')
wyze-bridge | 17:18:35 [WARNING][front-house-cam] [Exception] Did not receive a frame for 20s
wyze-bridge | 17:18:35 [INFO][WyzeBridge] ❌ '/front-house-cam' stream is down
wyze-bridge | 17:18:35 [INFO][WyzeBridge] 🎉 Connecting to WyzeCam V3 - Front House Cam on 192.168.19.74
wyze-bridge | 17:18:35 [WARNING][WyzeBridge] WARNING: This process (pid=1) is multi-threaded, use of fork() may lead to deadlocks in the child.
wyze-bridge | 17:18:35 [DEBUG][front-house-cam] Connect via IOTC_Connect_ByUIDEx
wyze-bridge | 17:18:35 [INFO][front-house-cam] AV Client Start: chan_id=0 expected_chan=0
wyze-bridge | 17:18:35 [DEBUG][front-house-cam] Now listening on channel id 0
wyze-bridge | 17:18:35 [DEBUG][front-house-cam] SEND <TutkWyzeProtocolHeader prefix=b'HL' protocol=5 code=10000 txt_len=0> b''
wyze-bridge | 17:18:35 [DEBUG][front-house-cam] RECV <TutkWyzeProtocolHeader prefix=b'HL' protocol=36 code=10001 txt_len=17>: b'\x03\xf28~\xb2x\xfa\x98lO\x91\xf3\x81?\x04=\xba'
wyze-bridge | 17:18:35 [DEBUG][front-house-cam] Sending response:
wyze-bridge | 17:18:35 [DEBUG][front-house-cam] SEND <TutkWyzeProtocolHeader prefix=b'HL' protocol=5 code=10008 txt_len=30> b'\xc02\xd3\xcc\xe6\x87\xb1\x95\xbayv\x18\x11m\x05\xd554fd\x01\x00\x071872839'
wyze-bridge | 17:18:35 [DEBUG][front-house-cam] RECV <TutkWyzeProtocolHeader prefix=b'HL' protocol=36 code=10009 txt_len=740>: b'{"connectionRes":"1","cameraInfo":{"audioParm":{"sampleRate":"16000"},"videoParm":{"type":"H264","bitRate":"180","resolution":"1","fps":"20","horizontalFlip":"2","verticalFlip":"2","logo":"2","time":"1"},"settingParm":{"stateVision":"2","nightVision":"3","osd":"1","logSd":"1","logUdisk":"1", "telnet":"2","tz":"-4"},"basicInfo":{"firmware":"4.36.10.4054","type":"camera","hardware":"0.0.0.0","model":"WYZE_CAKP2JFUS","mac":"D03F27CA5182","wifidb":"48"},"channelResquestResult":{"video":"1","audio":"0"},"recordType":{"type":"1"},"sdParm":{"status":"1","capacity":"61021","free":"2074","detail":"0"},"uDiskParm":{"status":"2","capacity":"0","free":"0"},"apartalarmParm":{"type":"1","startX":"0","longX":"100","startY":"0","heightY":"100"}}}'
wyze-bridge | 17:18:35 [DEBUG][front-house-cam] SEND <TutkWyzeProtocolHeader prefix=b'HL' protocol=5 code=10056 txt_len=3> b'\x01\xb4\x00'
wyze-bridge | 17:18:37 [DEBUG][front-house-cam] RECV <TutkWyzeProtocolHeader prefix=b'HL' protocol=36 code=10057 txt_len=1>: b'\x01'
wyze-bridge | 17:18:38 [DEBUG][front-house-cam] No longer listening on channel id 0
wyze-bridge | 17:18:38 [DEBUG][front-house-cam] [videoParm] {'type': 'H264', 'bitRate': '180', 'resolution': '1', 'fps': '20', 'horizontalFlip': '2', 'verticalFlip': '2', 'logo': '2', 'time': '1'}
wyze-bridge | 17:18:38 [DEBUG][front-house-cam] [cameraInfo] {'audioParm': {'sampleRate': '16000'}, 'videoParm': {'type': 'H264', 'bitRate': '180', 'resolution': '1', 'fps': '20', 'horizontalFlip': '2', 'verticalFlip': '2', 'logo': '2', 'time': '1'}, 'settingParm': {'stateVision': '2', 'nightVision': '3', 'osd': '1', 'logSd': '1', 'logUdisk': '1', 'telnet': '2', 'tz': '-4'}, 'basicInfo': {'firmware': '4.36.10.4054', 'type': 'camera', 'hardware': '0.0.0.0', 'model': 'WYZE_CAKP2JFUS', 'mac': 'D03F27CA5182', 'wifidb': '48'}, 'channelResquestResult': {'video': '1', 'audio': '0'}, 'recordType': {'type': '1'}, 'sdParm': {'status': '1', 'capacity': '61021', 'free': '2074', 'detail': '0'}, 'uDiskParm': {'status': '2', 'capacity': '0', 'free': '0'}, 'apartalarmParm': {'type': '1', 'startX': '0', 'longX': '100', 'startY': '0', 'heightY': '100'}}
wyze-bridge | 17:18:38 [INFO][front-house-cam] 📡 Getting 180kb/s HD stream (H264/20fps) via LAN mode (WiFi: 48%) FW: 4.36.10.4054 🔒
wyze-bridge | 17:18:38 [DEBUG][front-house-cam] Now listening on channel id 0
wyze-bridge | 17:18:38 [DEBUG][front-house-cam] SEND <TutkWyzeProtocolHeader prefix=b'HL' protocol=5 code=10092 txt_len=4> b'\xee\xc9\xb9h'
wyze-bridge | 17:18:38 [DEBUG][patio-cam] [video] slow gap=1.0363903045654297
wyze-bridge | 17:18:38 [DEBUG][patio-cam] [video] slow gap=1.2787234783172607

.
.
.

My Docker Compose
services:
wyze-bridge:
container_name: wyze-bridge
restart: unless-stopped
image: mrlt8/wyze-bridge:latest
#network_mode: wyze_bridge_macvlan_network_new
ports:
- 1935:1935 # RTMP
- 8554:8554 # RTSP
- 8888:8888 # HLS
- 8889:8889 #WebRTC
- 8189:8189/udp # WebRTC/ICE
- 5000:5000 # WEB-UI
environment:
# [OPTIONAL] Credentials can be set in the WebUI
# API Key and ID can be obtained from the wyze dev portal:
# https://developer-api-console.wyze.com/#/apikey/view
- WYZE_EMAIL=xxx
- WYZE_PASSWORD=xxx
- API_ID=xxx
- API_KEY=xxx
- WB_IP=192.168.19.179
- WB_USERNAME=xxx
- WB_PASSWORD=xxx
- ON_DEMAND=False # maintain connection when set to false
- DEBUG_FFMPEG=True
- FRESH_DATA=True
- LOG_TIME=True

Any thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions