HIKvision camera in Dashticz

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Post Reply
HFman
Posts: 82
Joined: Thursday 02 March 2017 20:28
Target OS: Linux
Domoticz version: V4.1174
Location: Netherlands
Contact:

HIKvision camera in Dashticz

Post by HFman »

Did anyone got a Hikvision camera working in Dashticz ?
Since HIKvision doesn't accept the name/password in the link it doesn't seem to work out of the box..

In the past I fixed this with a small script which took every 2 sec a picture of the cam and stored on the pi but after the crash i lost this script..

But before re-inventing the wheel.. curious if somebody has a better way and/or could share his solution.
Raspberry PI 3 - Opentherm Gateway + ESP8826 - EvoHome - ESPEasy CO2 + Fancontrol - RF-Link - zigbee2mqqt -
naitsirhc
Posts: 44
Joined: Sunday 17 January 2016 11:20
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: HIKvision camera in Dashticz

Post by naitsirhc »

this is working for me:

buttons.webcam = {width:8, isimage:true, refresh:2000, image: 'http://ip adress hikvision:8080/Streaming/Channels/1/picture?', url: 'http://ip adress hikvision:8080/Streaming/Channels/1/picture?'}

columns[3] = {};
columns[3]['blocks'] = ['blocktitle_4', buttons.webcam];
columns[3]['width'] = 3;
Und Tschjuß
HFman
Posts: 82
Joined: Thursday 02 March 2017 20:28
Target OS: Linux
Domoticz version: V4.1174
Location: Netherlands
Contact:

Re: HIKvision camera in Dashticz

Post by HFman »

mm made some progress, stored the pass and name in the browser, now can open with the standard picture link. (your doesn't work on my camera).
But is your refreshing every 2 seconds ? (mine not yet..)
Raspberry PI 3 - Opentherm Gateway + ESP8826 - EvoHome - ESPEasy CO2 + Fancontrol - RF-Link - zigbee2mqqt -
User avatar
HansieNL
Posts: 964
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: HIKvision camera in Dashticz

Post by HansieNL »

HFman wrote: Tuesday 20 August 2019 21:38 mm made some progress, stored the pass and name in the browser, now can open with the standard picture link. (your doesn't work on my camera).
But is your refreshing every 2 seconds ? (mine not yet..)
Can you try to add forcerefresh:1 to your button?
Blah blah blah
HFman
Posts: 82
Joined: Thursday 02 March 2017 20:28
Target OS: Linux
Domoticz version: V4.1174
Location: Netherlands
Contact:

Re: HIKvision camera in Dashticz

Post by HFman »

Thanks, now it works !
Raspberry PI 3 - Opentherm Gateway + ESP8826 - EvoHome - ESPEasy CO2 + Fancontrol - RF-Link - zigbee2mqqt -
belwe
Posts: 1
Joined: Saturday 02 November 2019 9:02
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: HIKvision camera in Dashticz

Post by belwe »

HFman How your script look? I try:

buttons.webcam = {width:12, isimage:true, refresh:2000, image: 'http://admin:[email protected]:xx/Streaming/channels/1/picture?snapShotImageType=JPEG', url: 'http://admin:[email protected]:xx/Streaming/channels/1/picture?snapShotImageType=JPEG'}

Its working when I open dashticz on rasspberry but on any other devices in the same network it doesn't work.
When I put that adress to the browser on other devices it making picture as well.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest