core icon indicating copy to clipboard operation
core copied to clipboard

RTSP credentials for EZVIZ camera

Open Nas-au opened this issue 2 years ago • 132 comments

The problem

i,m trying to use the ezviz integrations and i get this error

Screenshot 2023-01-19 at 4 38 53 AM

MY Camera: ezviz CB8

Can you help plz

Thanks

What version of Home Assistant Core has the issue?

core-2023.1.5

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

ezviz

Link to integration documentation on our website

https://www.home-assistant.io/integrations/ezviz

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: homeassistant.components.stream.stream.camera.garagecam
Source: components/stream/__init__.py:434
Integration: Stream (documentation, issues)
First occurred: 3:52:22 AM (9 occurrences)
Last logged: 4:33:43 AM

Error from stream worker: Error opening stream (ERRORTYPE_111, Connection refused) rtsp://****:****@10.10.10.159:554
Error from stream worker: Error opening stream (ERRORTYPE_110, Operation timed out) rtsp://****:****@10.10.10.159:554


Logger: libav.tcp
Source: components/stream/worker.py:497
First occurred: 3:52:22 AM (9 occurrences)
Last logged: 4:33:42 AM

Connection to tcp://10.10.10.159:554?timeout=5000000 failed: Connection refused
Connection to tcp://10.10.10.159:554?timeout=5000000 failed: Operation timed out

Additional information

No response

Nas-au avatar Jan 19 '23 01:01 Nas-au

Hey there @renierm26, @baqs, mind taking a look at this issue as it has been labeled with an integration (ezviz) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of ezviz can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Change the title of the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign ezviz Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


ezviz documentation ezviz source (message by IssueLinks)

home-assistant[bot] avatar Jan 19 '23 01:01 home-assistant[bot]

Hi, I get the same error with my CP4...

Thanks, Michele

mdima avatar Jan 19 '23 11:01 mdima

ps: my Ezviz user name is my email address... maybe this could be the issue

mdima avatar Jan 19 '23 11:01 mdima

@mdima i don't think so, i passed the integration my issue is with the RTSP.

Nas-au avatar Jan 19 '23 16:01 Nas-au

@Nas-au yes, the same for me. It seems also other people (read here) has the same issue, probably RTSP is not enabled on all the models of the Ezviz devices.

mdima avatar Jan 20 '23 08:01 mdima

Yes i think its not enabled, however i tried adding the camera to ivms-4200 on pc and it worked with hikvision protocol port 8000 but i dont think home assistant supports hikvision integration

Nas-au avatar Jan 20 '23 12:01 Nas-au

I had the same issue and it seems with the latest firmware update 230113 the RTSP port was disabled. After some Google Foo I have found this article -> https://www.effe1.info/come-abilitare-modalita-avanzata-ezviz-studio/ which worked for me. It seems accessing the "advanced function" through the EZVIZ PC Studio software is enabling the RTSP port again.

danielh83 avatar Feb 05 '23 14:02 danielh83

I had the same issue and it seems with the latest firmware update 230113 the RTSP port was disabled. After some Google Foo I have found this article -> https://www.effe1.info/come-abilitare-modalita-avanzata-ezviz-studio/ which worked for me. It seems accessing the "advanced function" through the EZVIZ PC Studio software is enabling the RTSP port again.

Thanks Danielh83 I tried it but did not work i think my CB8 dose not support RTSP at all.

Nas-au avatar Feb 05 '23 21:02 Nas-au

I had the same issue and it seems with the latest firmware update 230113 the RTSP port was disabled. After some Google Foo I have found this article -> https://www.effe1.info/come-abilitare-modalita-avanzata-ezviz-studio/ which worked for me. It seems accessing the "advanced function" through the EZVIZ PC Studio software is enabling the RTSP port again.

Thanks Danielh83 I tried it but did not work i think my CB8 dose not support RTSP at all.

Well if the camera does not RTSP at all, this tweak will not help. Did RTSP is supported for your camera? You can check the config and open ports also with the EZVIZ PC Studio under "Advanced" with the walkthrough of my link I have posted. You should see also port 554 been open.

Are you sure you are using the correct RTSP credentials and URL For my C3W the url is like this: rtsp://admin:[email protected]/H.264 The password is either the initial one which is labeled on the camera or whatever you set the password after setup

danielh83 avatar Feb 06 '23 07:02 danielh83

Also trying to integrate my EZVIZ camera to HA. Also stuck at RTSP credentials window as the OP.

My hardware setup is different as I have, 2x c3w 2x c6cn 1x x5c (NVR)

Tried to configure RTSP credentials for camera or nvr both failed.

Going thru the posts and suggestions here I noticed below on the EZVIS studio desktop application. image Try as I may I could not append any changes on the desktop.

So I went into the NVR and UPNP was disabled. which I promptly enabled. but saw the port # is very different from desktop app.

image

While the NVR interface shows the ports are active, the desktop app still showed in active.

image

At a total loss here. Any ideas or suggestions appreciated.

Update: Digging into the router shows the UPnP ports were properly directed. image

cybreedx avatar Feb 06 '23 08:02 cybreedx

Hi, i have same issues with C6N (firmware 5.3.2 build 230113) and C3W (firmware 5.2.7 build 230113) while it’s working with C1T (firmware 5.3.0 build 220829).

netbios404 avatar Feb 07 '23 06:02 netbios404

@cybreedx I am bit confused why you need uPnP for RTSP? The RTSP port is configured under the Menü "Network" and than "General" not NAT. NAT you will, IMHO only need if you want to route or access your camera stream from internet.

Can you check whether in EZVIZ Studio in the network general menü the RTSP port is enabled and you are using the correct RTSP credentials and URL (you can check here https://www.ispyconnect.com/camera/ezviz)

danielh83 avatar Feb 07 '23 07:02 danielh83

@cybreedx I am bit confused why you need uPnP for RTSP? The RTSP port is configured under the Menü "Network" and than "General" not NAT. NAT you will, IMHO only need if you want to route or access your camera stream from internet.

I only dig into UPnP because saw it was inactive on the desktop app (EZVIZ studio). As your prev post said something about RTSP port being disabled. so just went down the rabbit hole :D

Can you check whether in EZVIZ Studio in the network general menü the RTSP port is enabled and you are using the correct RTSP credentials and URL (you can check here https://www.ispyconnect.com/camera/ezviz)

Yesterday I tried to run RTSP stream on VLC no luck. Now I just tested the Agent from ispyconnect. The wizard only found the stream if I try global IP, if I use local IP it does not work.

I am wondering if using the X5C is just adding another layer of complexity. as the cameras all connect to it directly and is on another sub-net (192.168.7.XXX) instead of my main network (192.168.0.XXX) So confused.

cybreedx avatar Feb 07 '23 12:02 cybreedx

I confirm that installing Ezviz Studio PC and accessing C6N and C3W cameras through "advanced mode" is solving the issue with firmware 230113.

netbios404 avatar Feb 07 '23 21:02 netbios404

I confirm that installing Ezviz Studio PC and accessing C6N and C3W cameras through "advanced mode" is solving the issue with firmware 230113.

the only thing I have advance option to is the X5C NVR :( image

cybreedx avatar Feb 08 '23 07:02 cybreedx

After much troubleshooting. I found a "working" solution. I deleted 1 camera from the account, and hardware re-set it. Shut down the X5C (as it will auto populate into the NVR network). Added the camera via mobile app. Turn on the X5C. Tested RTSP, works.

Deleted the integration, re-integrate, going thru all the steps and it just works without additional settings.

image

My problem as far as I can tell was that all the cameras were hidden in a different subnet. Once the camera was on the main network, the integration works fine.

So for now I have reverted everything back, I like the idea of the NVR + IPCam on separate network.

cybreedx avatar Feb 08 '23 12:02 cybreedx

I had the same issue and it seems with the latest firmware update 230113 the RTSP port was disabled. After some Google Foo I have found this article -> https://www.effe1.info/come-abilitare-modalita-avanzata-ezviz-studio/ which worked for me. It seems accessing the "advanced function" through the EZVIZ PC Studio software is enabling the RTSP port again.

In my case it gets enabled just for the time while PC Studio app is running. RTSP port gets closed after closing the app. I have DP2C camera. Any ideas to get the RTSP port open permanently?

gabka913 avatar Mar 01 '23 16:03 gabka913

Hi all. I got it to work by enabling rtsp in each camera. Go to ezviz mobile app, profile, then settings, direct view. Explore each camera and go to settings (top right corner). Finally select local services and enable rtsp. Hope it works.

pgdeto avatar Mar 15 '23 01:03 pgdeto

robigombek commented yesterday I wrote to EZVIZ support, and got the answer. How to enable RTSP Step 1: Ensure the camera and your phone are under the same network Step 2: Open EZVIZ app, tap the profile icon on the top left > Settings > LAN Live View > Start Scanning Step 3: Tap the camera you need to use, input the password, which usually is the 6-digit capital letters code on the white sticker of your camera Step 4: Tap the gear-like icon on the top right > Local Server Settings > enable RTSP

lsgabreu avatar Mar 20 '23 23:03 lsgabreu

Comigo Funcionou!!! RTSP ativo

lsgabreu avatar Mar 20 '23 23:03 lsgabreu

Just gonna comment this so next time it won't take me a day to figure out what I broke with my EZVIZ: I was getting an invalid ip error from the addon,

I had my ezviz camera set to a static ip and i changed the host name it on my dhcp server. That was my problem, either setting it static or more than likely changing the host namel. After I put it back on DHCP it worked.

crackerchest avatar Mar 21 '23 12:03 crackerchest

I've got a Husky Air, model CS-CS310-A0-1B2WFR. Suddenly couldn't stream over RTSP anymore.

This is the URL I used: rtsp://admin:[email protected]/h264_stream

Port scans show port 554 (RTSP) has disappeared. The camera seems to have update it's firmware. It's now V5.3.0 build 230221

Neither the 'Ezviz Studio' desktop program or the Android phone app give me any 'advanced' configuration options to turn RTSP back on.

RenHoekNL avatar Mar 21 '23 14:03 RenHoekNL

robigombek commented yesterday I wrote to EZVIZ support, and got the answer. How to enable RTSP Step 1: Ensure the camera and your phone are under the same network Step 2: Open EZVIZ app, tap the profile icon on the top left > Settings > LAN Live View > Start Scanning Step 3: Tap the camera you need to use, input the password, which usually is the 6-digit capital letters code on the white sticker of your camera Step 4: Tap the gear-like icon on the top right > Local Server Settings > enable RTSP

This worked for me ! Thx

franck-outl4w avatar Mar 25 '23 19:03 franck-outl4w

robigombek commented yesterday I wrote to EZVIZ support, and got the answer. How to enable RTSP Step 1: Ensure the camera and your phone are under the same network Step 2: Open EZVIZ app, tap the profile icon on the top left > Settings > LAN Live View > Start Scanning Step 3: Tap the camera you need to use, input the password, which usually is the 6-digit capital letters code on the white sticker of your camera Step 4: Tap the gear-like icon on the top right > Local Server Settings > enable RTSP

I had a power outage and suddenly RTSP didn't work, I guess camera auto-updated FW or something. This saved my life, thanks!

dfpr avatar Mar 26 '23 00:03 dfpr

I had the same issue and it seems with the latest firmware update 230113 the RTSP port was disabled. After some Google Foo I have found this article -> https://www.effe1.info/come-abilitare-modalita-avanzata-ezviz-studio/ which worked for me. It seems accessing the "advanced function" through the EZVIZ PC Studio software is enabling the RTSP port again.

Hey Thanks a lot,I noticed that my cameras were not recording for two days and then found out that the rtsp stream was not working. Your solution worked.

NitinBhattacharyya avatar Mar 26 '23 17:03 NitinBhattacharyya

robigombek commented yesterday I wrote to EZVIZ support, and got the answer. How to enable RTSP Step 1: Ensure the camera and your phone are under the same network Step 2: Open EZVIZ app, tap the profile icon on the top left > Settings > LAN Live View > Start Scanning Step 3: Tap the camera you need to use, input the password, which usually is the 6-digit capital letters code on the white sticker of your camera Step 4: Tap the gear-like icon on the top right > Local Server Settings > enable RTSP

Thank you! Just noticed that my three EzViz cameras dropped off the CCTV and HA a couple of weeks back, although the DB-1 is still behaving properly. This process got RTSP back. Bit well-hidden, though, like they don't really want it used!
Note, it only works in the mobile app; PC version of EzViz Studio doesn't have the same options.

Looks like they've closed down the ONVIF service from these cameras too; I can't get a response on ports 80, 8999 or the HikVision control port 8000. Dumb move by EzViz/Hik IMO; pushes their cameras towards being consumer toys and away from being useful as proper CCTV. I have one in a 'real CCTV' role, that I'll now look to replace in case they go further down this road.

jefft4 avatar Apr 16 '23 13:04 jefft4

@ Jefft4 and Robigombek
Thanks for helping out and solving this RTSP issue. Costed me a week!

schumi7604 avatar Apr 17 '23 12:04 schumi7604

I just had the same response from EzViz support as @robigombek, which we know works. However, when I suggested that they shouldn't disable features without telling customers first, the response wasn't something I can believe:

_"Sorry to hear that, we did not turn off anything, we would report it to all customers in advance. It could have been a network issue.

If you have any other issues or questions, please let us know."_

'Network issue', my eye. Far too much of a coincidence for many users on different dates to experience the same obscure problem with the only common factor being... a firmware update which includes a new control for that feature. Clearly, they defaulted the new RTSP switch to 'off' and didn't think to tell anyone about it in advance.

I have responded, telling them that they should make automatic updates optional (give us an 'off' switch) and that I didn't believe them about the update not causing the RTSP issues.

jefft4 avatar Apr 17 '23 15:04 jefft4

Same here port 554 disappeared

albertoxamin avatar Apr 18 '23 12:04 albertoxamin

Hello! Unfortunately, EZVIZ support treats us users at least like little children. I've been pushing with them via e-mail for some time, they avoid answers like the plague on how to start the RTSP stream in the DP2C viewfinder - here in the phone and windows application you cannot enable this option. Still only "sorry", "use our cloud", "use android applications", they don't care about the needs of the consumer. They also completely ignore requests for old firmware. Embarrassing... But I won't let it go, I'll torment them, I'll give them a little "shawshank" :)

robigombek avatar Apr 18 '23 21:04 robigombek