-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support adding multiple cameras at once #186
Comments
Hi. Firstly, thankyou for the great integration. I agree with this issue. Added an NVR and was surprised that it didn't create entities for all channels. Previously I used the ONVIF integration which imported the main, sub1, sub2, motion detection etc. for all channels/cameras. What does "NVR's are the 0 based index" mean (see below)? Can you enter a range like "0-3"? |
"NVR's are the 0 based index" basically means the channel numbers start from 0 |
Thanks @si458. I added the same integration multiple times, once for each channel. Not sure if its due to having multiple integrations but live stream appears much slower compared to the ONVIF integration. Both integrations use the same RTSP and sub-channel 1 which is limited to 5fps and 512Kb/s. The only other difference is that ONVIF RTSP was configured for UDP. For now, I've reverted to using ONVIF until this supports multiple channels or I can overcome this issue. Regards, Elton. |
@earto i noticed the sluggshness too and couldnt identify it |
I really thank you for this @si458 and @earto even 2 years later this saved me from searching how I add my 8 channels didn't know I have to add the Device 8 times... For anyone struggling to get only 1 live stream going (1 camera) you need to add each of your channel as a own device under integrations -> dahua -> devices , start with 0 and then 1 , 2, 3, 4, 5, etc The Readme/Instructions in this Github never mention this :) |
Is your feature request related to a problem? Please describe.
currently to add all 16 cameras from my DVR to HA , I have to add the integration 16 times!?
Describe the solution you'd like
support adding multiple cameras at first integration
(maybe set camera number to say -1 to let it autodetect how many cameras you have then loop and add them all)
Describe alternatives you've considered
the isnt any really?
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: