No, Thanks for that.
I’m checking now
I’m in firmware V4.1.50 build 180423, all good with the SNMP
What kind of NVR do you have?
I have a DS-7608NI-I2 / 8P. I checked the firmware and it says I’m in the latest one.
Both the SNMP and the sensors work for me, and RSTP now works using your link.
Notice they removed it from one version then reinstated in the next.
Took me a few hours to figure out all the details- might help someone else if your trying to get RTSP or HTTP Pictures from your Hikvision NVR:
Just remove () and insert your data- such as your RTSP port or HTTP port from your NVR network page under configuration of your NVR.
rtsp://(IPAddress):(RTSP Port)/Streaming/Channels/101/
http://(IPAddress):65001/PSIA/Streaming/channels/1/picture
http://(IPAddress):(HTTPPort80?)/PSIA/Streaming/channels/101/picture
http://(IPAddress):(HTTPPort80?)/PSIA/Custom/SelfExt/ContentMgmt/DynStreaming/channels/101/picture
http://(IPAddress):(HTTPPort80?)/PSIA/Streaming/channels/101/picture?videoResolutionWidth=1920&videoResolutionHeight=1080
http://(IPAddress):(HTTPPort80?)/ISAPI/Streaming/channels/101/picture
http://(IPAddress):(HTTPPort80?)/ISAPI/ContentMgmt/StreamingProxy/channels/101/picture
Thank you worked flawlessly.
Just gave this a go with my NVR. I cant even get it to pickup sensors. I’ve updated the Hikvision 7616 6ch POE to enable SNMP without issue. Is the method in the first post still working?
Yes, it works flawlessly for me.
Just make sure you have the right IP addresses.
You should use icon for the sensor not card…
Hi,
I have just purchased a DS-7208HQHI-K1/A with firmware V4.21.000build 190722.
Under Network / advance settings there is no tab for SNMP., I tried downgrading the firmware right back to STD_V3.5.10_Build170518 and others in between but still no luck
Is SNMP being phased out or is there another way to integrate this platform?
Here is screenshots from my NVR - menu should be same neverless of language…
I hope that this helps you…
Go to NVR settings but not via web browser but directly plug in monitor via VGA or HDMI cable… then follow my steps…
Also be sure that you have the latest FW?
I have a DS-7208 too and SNMP is not enabled either on the web UI or native configuration menu. I am on the latest firmware. As per this document, SNMP is not available for DS-7208 model.
Thanks @tibmart for nice NVR sensor.
I changed NVR uptime from minutes to days:
################# HIKVISIOn NVR ##############################
- platform: snmp
name: 'nvr_uptime'
host: 192.168.XXX.XXX
baseoid: 1.3.6.1.2.1.1.3.0
accept_errors: true
unit_of_measurement: 'days'
value_template: '{{((value | int) / 8640000) | int}}'
It seems the NVR’s time is in centiseconds 10-2s
after updating the firmware of the nvr, the sensors no longer work via snmp.
I tried via putty from terminal and it works properly, for example:
snmpget -v 2c -c public -Oqv 192.168.0.4 1.3.6.1.2.1.1.3.0
0: 9: 53: 48.29
but if I use in configuration.yaml:
sensor:
- platform: snmp
name: 'nvr_uptime'
host: 192.168.0.4
baseoid: 1.3.6.1.2.1.1.3.0
accept_errors: true
unit_of_measurement: 'minutes'
value_template: '{{((value | int) / 6000) | }} int '
I receive:
sensor.nvr_uptime unknown
I also tried:
sensor:
- platform: command_line
name: 'test'
command: "snmpget -v 2c -c public -Oqv 192.168.0.4 1.3.6.1.2.1.1.3.0"
or
- platform: command_line
name: 'test1'
command: "/ usr / bin / snmpset -v 2c -c public -Oqv 192.168.0.4 1.3.6.1.2.1.1.3.0"
I receive:
sensor.test unknown friendly_name: test
sensor.test1 unknown friendly_name: test1
how can i solve?
Hi all,
I’m rebuilding my HA instance as the old one had accumulated too many years of tests and things that not always work
Anyways, just to let you know that when I tried the SNMP sensor, it didn’t work for me at the first time, and I know this was working before.
After some frustration, I added:
community: public
(I was omitting it before as “public” is the default value)
like in:
- platform: snmp
name: 'nvr_uptime'
host: !secret ip_hikvision
community: public
baseoid: 1.3.6.1.2.1.1.3.0
accept_errors: true
unit_of_measurement: 'minutes'
value_template: '{{((value | int) / 6000) | int}}'
and suddenly all my SNMP sensors started working at once.
HA v0.114.4
Hope this helps.