home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.94k stars 30.16k forks source link

RTSP credentials for EZVIZ camera #86204

Closed Nas-au closed 1 week ago

Nas-au commented 1 year ago

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

zhangziran commented 10 months ago

你是说“工作模式”吗?我在那里启用了“用户自定义”。还有更多选项,例如“高性能”。

我的意思是睡眠模式。尝试 PC 应用程序 也许可以选择将其关闭,但也许它与某些型号的高性能(始终开启模式)相同。我在 Home Assistant 中使用官方的萤石集成,它有这个选项。 IMG_20231010_213906随意尝试)

例如,在 C3A 中,它被称为 Hibernate In BC2 High Perfomance IMG_20231010_214408

Do you mean the "working mode"? I have "User customization" enabled there. There are more options like "High Performance".

I mean sleep mode. Try PC App maybe there is option to turn it off, but maybe its the same as High Performance (always on mode) for some models. I use official Ezviz integration in Home Assistant and it has that option. IMG_20231010_213906 Feel free to experiment)

For example in C3A its called Hibernate In BC2 High Perfomance IMG_20231010_214408

"May I ask how to enable RTSP on CS-BC2 or CS-CB2?"

zhangziran commented 10 months ago

Ho provato tante cose nell'app e nello strumento Windows. Non riesco ad attivare RTSP. La scansione della rete non riesce a trovare il DP2C. Home Assistant ha trovato la videocamera ma ho ricevuto un errore dopo aver inviato il modulo delle credenziali. Ho modificato AppConfig.ini su Windows ma non riesco a visualizzare le impostazioni avanzate. C'è qualche possibilità di attivare RTSP per questo dispositivo? È molto inutile senza RTSP. Voglio integrarlo in HA e ZoneMinder.

Ecco il firmware che abiliterà rtsp https://www.filemail.com/d/dxzggkffqyclsaf Basta spegnere il campanello, inserire la scheda SD con il file rinominato in ezviz.dav, accendere il dispositivo e attendere circa 3 minuti

Scusa, potresti caricare di nuovo il firmware per DP2C su Google Drive? Il collegamento non funziona ora.

Ecco il nuovo collegamento https://www.filemail.com/d/hcjfbmlntwpbavq

Ciao , link scaduto , potresti ripostarlo?

Ciao, here is new link: https://www.filemail.com/d/pfgdzyocpqzhlfm

"May I ask if there is RTSP firmware available for BC2 or CB2? Thank you very much."

Txominr commented 10 months ago

No puedo agregar la cámara de puerta EZVIZ CP4 a HomeAssistant. Ingrese las credenciales RTSP para la cámara EZVIZ BA4626682 con IP-192.168.1.50, nombre de dominio o dirección IP no válidos. Pero Google Home se conectó sin problemas y tiene acceso a retransmisiones online desde la cámara de la puerta. ¿Alguien puede ayudar? Agradecer.

I am the same with the CS-HP4 (2WPFBS) model. If I try to update with the file aki DP2C_V5.3.3 build 220516.dav it gives me an error and it won't let me. Does anyone have a solution?

dimadusk commented 10 months ago

No puedo agregar la cámara de puerta EZVIZ CP4 a HomeAssistant. Ingrese las credenciales RTSP para la cámara EZVIZ BA4626682 con IP-192.168.1.50, nombre de dominio o dirección IP no válidos. Pero Google Home se conectó sin problemas y tiene acceso a retransmisiones online desde la cámara de la puerta. ¿Alguien puede ayudar? Agradecer.

I am the same with the CS-HP4 (2WPFBS) model. If I try to update with the file aki DP2C_V5.3.3 build 220516.dav it gives me an error and it won't let me. Does anyone have a solution?

Because firmware is for DP2C and not for CS-HP4. You cannot use firmware from different camera model.

dimadusk commented 10 months ago

Ho provato tante cose nell'app e nello strumento Windows. Non riesco ad attivare RTSP. La scansione della rete non riesce a trovare il DP2C. Home Assistant ha trovato la videocamera ma ho ricevuto un errore dopo aver inviato il modulo delle credenziali. Ho modificato AppConfig.ini su Windows ma non riesco a visualizzare le impostazioni avanzate. C'è qualche possibilità di attivare RTSP per questo dispositivo? È molto inutile senza RTSP. Voglio integrarlo in HA e ZoneMinder.

Ecco il firmware che abiliterà rtsp https://www.filemail.com/d/dxzggkffqyclsaf Basta spegnere il campanello, inserire la scheda SD con il file rinominato in ezviz.dav, accendere il dispositivo e attendere circa 3 minuti

Scusa, potresti caricare di nuovo il firmware per DP2C su Google Drive? Il collegamento non funziona ora.

Ecco il nuovo collegamento https://www.filemail.com/d/hcjfbmlntwpbavq

Ciao , link scaduto , potresti ripostarlo?

Ciao, here is new link: https://www.filemail.com/d/pfgdzyocpqzhlfm

"May I ask if there is RTSP firmware available for BC2 or CB2? Thank you very much."

There is nor firmware with rtsp support for such models, they released those cameras without rtsp support so no older firmware will help to activate rtsp. I have BC2 as well and talked to Ezviz support for about 6 months, maximum they gave me very first firmware but there is no way to downgrade it, flashing with sdcard doesn't work in those cameras and firmware is encrypted so its not possible without reverse engineering to add support for rtsp for cameras which were released in 2023.

ceski23 commented 10 months ago

Ciao, here is new link: https://www.filemail.com/d/pfgdzyocpqzhlfm

Hi, could you please upload file again? because link already expired

dimadusk commented 10 months ago

Ciao, here is new link: https://www.filemail.com/d/pfgdzyocpqzhlfm

Hi, could you please upload file again? because link already expired

Here you go: https://www.filemail.com/d/hcvaqxyopwwtlhp

BananaJoeTo commented 10 months ago

Today suddenly my python script failed to read out pictures from my EZVIZ C6N (F/W: V5.3.8 build 231104) via cv2.VideoCapture('rtsp://admin:password@IP-ADDRESS:554/H.264')

Finally what worked for me (see also comment from @lsgabreu @ March 2023)

One more hint here: First I really had some problems in that Live View Thing. Somehow my WiFi routing to the camera (there is the router and a repeater in between) was bad. So I did not get the option for local services. Just go for it some more trys..

Hope that can help some of you ...

neit72 commented 10 months ago

Ciao, here is new link: https://www.filemail.com/d/pfgdzyocpqzhlfm

Hi, could you please upload file again? because link already expired

Here you go: https://www.filemail.com/d/hcvaqxyopwwtlhp

Please refresh link

dimadusk commented 10 months ago

Ciao, here is new link: https://www.filemail.com/d/pfgdzyocpqzhlfm

Hi, could you please upload file again? because link already expired

Here you go: https://www.filemail.com/d/hcvaqxyopwwtlhp

Please refresh link

Here you go: https://www.filemail.com/d/ssntoqatbejarby

choldimir commented 9 months ago

Ciao, here is new link: https://www.filemail.com/d/pfgdzyocpqzhlfm

Hi, could you please upload file again? because link already expired

Here you go: https://www.filemail.com/d/hcvaqxyopwwtlhp

Please refresh link

Here you go: https://www.filemail.com/d/ssntoqatbejarby

Please, can you refresh link? Thanks a lot.

choldimir commented 9 months ago

Please, can anyone share the firmware? Thank you so much!

dimadusk commented 9 months ago

Please, can anyone share the firmware? Thank you so much!

Here you go https://www.filemail.com/d/fwhequqfsqcqjrx

whoami-pwd commented 9 months ago

Hello. Thank you for the information and the firmware.

I don't understand why, but my dp2c is not being downgraded with that firmware. When I insert the Fat32 card with one single file called "ezviz.dav" nothing happens. I waited for approximately 10 minutes. Device does not show any progress of flashing. Then when I connect it to the app it still shows me my initial version v5.3.3 build 230606.

Maybe I should try chinese firmware version, but I am pretty sure its EU.

dimadusk commented 9 months ago

Hello. Thank you for the information and the firmware.

I don't understand why, but my dp2c is not being downgraded with that firmware. When I insert the Fat32 card with one single file called "ezviz.dav" nothing happens. I waited for approximately 10 minutes. Device does not show any progress of flashing. Then when I connect it to the app it still shows me my initial version v5.3.3 build 230606.

Maybe I should try chinese firmware version, but I am pretty sure its EU.

This is one of possibilities that different region but if you are sure its EU, then you can try download windows App, connect in LAN mode with your camera and try to update with it. If this won't help you probably should contact ezviz customer support, they respond in about 2-3 days but can help, plus to that you can request very first Firmware from them or the new way to upload firmware to the camera in case its a limitation of the new firmware.

jmcollin78 commented 9 months ago

Hello @dimadusk ,

It seems that the download link is broken. I've got this message:

1 dossier, 14.37 MB - Vous pourrez télécharger ces fichiers pour la prochaine fois.: 7 heures 53 minutes

(you will be able to dowload in 7h 53 min).

Will this firmware works for CB8 2K camera ?

It seems not possible to have something working with this camera and Home Assistant. I send it back.

dimadusk commented 9 months ago

Hello @dimadusk ,

It seems that the download link is broken. I've got this message:

1 dossier, 14.37 MB - Vous pourrez télécharger ces fichiers pour la prochaine fois.: 7 heures 53 minutes

(you will be able to dowload in 7h 53 min).

Will this firmware works for CB8 2K camera ?

It seems not possible to have something working with this camera and Home Assistant. I send it back.

Try new link: https://www.filemail.com/d/kuxrbrtxcyavcpm

As for CB8 2k the answer is No because each firmware is camera specific, meaning if its firmware for dp2c it will work only on dp2c, if firmware is for cb8 it will work only with that model of camera.

jmcollin78 commented 9 months ago

Thank you @dimadusk ,

FInally I decide to send back the CB8 camera to the seller and will buy a fully compatible one (Reolink). If ezviz don't want that we use their camera, I propose to not use it.

dimadusk commented 9 months ago

Thank you @dimadusk ,

FInally I decide to send back the CB8 camera to the seller and will buy a fully compatible one (Reolink). If ezviz don't want that we use their camera, I propose to not use it.

Its a right choice. Its better to buy alternative brands such as Imou/Amcrest/Dahua (they all have rtsp and onvif even on Battery cameras Amcrest and Imou is the same thing) Reolink not bad option as well only they don't have rtsp or onvif of battery cameras, but if you don't plan on using battery cams it will work fine. But I don't know if Hass has integration for reolink while on HACS you can install IMOU cloud integration and use cams over the internet if you need them on remote location and it works fine with HASS

IMG_20231229_234921

tutumano commented 8 months ago

Ciao, here is new link: https://www.filemail.com/d/pfgdzyocpqzhlfm

Hi, could you please upload file again? because link already expired

Here you go: https://www.filemail.com/d/hcvaqxyopwwtlhp

Please refresh link

Here you go: https://www.filemail.com/d/ssntoqatbejarby

Please, can you refresh link? Thanks a lot.

8tm commented 8 months ago

DP2C

Hi @dimadusk Please restore link to firmware with RTSP for DP2C. It was shared many times, but I just found this issue :)

dimadusk commented 8 months ago

DP2C

Hi @dimadusk Please restore link to firmware with RTSP for DP2C. It was shared many times, but I just found this issue :)

Here you go :) https://www.filemail.com/d/tmapaneyvgallko

8tm commented 8 months ago

Thanks!

// Edit:

Tested and it works. But... ports are only available when Ezviz PC studio is running.

First, I wasn't able to connect using VLC (on Linux).

I tested URL's:

rtsp://admin:DEVICE_VERIFICATION_CODE@192.168.1.49:554/h_264
rtsp://admin:DEVICE_VERIFICATION_CODE@192.168.1.49:554/H.264
rtsp://admin:DEVICE_VERIFICATION_CODE@192.168.1.49:554/h264_stream

Using Windows VLC: I was able to connect using VLC but only from VM with Windows 11, side by side with Ezviz Studio App. Windows IP: 192.168.122.xxx and I was connected to DP2C on IP: 192.168.1.49.

The same URL for VLC on Debian Linux (192.168.1.xxx) couldn't connect to DP2C (it's weird...)

In Windows I was able to connect using URL's:

rtsp://admin:DEVICE_VERIFICATION_CODE@192.168.1.49:554/H.264
rtsp://admin:DEVICE_VERIFICATION_CODE@192.168.1.49:554/H.265

I added Firmware for DP2C 5.3.3 build 220516 to my server :smile:

Download DP2C FW V5.3.3 build 220516

tutumano commented 8 months ago

Good morning and thank you very much for posting the compilation again. A thousand apologies for the ignorance. But once the compilation is done, I can't install it and download the firmware. I have copied the .dav file to the root of the card and nothing. Through EzvizStudio I can't find a way either. Any help to be able to do it? Thank you so much.

fregol commented 7 months ago

DP2C

Hi @dimadusk Please restore link to firmware with RTSP for DP2C. It was shared many times, but I just found this issue :)

Here you go :) https://www.filemail.com/d/tmapaneyvgallko

Can you be so kind to restore the link? thanks!

One more question, is this FW stable enough in terms of notifications? I am using DP2C primarily to receive prompt notifications (through EZVIZ app) when somebody is standing in front of my door for some seconds. Alternatively, I could try to implement the same function through HA automations, but, since I'm a very noob, I'm not sure to succeed!!!

fregol commented 7 months ago

@dimadusk please reply!

dimadusk commented 7 months ago

@dimadusk please reply! Here you go: https://www.filemail.com/d/tqlkzknwiirszbi

In terms of notifications every firmware on ezviz is stable but if you have dns/proxy filters you will not receive snapshot pictures in notifications all the time if at all. But Synology has same problem as well with a big difference Synology Surveillance Station is more accurate than Ezviz. As for Home Assistant ezviz integration was broken for few years now I don't know if they fixed it.

8tm commented 6 months ago

DP2C

Hi @dimadusk Please restore link to firmware with RTSP for DP2C. It was shared many times, but I just found this issue :)

Here you go :) https://www.filemail.com/d/tmapaneyvgallko

Can you be so kind to restore the link? thanks!

One more question, is this FW stable enough in terms of notifications? I am using DP2C primarily to receive prompt notifications (through EZVIZ app) when somebody is standing in front of my door for some seconds. Alternatively, I could try to implement the same function through HA automations, but, since I'm a very noob, I'm not sure to succeed!!!

You can download it from my server: https://github.com/home-assistant/core/issues/86204#issuecomment-1931022211

piotrszpruta commented 5 months ago

DP2C

Hi @dimadusk Please restore link to firmware with RTSP for DP2C. It was shared many times, but I just found this issue :)

Here you go :) https://www.filemail.com/d/tmapaneyvgallko

Can you be so kind to restore the link? thanks! One more question, is this FW stable enough in terms of notifications? I am using DP2C primarily to receive prompt notifications (through EZVIZ app) when somebody is standing in front of my door for some seconds. Alternatively, I could try to implement the same function through HA automations, but, since I'm a very noob, I'm not sure to succeed!!!

You can download it from my server: #86204 (comment)

It's not possible to download from your server. Please send it somewhere else

8tm commented 4 months ago

DP2C

Hi @dimadusk Please restore link to firmware with RTSP for DP2C. It was shared many times, but I just found this issue :)

Here you go :) https://www.filemail.com/d/tmapaneyvgallko

Can you be so kind to restore the link? thanks! One more question, is this FW stable enough in terms of notifications? I am using DP2C primarily to receive prompt notifications (through EZVIZ app) when somebody is standing in front of my door for some seconds. Alternatively, I could try to implement the same function through HA automations, but, since I'm a very noob, I'm not sure to succeed!!!

You can download it from my server: #86204 (comment)

It's not possible to download from your server. Please send it somewhere else

Thank you. I already fixed certificates. Try to download it again :)

ChrisZ32 commented 3 months ago

For anyone having issues re-enabling RTSP on an Eviz camera, this worked for me https://community.home-assistant.io/t/ezviz-cameras-rtsp-stream-not-working/523726/41?u=chrisz32

Got my DB1 Pro working! With a tip from here Ezviz Disables RTPS for its IP Cameras, Here is the fix! | IP Cam Talk. Basically, seems like you can use some HikVision app (Windows for me, though seems there is a mac version available) to configure the camera and re-enable RTSP.

  1. Download and install iVMS-4200 iVMS-4200 V3.11.1.6 & 4200 AC V1.11.0.5 - Software - Hikvision
  2. I had to create an account
  3. Add your camera - for me, it found my DB1 Pro on the network where the Ezviz Studio did not. Usual creds to get the LAN live viewing through Android worked to get me access
  4. You can then access the camera settings via ‘Remote Configuration’, go to Network → NAT. It all looked correct for me, but I have seen people saying that re-entering the same details fixed the problem. So I disabled ‘Enable UPnP’ and saved, re-typed in the RTSP port of 554 and saved, then re-enabled ‘Enable UPnP’ and saved

I could then setup the camera in HomeAssistant and can access the feed via VLC (rtsp://admin:[PASSWORD]@192.168.XXX.XXX:554/Streaming/Channels/101)

I’m definitely turning off auto-update!

issue-triage-workflows[bot] commented 2 weeks ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.