Page 1 of 1

HIKvision camera in Dashticz

Posted: Tuesday 20 August 2019 13:49
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.

Re: HIKvision camera in Dashticz

Posted: Tuesday 20 August 2019 17:52
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;

Re: HIKvision camera in Dashticz

Posted: Tuesday 20 August 2019 21:38
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..)

Re: HIKvision camera in Dashticz

Posted: Tuesday 20 August 2019 22:31
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?

Re: HIKvision camera in Dashticz

Posted: Tuesday 20 August 2019 23:58
by HFman
Thanks, now it works !

Re: HIKvision camera in Dashticz

Posted: Sunday 03 November 2019 20:19
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.