rroller / dahua

Dahua Camera and Doorbell Home Assistant Integration
MIT License
383 stars 74 forks source link

Imou Ranger 2 4Mp Support #208

Open Betacart opened 2 years ago

Betacart commented 2 years ago

Hi,

can you add support also for this camera? When I try integration and fill all requested fields correctly, I am still getting error saying, that username, password and/or IP address are wrong. But I am 100 % sure, that values are right (camera works fine with WebRTC Camera integration with same credentials).

Thank you Jirka

kiki3529-0 commented 2 years ago

Hi Same problem for me, the model is IPC A43 (Betacart,how do you configure webRTC? Please?) Best regards Mickaël

Betacart commented 2 years ago

Hi,

I firstly installed ONVIF to allow PT control and then, I installed WebRTC. After restart, I added custom card WebRTC, but not see any video (see my issue here: https://github.com/AlexxIT/WebRTC/issues/333). I saw, that H.265 is not supported (but noticed it later, after I posted issue there), so I tried to change to H.264. To change this, I used Dahua's (original camera manufacturer) Config Tool (https://dahuawiki.com/ConfigTool), I logged in using username and password (or security code, if you not set password) and changed codec from H.265 to H.264 and also changed VBR to CBR with maximal quality. Then, I restarted camera and HA and video was visible. Now, I am fighting with sound - althrough I set to use PCMA (A-law), sound is outputted only on one of my indetical cameras in HA. But second one is working well after that change. I will try to play with Windows, as I changed it using Mac version. But video is working fine and PT also.

kiki3529-0 commented 2 years ago

Hi it seems complicated but I will try. Thank you Michael

Le mar. 2 août 2022 à 08:28, Betacart @.***> a écrit :

Hi,

I firstly installed ONVIF to allow PT control and then, I installed WebRTC. After restart, I added custom card WebRTC, but not see any video (see my issue here: AlexxIT/WebRTC#333 https://github.com/AlexxIT/WebRTC/issues/333). I saw, that H.265 is not supported (but noticed it later, after I posted issue there), so I tried to change to H.264. To change this, I used Dahua's (original camera manufacturer) Config Tool (https://dahuawiki.com/ConfigTool), I logged in using username and password (or security code, if you not set password) and changed codec from H.265 to H.264 and also changed VBR to CBR with maximal quality. The, I restarted camera and HA and video was visible. Now, I am fighting with sound - althrough I set to use PCMA (A-law), sound is outputted only on one of my indetical cameras in HA. But second one is working well after that change. I will try to play with Windows, as I changed it using Mac version. But video is working fine and PT also.

— Reply to this email directly, view it on GitHub https://github.com/rroller/dahua/issues/208#issuecomment-1202071413, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO4MALVS7FX3MZLJ4GTPNUTVXC5Y3ANCNFSM547VEJSA . You are receiving this because you commented.Message ID: @.***>

Betacart commented 2 years ago

Hi,

it looks like, but it is not:

kiki3529-0 commented 2 years ago

hello I am blocked from the first step, (onvif installation), can I ask you for your help? good evening Michael

Le mer. 3 août 2022 à 07:33, Betacart @.***> a écrit :

Hi,

it looks like, but it is not:

  • install ONVIF
  • install WebRTC
  • if you have 4K camera, use ConfigTool to change codec from H.265 to H.264
  • add Custom Card: WebRTC with camera RTSP address and you should have a picture

— Reply to this email directly, view it on GitHub https://github.com/rroller/dahua/issues/208#issuecomment-1203504000, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO4MALSI7ZBEW4ZU3KR3NSDVXIAD5ANCNFSM547VEJSA . You are receiving this because you commented.Message ID: @.***>

Betacart commented 2 years ago

No problem:

DONE :)

kiki3529-0 commented 2 years ago

Thank you very much for your help When I try to log in, I get a connection error message.

Le ven. 5 août 2022 à 21:06, Betacart @.***> a écrit :

No problem:

  • go to Settings/Devices
  • search for ONVIF in Integrations
  • enter Name (any name you want for device)
  • enter Host (it is IP address of your camera - recommending assign static IPs for all your cameras)
  • leave Port as 80
  • enter User Name admin
  • enter password - you can set it in Immou Life app, if not set, then you need to enter security code at the bottom of your camera

DONE :)

— Reply to this email directly, view it on GitHub https://github.com/rroller/dahua/issues/208#issuecomment-1206774728, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO4MALSQRZQ4MK6XTYCPASTVXVQ2VANCNFSM547VEJSA . You are receiving this because you commented.Message ID: @.***>

Betacart commented 2 years ago

Hi,

this is because you either entered wrong password (you need to set it first in camera's settings - you will need security code, which is at the bottom of the camera on the sticker) or you not enter security code (in case you not set your own password). User name is always admin.

kiki3529-0 commented 2 years ago

Thanks a lot I managed to configure onvif and change the codec to 264. I have picture and sound in a frigate card. Now I will look for how to save bye Mike

Le mer. 3 août 2022 à 07:33, Betacart @.***> a écrit :

Hi,

it looks like, but it is not:

  • install ONVIF
  • install WebRTC
  • if you have 4K camera, use ConfigTool to change codec from H.265 to H.264
  • add Custom Card: WebRTC with camera RTSP address and you should have a picture

— Reply to this email directly, view it on GitHub https://github.com/rroller/dahua/issues/208#issuecomment-1203504000, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO4MALSI7ZBEW4ZU3KR3NSDVXIAD5ANCNFSM547VEJSA . You are receiving this because you commented.Message ID: @.***>

Betacart commented 2 years ago

Welcome, I am glad to help you!

Anyway, for developer of addon - it will be nice to support also this model (see my original post at the top).

Bethaaca commented 1 year ago

Hi,

can you add support also for this camera? When I try integration and fill all requested fields correctly, I am still getting error saying, that username, password and/or IP address are wrong. But I am 100 % sure, that values are right (camera works fine with WebRTC Camera integration with same credentials).

Thank you Jirka

I'm anxiously waiting for it.

I have 2 IPC-A43 and I can use only 1 with Onvif (https://github.com/home-assistant/core/issues/70056). The other one I use with RTSP, but without PTZ ☹️

MauricioXavier13 commented 1 year ago

Do you guys have your sensors working? Well, with this camera it seems very unstable, the integration, and sensors not working since the begginning. Anything to do?

Betacart commented 1 year ago

Hi, I am not using any of this sensors - just use it for live view of picture. But I definitely agree, that integration needs to be improved!

jrb80 commented 1 year ago

Imou does not support native Dahua API, use the Imou Life cloud integration instead https://github.com/user2684/imou_life

DzzD commented 1 year ago

Imou does not support native Dahua API, use the Imou Life cloud integration instead https://github.com/user2684/imou_life

I also got a Range2C and that's what I did at first but, it's really infuriating to be dependant on tens of differents sellers Clouds and/or applications for each devices bought...