dashticz beta 3.8.3 does not show camera preview blocks

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Post Reply
Chris12
Posts: 238
Joined: Tuesday 18 August 2020 8:41
Target OS: NAS (Synology & others)
Domoticz version: 2021.1
Location: NL
Contact:

dashticz beta 3.8.3 does not show camera preview blocks

Post 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
}
Domoticz beta | Dashticz beta | Synology DS415+ | Wall tablet Teclast 11.6inch (Android) | TADO v3 controlled heating
Lokonli
Posts: 2290
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: dashticz beta 3.8.3 does not show camera preview blocks

Post by Lokonli »

Ok, I'll check later this week

Verstuurd vanaf mijn AC2003 met Tapatalk

madradrakie
Posts: 64
Joined: Wednesday 11 September 2019 21:24
Target OS: -
Domoticz version:
Contact:

Re: dashticz beta 3.8.3 does not show camera preview blocks

Post 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.
Lokonli
Posts: 2290
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: dashticz beta 3.8.3 does not show camera preview blocks

Post 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.
Chris12
Posts: 238
Joined: Tuesday 18 August 2020 8:41
Target OS: NAS (Synology & others)
Domoticz version: 2021.1
Location: NL
Contact:

Re: dashticz beta 3.8.3 does not show camera preview blocks

Post 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.
Domoticz beta | Dashticz beta | Synology DS415+ | Wall tablet Teclast 11.6inch (Android) | TADO v3 controlled heating
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest