Dashticz / dashticz_v2

Alternative dashboard for Domoticz
107 stars 62 forks source link

Webcam image refresh error #358

Open wimmme opened 6 years ago

wimmme commented 6 years ago

I am having issues with my webcams in Dashticz. (latest beta but master too) Showing ok at first, but after a while (refresh) the image disappears and the image not found icon is shown. After a manual refresh the image is back until the next auto refresh

Manual repeated refreshes in a browser window never give failures or timeouts.

Found another syntax in this topic but that gives me the same issues

buttons.webcam1 = {width:12, isimage:true, refreshimage: 10000, refreshurl: 10000, image: 'http://192.168.0.30:88/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=xxx&pwd=xxx&t=', url: 'http://192.168.0.30:88/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=xxx&pwd=xxx&t='}
buttons.webcam2 = {width:12, isimage:true, refresh:10000, image: 'http://192.168.0.31:88/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=xxx&pwd=xxx&t=', url: 'http://192.168.0.31:88/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=xxx&pwd=xxx&t='}

Anyone an idea ? This happens in both chrome as Fully Kiosk Browser

geertvercamer commented 5 years ago

I have the same issue with a Foscam camera

ghost commented 5 years ago

I had the same problem with a Boavision camera. This camera doesn't like the &t=.... at the end (also the size of the value was a problem). I have proposed a fix (pull request) which works for my camera, where the &t=... is added to the middle of the URL and with a smaller value.