motioneye-project / motioneyeos

A Video Surveillance OS For Single-board Computers
Other
7.8k stars 888 forks source link

Wyze Cam Pan RTSP Not Authorizing #2094

Open chrisfish1 opened 4 years ago

chrisfish1 commented 4 years ago

Preliminary Docs

I confirm that I have read the CONTRIBUTING guide before opening this issue. Confirmed

I confirm that I have read the FAQ before opening this issue. Confirmed

motionEyeOS Version

I am running motionEyeOS version: 20190427

Board Model

I am using the following board/model: Raspberry Pi 2 B+?

Camera

I am using the following type of camera: Network Camera

My camera model is: Wyze Cam Pan with RTSP Firmware

Network Connection

My motionEyeOS unit is connected to the network via: WiFi

Peripherals

I am using the following peripherals that I consider relevant to this issue:

Log Files

I consider the following log files relevant to this issue:

motioneye.log

I can view the RTSP stream through VLC just fine. When I add it to Motioneye it just spins and never errors and never shows up. The logs show what I believe to be an authentication issue. I don't have another camera to test with but I am hopeful the fact that I can view it through VLC using RTSP shows that the camera is ready. motioneye.log

JJRacoon commented 4 years ago

I'm having the same issue with my Wyze. The camera display shows "Unable to open video device" in the upper left corner of a blank screen. VLC looks good using RTSP.

rcadmus commented 4 years ago

Same problem. motion only accepts the url if the user:pwd is left out. Without the password it connects but can't authorize. Any progress here?

rcadmus commented 4 years ago

Solved... Add the camera without the id:pwd component because it won't accept the URL with it - thinks it is invalid. Then edit /data/etc/camera#.conf adding the id:pwd to the url there. remove any trailing / reboot the server for it to take effect. Works for me - hope this helps.

JJRacoon commented 4 years ago

Solved... I found that the URL for Wyze network cameras should not include the username and password. These should be input in the 'Username' and 'Password' fields in the 'Add Camera' dialog. When the 'Camera' field shows recognition you should be all set. I'm using Motioneye over 2019-09-26-raspbian-buster on my Pi 4 with 3 Wyze net cams.

------ Original Message ------ From: "rcadmus" notifications@github.com To: "ccrisan/motioneyeos" motioneyeos@noreply.github.com Cc: "JJRacoon" sjharder1@att.net; "Comment" comment@noreply.github.com Sent: 12/11/2019 12:18:27 PM Subject: Re: [ccrisan/motioneyeos] Wyze Cam Pan RTSP Not Authorizing (#2094)

Solved... Add the camera without the id:pwd component because it won't accept the URL with it - thinks it is invalid. Then edit /data/etc/camera#.conf adding the id:pwd to the url there. remove any trailing / reboot the server for it to take effect. Works for me - hope this helps.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ccrisan/motioneyeos/issues/2094?email_source=notifications&email_token=ALHTHFJC5WJTWKYKYS7LTFTQYEVHHA5CNFSM4IUQYBR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGUCXVQ#issuecomment-564669398, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALHTHFKRBI44R7VQAVVBOILQYEVHHANCNFSM4IUQYBRQ.