IpCamera: New IP Camera Binding

Great job matt,
Alarm crossing the line is work. :+1:
But there are gaps in its operation compared to the fact that the camera itself sends me an e-mail

Tried to connect a NVR - no luck yet :frowning: for some reason after this attempt even hung on the nvr web interface.

Hi Matt,

well-spotted. I tested my cam in chrome, safari, firefox and ie - and it works in all of them. I would appreciate if you could report it.

thanks a lot!
Szymon

@matt1

please could you advise

@nakh_Home

what camera do You have?

1 Like

Y203s

https://ipcamtalk.com/threads/meisort-y203s.24661/&ved=2ahUKEwjXrYC0ir3bAhVIfMAKHYedCH0QFjAUegQIBxAB&usg=AOvVaw36H5l-yh1WwAizoL5JKfVm

try the link below in any browser, just put your ip user and passvord

http://[IP]/videostream.cgi?usr=[USERNAME]&pwd=[PASSWORD]

or

http://IP ADDRESS:554/onvif1

Matt,

Searched all over google, but cant find one that works. Its an IP-cam from china, do you have any clue or hints?

Thanks

image

i have tried admin/blank (which works for rtsp://192.168.1.40:8001/0/avN in VLC)
i have also tried admin/admin

in every cases, i am getting :slight_smile:
image

Since you asked :slight_smile: Buy a better camera with documentation, support and good firmware which will cost more money. Buying a better camera will also mean you get better night vision which in my opinion is worth paying for otherwise a camera which does not work well at night is only working half the time. For “cheap” cameras with rtsp working maybe look at blueiris software which requires a fast windows based computer to run AFAIK.

Has anyone tested this binding with Dahua 5231R cameras? I have 10 of them I want to intergrate :slight_smile:

please ,How can I install this binding on raspberry pi using “wget” in putty?

ooh ooh I know this one:p

wget http://www.pcmus.com/openhab/IpCameraBinding/ipcamera-01-06-2018-Old%20Backend.zip

Unzip it and place the jar file in: /usr/share/openhab2/addons

Restart Openhab2 sudo /etc/init.d/openhab2 restart

2 Likes

@dastrix80 I have not had anyone who has tested the binding with any model Dahua report back any information either way if it works or does not. This is why in the first post it shows this binding as partly implemented and needing people to test for Dahua cameras. The next build I release should have better support for cameras behind a NVR and each build as people report what issues they find I can improve the support. If testing be sure to try a single camera first and to also try the camera direct to a switch and not behind an NVR if you have issues.

Thanks , Im not using an NVR. Just direct into the switch and into Blue Iris. We will get working on your binding in the coming weeks and report back our findings. good work!

Sure @matt1, ill try it and will let you know…thanks :slight_smile:

Build 09-06-2018 has these changes:

  • HIKVISION has new alarm channels.
  • AMCREST more support for NVRs added.
  • Better formatting in the logs for easier reading.

Build 08-06-2018 had following changes:

  • Build is only marked as untested as I have not run the new backend changes for a few days on my server.
  • HIKVISION, DAHUA and AMCREST now should fetch snapshots from behind a NVR. Other features may not work, need feedback on what does and does not work behind a NVR to update the feature set.
  • Fixed a bug that stopped generic ONVIF cameras working.

The picture works when connecting to the cameras via the NVR Hik 76xx :+1:
Event does not work when triggered
NVR does not send to stream /ISAPI/Event/notification/alertStream trigger events :frowning:

stream It works !!!

It is necessary in the notification settings to put a tick next to “Notify Surveillance Center” and then alerts will appear in the stream. :+1:

in stream:

<EventNotificationAlert version="1.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<ipAddress>172.18.2.15</ipAddress>
<portNo>80</portNo>
<protocol>HTTP</protocol>
<macAddress>4c:bd:8f:a8:60:7a</macAddress>
<dynChannelID>3</dynChannelID>
<dateTime>2018-06-10T15:03:48+03:00</dateTime>
<activePostCount>5</activePostCount>
<eventType>VMD</eventType>
<eventState>active</eventState>
<eventDescription>Motion alarm</eventDescription>
</EventNotificationAlert>
--boundary
Content-Type: application/xml; charset="UTF-8"
Content-Length: 462
<dynChannelID>3</dynChannelID> is a channel number NVR

New Build 11-06-2018 has these changes:

  • HIKVISION: Many improvements to the alertStream. “Fixed” version now moves alarms independently to allow multiple line crossings to be seen.
  • All brands: Improvements to the backend and better logging format, removed all raw messages from being displayed in the log unless you enable trace level.

@toroid
Fixes for your NVR are in this build.

Getting this errors on this build Device FOSCAM C2

2018-06-11 15:18:49.943 [WARN ] [ing.ipcamera.handler.IpCameraHandler] - !!!! There are now more than 10 channels being tracked, Cleaning out closed channels now.
2018-06-11 15:18:59.943 [WARN ] [ing.ipcamera.handler.IpCameraHandler] - !!!! There are now more than 10 channels being tracked, Cleaning out closed channels now.
2018-06-11 15:19:09.943 [WARN ] [ing.ipcamera.handler.IpCameraHandler] - !!!! There are now more than 10 channels being tracked, Cleaning out closed channels now.
2018-06-11 15:19:19.943 [WARN ] [ing.ipcamera.handler.IpCameraHandler] - !!!! There are now more than 10 channels being tracked, Cleaning out closed channels now.
2018-06-11 15:19:29.943 [WARN ] [ing.ipcamera.handler.IpCameraHandler] - !!!! There are now more than 10 channels being tracked, Cleaning out closed channels now.
2018-06-11 15:19:39.943 [WARN ] [ing.ipcamera.handler.IpCameraHandler] - !!!! There are now more than 10 channels being tracked, Cleaning out closed channels now.
2018-06-11 15:19:49.943 [WARN ] [ing.ipcamera.handler.IpCameraHandler] - !!!! There are now more than 10 channels being tracked, Cleaning out closed channels now.
2018-06-11 15:19:59.943 [WARN ] [ing.ipcamera.handler.IpCameraHandler] - !!!! There are now more than 10 channels being tracked, Cleaning out closed channels now.
2018-06-11 15:20:09.943 [WARN ] [ing.ipcamera.handler.IpCameraHandler] - !!!! There are now more than 10 channels being tracked, Cleaning out closed channels now.
2018-06-11 15:20:19.943 [WARN ] [ing.ipcamera.handler.IpCameraHandler] - !!!! There are now more than 10 channels being tracked, Cleaning out closed channels now.
2018-06-11 15:20:29.943 [WARN ] [ing.ipcamera.handler.IpCameraHandler] - !!!! There are now more than 10 channels being tracked, Cleaning out closed channels now.
2018-06-11 15:20:39.943 [WARN ] [ing.ipcamera.handler.IpCameraHandler] - !!!! There are now more than 10 channels being tracked, Cleaning out closed channels now.