Page 1 of 1

dashticz beta 3.8.3 does not show camera preview blocks

Posted: Tuesday 01 June 2021 10:46
by Chris12
@Lokonli,

This morning I updated my dashticz to the latest beta 3.8.3 (was running beta 3.8.2 before) and I noticed that dashticz beta 3.8.3 does not show camera preview blocks any more on my screen.

I've got 3 blocks, 1 for each camera. when I click on the empty space I get the camera live feed. So the actual configured part is there, but only not showing the preview (snapshot) block of the camera on my screen.

I already resized the height of the block to see if that was causing it (150->130) but still no preview image shown.

My camera config block is like:
Spoiler: show

Code: Select all

blocks['tuin_cam'] = {
   type: 'camera',
   imageUrl: 'http://192.168.1.11:8084/camsnapshot.jpg?idx=2',
   videoUrl: 'http://dashticz:[email protected]:8080/cgi-bin/mjpg/video.cgi?subtype=2',
   refresh: 30, //seconds
   width: 4,
   height: 150
}

Re: dashticz beta 3.8.3 does not show camera preview blocks

Posted: Tuesday 01 June 2021 23:42
by Lokonli
Ok, I'll check later this week

Verstuurd vanaf mijn AC2003 met Tapatalk


Re: dashticz beta 3.8.3 does not show camera preview blocks

Posted: Sunday 20 June 2021 9:52
by madradrakie
same problem over here only the problem also occured in 3.8.2. The small preview screens are not updating, only when you click on them.

Re: dashticz beta 3.8.3 does not show camera preview blocks

Posted: Sunday 04 July 2021 20:57
by Lokonli
Chris12 wrote: Tuesday 01 June 2021 10:46 @Lokonli,

This morning I updated my dashticz to the latest beta 3.8.3 (was running beta 3.8.2 before) and I noticed that dashticz beta 3.8.3 does not show camera preview blocks any more on my screen.

I've got 3 blocks, 1 for each camera. when I click on the empty space I get the camera live feed. So the actual configured part is there, but only not showing the preview (snapshot) block of the camera on my screen.

I already resized the height of the block to see if that was causing it (150->130) but still no preview image shown.

My camera config block is like:
Spoiler: show

Code: Select all

blocks['tuin_cam'] = {
   type: 'camera',
   imageUrl: 'http://192.168.1.11:8084/camsnapshot.jpg?idx=2',
   videoUrl: 'http://dashticz:[email protected]:8080/cgi-bin/mjpg/video.cgi?subtype=2',
   refresh: 30, //seconds
   width: 4,
   height: 150
}
I can't reproduce your problem: everything seems to work fine on my system.

I guess 192.168.1.11:8084 is your Domoticz server?
What do you get when you open imageUrl in a browser window? http://192.168.1.11:8084/camsnapshot.jpg?idx=2

For debugging:
Start Dashticz
Open DevTools by pressing F12
Refresh Dashticz
In the DevTools network tab filter on 'camsnapshot'
What is the reported status code?
And the response header?

Maybe you can obtain a jpg image from your camera directly (and bypass Domoticz)

Or, as an alternative, install motioneye. I use motioneye to transcode the rtsp stream to mjpeg.
Motioneye provides urls for the streaming video and for the still images. For me it works pretty well.

Re: dashticz beta 3.8.3 does not show camera preview blocks

Posted: Wednesday 07 July 2021 8:44
by Chris12
@Lokonli, I allready solved it but forgot to mention it here.

As I have domoticz running as a package and as a docker container both on my NAS (different ports 8084/8085) I forgot to change the url with the correct port, after deciding to work with domoticz in a docker container only.