Dashticz IP Cameras - Features, Fixes & Updates

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Caminada
Posts: 5
Joined: Wednesday 09 October 2019 13:02
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.01
Location: The Hague
Contact:

Re: Dashticz IP Cameras - Features, Fixes & Updates

Post by Caminada »

Really like the camera blocks.

Struggling with the 'slidedelay' in the settings.
Slidedelay seems to be working fine when using Dashticz on a windows system browser.

When using Dashticz on my iPad the slidedelay function seems to be ignored. The slide function is always active.

Is that because of the touchscreen?
JuanUil
Posts: 497
Joined: Friday 22 May 2015 12:21
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.11083
Location: Asten NB Nederland
Contact:

Re: Dashticz IP Cameras - Features, Fixes & Updates

Post by JuanUil »

Hi all

I have 2 Foscam cameras (FI9900P).
In domoticz i can view them both.
I use this command http://192.168.x.x:88/cgi-bin/CGIProxy. ... &pwd=xxxxx
For 1 camara I have a picture in Dashticz, for the other one not.
in the console I get this for that camera:
Spoiler: show
Request URL: http://192.168.x.x:88/camsnapshot.jpg?i ... 0808698941
Request Method: GET
Status Code: 404 Not Found
Remote Address: 192.168.2.2:88
Referrer Policy: strict-origin-when-cross-origin
Content-Length: 345
Content-Type: text/html
Date: Sun, 17 Jan 2021 10:05:43 GMT
X-Frame-Options: SAMEORIGIN
Accept: image/avif,image/webp,image/apng,image/*,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: nl-NL,nl;q=0.9,en-US;q=0.8,en;q=0.7
Connection: keep-alive
Host: 192.168.x.x:88
Referer: http://192.xxx.x.xx:8082/
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36
idx: 3
t: 78002
count: 0?t=1610808698941
when I type this url

Code: Select all

Request URL: http://192.168.x.x:88/camsnapshot.jpg?idx=3&t=78002&count=0?t=1610808698941 
in the browser a I get a refused error

Here some pictures of the console:

Image

and

Image

Anybody any idea what could be wrong?

Regards Jan
Last edited by JuanUil on Monday 18 January 2021 10:18, edited 1 time in total.
Your mind is like a parachute,
It only works when it is opened!

RPI4 several Fibaro, KaKu, Neocoolcam switches, Z-Wave, Zigbee2Mqtt, Ikea bulbs and remote, Zigbee temp nodes
Lokonli
Posts: 2262
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz IP Cameras - Features, Fixes & Updates

Post by Lokonli »

There are 2 question marks in the request url. That won't work.

How did you define your blocks?

Sent from my SM-A320FL using Tapatalk

JuanUil
Posts: 497
Joined: Friday 22 May 2015 12:21
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.11083
Location: Asten NB Nederland
Contact:

Re: Dashticz IP Cameras - Features, Fixes & Updates

Post by JuanUil »

Hi Lokonli,

My block for the camera's:

Code: Select all

blocks["cameras"] = {
        type: "camera",
        cameras: [
                {
                        title: "Camera Achter",
                        imageUrl: "http://192.168.2.4:88/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=xxxxx&pwd=xxxxx",
                },
                {
                        title: "Camera Voor",
                        imageUrl: "http://192.168.2.2:88/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=xx&pwd=xxxxx",
                },
        ],
        width: 9,
        height: 250,
        refresh: 0.5,
        traytimeout: 3,
        slidedelay: 3,
        forcerefresh: 1,
};
This is the result:

Image
Last edited by JuanUil on Monday 18 January 2021 9:53, edited 2 times in total.
Your mind is like a parachute,
It only works when it is opened!

RPI4 several Fibaro, KaKu, Neocoolcam switches, Z-Wave, Zigbee2Mqtt, Ikea bulbs and remote, Zigbee temp nodes
User avatar
madpatrick
Posts: 637
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2024.7
Location: Netherlands
Contact:

Re: Dashticz IP Cameras - Features, Fixes & Updates

Post by madpatrick »

JuanUil wrote: Monday 18 January 2021 9:40 Hi Lokonli,

My block for the camera's:

Code: Select all

                {
                        title: "Camera Voor",
                        imageUrl: "http://192.168.2.2:88/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=XXXXXX&pwd=XXXXXXX",
You need to remove your username & password
-= HP server GEN8 Xeon(R) E3-1220L_V2 -=- OZW -=- Toon2 (rooted) -=- Domoticz v2024.7 -=- Dashticz v3.12b on Tab8" =-
JuanUil
Posts: 497
Joined: Friday 22 May 2015 12:21
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.11083
Location: Asten NB Nederland
Contact:

Re: Dashticz IP Cameras - Features, Fixes & Updates

Post by JuanUil »

did so and also corrected the url for camera achter.
tried the other url yesterday but also with no succes.
Your mind is like a parachute,
It only works when it is opened!

RPI4 several Fibaro, KaKu, Neocoolcam switches, Z-Wave, Zigbee2Mqtt, Ikea bulbs and remote, Zigbee temp nodes
User avatar
madpatrick
Posts: 637
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2024.7
Location: Netherlands
Contact:

Re: Dashticz IP Cameras - Features, Fixes & Updates

Post by madpatrick »

JuanUil wrote: Monday 18 January 2021 9:46 did so and also corrected the url for camera achter.
tried the other url yesterday but also with no succes.
I was refering to you post only, becasue this mentioned your username & password for the whole world
-= HP server GEN8 Xeon(R) E3-1220L_V2 -=- OZW -=- Toon2 (rooted) -=- Domoticz v2024.7 -=- Dashticz v3.12b on Tab8" =-
JuanUil
Posts: 497
Joined: Friday 22 May 2015 12:21
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.11083
Location: Asten NB Nederland
Contact:

Re: Dashticz IP Cameras - Features, Fixes & Updates

Post by JuanUil »

:oops: Thank you
Your mind is like a parachute,
It only works when it is opened!

RPI4 several Fibaro, KaKu, Neocoolcam switches, Z-Wave, Zigbee2Mqtt, Ikea bulbs and remote, Zigbee temp nodes
JuanUil
Posts: 497
Joined: Friday 22 May 2015 12:21
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.11083
Location: Asten NB Nederland
Contact:

Re: Dashticz IP Cameras - Features, Fixes & Updates

Post by JuanUil »

Found it!!!

I installed Ispy and found out that there are 2 commands for these camera's.
One is as I programmed in my block and works for 1 camera.
The other one is the same url but with an & at the end.
This one works for both cameras.

anyway thank you for the help.
Your mind is like a parachute,
It only works when it is opened!

RPI4 several Fibaro, KaKu, Neocoolcam switches, Z-Wave, Zigbee2Mqtt, Ikea bulbs and remote, Zigbee temp nodes
pvklink
Posts: 822
Joined: Wednesday 12 November 2014 15:01
Target OS: Raspberry Pi / ODroid
Domoticz version: latest b
Contact:

Re: Dashticz IP Cameras - Features, Fixes & Updates

Post by pvklink »

I fixed my entering username/pwd problem by adding two dials...
After clicking the dial, you can enter the u/p. After that it works perfect...
camsol.jpg
camsol.jpg (228.54 KiB) Viewed 2623 times
Raspberry (raspbian on rpi 3) , Domoticz Beta, dzVents , RFXtrx433e, P1, Hue, Yeelight, Zwave+, X10, ESP(easy), MQTT,Weather Underground, System Alive Checker, Domoticz Remote Server to RPI with Google Assistant,
Jablotron connection, Ikea
User avatar
kiddigital
Posts: 435
Joined: Thursday 10 August 2017 6:52
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Dashticz IP Cameras - Features, Fixes & Updates

Post by kiddigital »

The camera block works nicely, but I found that I can specify height, but that is in pixels (and default to 300 if not set) and the width is set in 'blocks' (12 in my case where I have 2 '12' wide columns, so 24 columns on screen).

Works fine for 1 screen (lo-res) as I can specify the height in relation to the 'relative' width (original is 1920x1080, but in my small 800x480px screen -> nicely resized to 384 pixels -> so height has to be set to 216).

But when I view this on a larger (laptop/IPad/etc) screen, the width of 12 is nicely adjusted (so on my 1920x1200 monitor -> the same image is 936px wide) but the height is 'stuck' on 216 :(

I would prefer to keep aspect ratio in tact so a height of '100%' for the image would be great. But that is not an acceptable value for Dashticz Camera block (at the moment).

Any suggestions (not a Javascript whiz, so better to ask than spend to much time trying to figure it out ;) ) ?
One RPi with Domoticz, RFX433e, aeon labs z-wave plus stick GEN5, ha-bridge 5.4.0 for Alexa, Philips Hue Bridge, Pimoroni Automation Hat
One RPi with Pi foundation standard touch screen to display Dashticz
Caminada
Posts: 5
Joined: Wednesday 09 October 2019 13:02
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.01
Location: The Hague
Contact:

Re: Dashticz IP Cameras - Features, Fixes & Updates

Post by Caminada »

kiddigital wrote: Wednesday 24 February 2021 20:36 The camera block works nicely, but I found that I can specify height, but that is in pixels (and default to 300 if not set) and the width is set in 'blocks' (12 in my case where I have 2 '12' wide columns, so 24 columns on screen).

Works fine for 1 screen (lo-res) as I can specify the height in relation to the 'relative' width (original is 1920x1080, but in my small 800x480px screen -> nicely resized to 384 pixels -> so height has to be set to 216).

But when I view this on a larger (laptop/IPad/etc) screen, the width of 12 is nicely adjusted (so on my 1920x1200 monitor -> the same image is 936px wide) but the height is 'stuck' on 216 :(

I would prefer to keep aspect ratio in tact so a height of '100%' for the image would be great. But that is not an acceptable value for Dashticz Camera block (at the moment).

Any suggestions (not a Javascript whiz, so better to ask than spend to much time trying to figure it out ;) ) ?
You can load Dashticz with a different config file on a different device, as explained here:
https://dashticz.readthedocs.io/en/mast ... ation.html
(look for "Dashticz URL parameters")
I use a different config file (folder actually) on my iPad, so I can completely customize the Dashticz for my iPad and my Laptop/Desktop
User avatar
kiddigital
Posts: 435
Joined: Thursday 10 August 2017 6:52
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Dashticz IP Cameras - Features, Fixes & Updates

Post by kiddigital »

Thx, did not know that.

Is indeed an option but also overkill for this case as there is only 1 attribute that is different.
I could opt to use the loading of a second config where it just overrides the camera block with this one attribute.

But if I could set it to ‘auto’ it works always. Also on ‘new’ devices that do not have there own config (addition).
One RPi with Domoticz, RFX433e, aeon labs z-wave plus stick GEN5, ha-bridge 5.4.0 for Alexa, Philips Hue Bridge, Pimoroni Automation Hat
One RPi with Pi foundation standard touch screen to display Dashticz
TroisSix
Posts: 91
Joined: Monday 11 January 2016 9:29
Target OS: -
Domoticz version: 2022.2
Location: France
Contact:

Re: Dashticz IP Cameras - Features, Fixes & Updates

Post by TroisSix »

Hi guys,
I really enjoy this module for the cameras, nice work 8-)

I have a question for you guy and a feature request:

1/ I have 4 cameras, and I wanted to see on my dashboard 3 little blocks (for 3 main cams), and my 4 cams in fullscreen on a specific page.
So I had no other way than create two blocks of cameras:
- first_block with 3 cameras: "cam1,cam2,cam3" with tiny specific dimensions width+height
- second_block with 4 cameras: still the "cam1,cam2,cam3" + "cam4" with specific dimensions width+height to have the 4 cams in fullscreen
Is it possible to create 4 separate blocks of cams, and be able to display them to a specific dimensions in the columns?

2/
Could it be possible to exclude some cameras from the carousel previews? cause with my config, I can see 3+4=7 cameras :lol:

Thanks for your help ;)
VM Debian - Domoticz stable v2023.1, RFXtrx433, Aeotec Z-Stick Gen5, APC ES700
- rts: dio, oregon, somfy
- zwave: fibaro fgs212, aeotec smart switch, vision ZG8101
- IO Homecontrol: Velux Connexoon
- logitech harmony hub, philips hue, gps Pilot
User avatar
Brutus
Posts: 249
Joined: Friday 26 September 2014 9:33
Target OS: Windows
Domoticz version:
Location: Netherlands
Contact:

Re: Dashticz IP Cameras - Features, Fixes & Updates

Post by Brutus »

Brutus wrote: Thursday 13 August 2020 1:13 I also have the same problems as others have mentioned:

When using the internet Domoticz Camera URL's Domoticz gets extremely slow. So its works but its not workable. The advantage is you don't have to authenticate to your camera. I can't disable the camera's authentication because its also connected to the internet.

It would be nice if it was possible to give the username or password in a way. I use a Axis ML3106-LVE camera and can't find an URL to use to get the Auth parameters in the same link: http://192.168.1.2/jpg/image.jpg?size=3 (before: http://user:[email protected]/jpg/image.jpg?size=3)

Also tested the use of HTTPS that's sometimes works but not in Dashticz.

So using the Domoticz URL for Camera makes everything slow.
Does anybody have the slow performance from Domoticz and Dashticz when using the Domoticz Camera URL's.
When the camera links are disabled everything is working fast. But when they are enabled after en little while Dashticz refreshes very slow and Domoticz is not responding.

I have this situation now on two different location (work and home).

Work: Domoticz 2020.2 on Virtual Dietpi with Dashticz. Using two camera's with 5 sec refresh time. Dashticz viewing on a RaspberryPi and a PC.
Home: Domoticz 2020.2 on Virtual Dietpi, Dashticz on different Virtual Dietpi. Using one camera 1 sec refresh time. Dashticz viewing on a tablet.

I notice at home when opening dashticz on a Computer the slow down kicks in. When only using the tablet its fine.

Hope someone can help.
Greetings.
1x Intel NUC8i5BEK (Windows 10 x64) Domoticz on Virtualbox with DietPi.
1x Aeon Labs USB Z-Stick S2
1x P1 Smart Meter USB
28x Fibaro Modules
SMA Solar System
Daikin Airco / Heating
Denon DHT-S716H & DSW-1H
Doudy
Posts: 246
Joined: Tuesday 09 August 2016 9:09
Target OS: -
Domoticz version:
Contact:

Re: Dashticz IP Cameras - Features, Fixes & Updates

Post by Doudy »

Trigun wrote: Monday 01 June 2020 12:21 I also have one RTSP camera which I’ve added to zoneminder. Zoneminder converts it to mjpeg stream and I’ve added that stream to both domoticz as well as dashticz.
Works great!
How did you do ?
I can't do it!
How to convert ?

:oops:
RaspberryPi - RFLink - Zwave - WH2600
Domoticz : 2020.2 | Dashticz : V3.12 Master | dzvents : 3.0.2 | Python : 3.7.3
Derik
Posts: 1601
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: Dashticz IP Cameras - Features, Fixes & Updates

Post by Derik »

Some one has a live youtube stream, or a live earth cam stream working, in Dashticz?
Try some sniffers, and different streams... Only no luck @ al..
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
houk
Posts: 17
Joined: Thursday 07 April 2016 16:53
Target OS: Linux
Domoticz version: 2023.2
Contact:

Re: Dashticz IP Cameras - Features, Fixes & Updates

Post by houk »

In chrome one of camera stopped working in dashticz and i see this in console

Subresource requests whose URLs contain embedded credentials (e.g. `https://user:pass@host/`) are blocked. See https://www.chromestatus.com/feature/5669008342777856 for more details.

Any idea how to bypass this?
Lokonli
Posts: 2262
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz IP Cameras - Features, Fixes & Updates

Post by Lokonli »

It's a limitation of Chrome.
Maybe I know a work-around. I'll make a new Dashticz beta version within the next few days.
nfuse
Posts: 32
Joined: Thursday 26 March 2020 11:37
Target OS: -
Domoticz version:
Contact:

Re: Dashticz IP Cameras - Features, Fixes & Updates

Post by nfuse »

maybe mentioned in this thread allready but all my problems went away when i started using motioneye you can set anything from passwords, frame-rate resolution etc and best of all it is free.
docker with sonos http api / mosquitto / zigbee2mqtt assistant / portainer / dashticz / nodeJS on windows with Zigbee2Mqtt, and some flask builds of my own
Post Reply

Who is online

Users browsing this forum: floris74 and 1 guest