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.