i bought a Dahua IP camera and am trying to get a view in dashticz.
I have found the camera in Domoticz.
but if i use the next code in dashticz it only gives me the picture view which refreshes once per seconde?
(and this picture refresh sometimes does not run smoothly)
and not the movie stream? what is the video stream in domoticz? can't find that anywhere?!
Code: Select all
blocks['cam1'] = {
type: 'camera',
imageUrl: 'http://192.168.2.11:8084/camsnapshot.jpg?idx=1',
videoUrl: 'http://192.168.2.11:8084/camsnapshot.jpg?idx=1',
refresh: 1,
width: 12,
height: 300
}
i tested both URL's in my browser and they work! But they don't work in Dashticz???
Code: Select all
blocks['cam1'] = {
type: 'camera',
imageUrl: 'http://192.168.2.200/cgi-bin/snapshot.cgi?1&user=[USERNAME]&pwd=[PASSWORD]',
videoUrl: 'http://192.168.2.200/cgi-bin/mjpg/video.cgi?channel=1&subtype=1&user=[USERNAME]&pwd=[PASSWORD]',
refresh: 1,
width: 12,
height: 300