Dashticz v3.7.3 beta Topic is solved

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

pvklink
Posts: 822
Joined: Wednesday 12 November 2014 15:01
Target OS: Raspberry Pi / ODroid
Domoticz version: latest b
Contact:

Re: Dashticz v3.7.3 beta

Post by pvklink »

Lokonli wrote: Wednesday 27 January 2021 13:13 De eerste is geen ical formaat, maar een embedded Google calendar. Je kan die niet als een calendar block openen. Je kan het wel in een frame laten zien. bv:

Code: Select all

blocks['fr'] = {      
        frameurl: 'https://calendar.google.com/calendar/embed?src=63olkhhf2erjro0mvcdnvqpfqg%40group.calendar.google.com&ctz=Europe%2FAmsterdam',
        height: 400
}
De f1 kalender (2019?) bestaat niet meer. De link wordt doorgestuurd naar een andere website: ook geen ical file.
Strange because the previous dashticz beta did show this in
calendars.ado = {key:'dvado',maxitems: 20, icon: 'fas fa-volleyball-ball', url: 'https://calendar.google.com/calendar/em ... m',icalurl: 'https://calendar.google.com/calendar/ic ... /basic.ics' }
calendars.fam =
ado.jpg
ado.jpg (125.99 KiB) Viewed 1188 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
RezaRose
Posts: 65
Joined: Sunday 09 February 2020 11:34
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Holland
Contact:

Re: Dashticz v3.7.3 beta

Post by RezaRose »

Hi there,

I use OMW to show the weather. On my desktop it it showing fine. But on the samsung tab 4 it is showing empy blocks. I tried it in samsung browser and in Chrome. I tried to clear the cache too. Anyone knows why it is not showing?
Raspberry Pi 4 - Raspbian bullseye - Python 3.9 - stable
Dashticz on apache2 - Mqqt - node red
Zigate - USB Tll - Philips hue - Ikea - Innr - Xiaomi - TPlink - Nest -v3
Lokonli
Posts: 2262
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v3.7.3 beta

Post by Lokonli »

pvklink wrote: Wednesday 27 January 2021 14:29 OK, Thanks (bedankt :-)

Dashticz becomes more and more better.
Is the target the get rid of the var parts in custom.js and use block(s) for it?
I still use below vars, and just deleted the calenders and used blocks for it

Are there already alternatives like the calenderblock for below specials that i forgot to migrate?

Code: Select all

var _STREAMPLAYER_TRACKS =	[
var frames = {}
var publictransport = {}
var tvguide = {}
var buttons = {}
Sorry, my previous email was in Dutch :)

Dashticz supports 'inline block objects' as well as a reference to predefined blocks.

The following example will provide two identical frames:

Code: Select all


blocks['frameexample'] = {
   frameurl: 'https://dashticz.readtthedocs.org',
   height: 300
  }
  
 columns[1] = {
   blocks: [
   	'framexample',
   	{ frameurl: 'https://dashticz.readtthedocs.org',height: 300}
   ]
}
Most block types can be detected correctly based on existence of certain keys.

For instance:
frameurl -> frame
icalurl -> calendar
idx -> domoticzblock

If detection is not possible, you have to add the 'type' parameter.

'log' and 'moon' (and a lot more) are defined blocktypes. That means you can add 'moon' to a column directly, without defining blocks['moon'].

Although, via blocks['moon'] you can update the default moon parameters.

I hope it's clear ...
Lokonli
Posts: 2262
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v3.7.3 beta

Post by Lokonli »

pvklink wrote: Wednesday 27 January 2021 14:40
Strange because the previous dashticz beta did show this in
calendars.ado = {key:'dvado',maxitems: 20, icon: 'fas fa-volleyball-ball', url: 'https://calendar.google.com/calendar/em ... m',icalurl: 'https://calendar.google.com/calendar/ic ... /basic.ics' }
calendars.fam =

ado.jpg
This is a different icalurl compared to your earlier email. It's working:

Code: Select all

blocks['ado'] = {type: 'calendar',icon: 'fas fa-car',maxitems: 6,layout: 0,weeks: 5,lastweek: false,isoweek: true,width: 12,emptytext: 'Geen afspraken',
		icalurl: 'https://calendar.google.com/calendar/ical/63olkhhf2erjro0mvcdnvqpfqg%40group.calendar.google.com/public/basic.ics',
        }
pvklink
Posts: 822
Joined: Wednesday 12 November 2014 15:01
Target OS: Raspberry Pi / ODroid
Domoticz version: latest b
Contact:

Re: Dashticz v3.7.3 beta

Post by pvklink »

Yes you are right!
Just read the documentation, saw that you also made a new config for camera's, Great!
My desktop is now migrated, looks great!

Only have small problems on my wall tablet device
which has an own custom2 folder (which i migrated too) and
uses (screens['tablet'] = {maxwidth: 1024,maxheight: 768}

With the desktop version my horizontal swipe works as before
But with the wall tablet i get one long screen and the swiper does not work in that config anymore...
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
Lokonli
Posts: 2262
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v3.7.3 beta

Post by Lokonli »

Can be a caching issue.
can you try with:

http://dashticz ip:port/?folder=custom2

With this url the files in custom2 will be used for your configuration.

What is the tablet resolution?
pvklink
Posts: 822
Joined: Wednesday 12 November 2014 15:01
Target OS: Raspberry Pi / ODroid
Domoticz version: latest b
Contact:

Re: Dashticz v3.7.3 beta

Post by pvklink »

I did refresh the browser on the rpi
it is an original rpi touchscreen with a rpi 3b attached. Ist about 2-3 years old, one off the first original cap. touchscreens..
It was working with the previous beta...
It uses only the browser from this rpi to do a call to the production rpi with domoticz and dashticz

I use ipadres/dashticz/index2.html
Where do i place ?folder=custom2

When i use ipadres/dashticz/ i get my custom folder, (created for my desktop) and besides this is a mess because i get to much devices, the sliders work with the config in my custom folder...

and this is my settings from custom2

config['enable_swiper'] = 1;
config['auto_swipe_back_to'] = '1';
config['auto_swipe_back_after'] = '60';
config['auto_slide_pages'] = '0';
config['slide_effect'] = 'slide';

css
/* Swiper*/
.swiper-pagination-bullet {width: 35px !important;height: 35px !important;}
.swiper-pagination {text-align: right !important;}
Last edited by pvklink on Wednesday 27 January 2021 17:34, edited 1 time in total.
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
Lokonli
Posts: 2262
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v3.7.3 beta

Post by Lokonli »

pvklink wrote: Wednesday 27 January 2021 17:21 I did refresh the browser on the rpi
it is an original rpi touchscreen with a rpi 3b attached. Ist about 2-3 years old, one off the first original cap. touchscreens..
It was working with the previous beta...
It uses only the browser from this rpi to do a call to the production rpi with domoticz and dashticz

I use ipadres/dashticz/index2.html
Where do i place ?folder=custom2

and this is my settings

config['enable_swiper'] = 1;
config['auto_swipe_back_to'] = '1';
config['auto_swipe_back_after'] = '60';
config['auto_slide_pages'] = '0';
config['slide_effect'] = 'slide';

css
/* Swiper*/
.swiper-pagination-bullet {width: 35px !important;height: 35px !important;}
.swiper-pagination {text-align: right !important;}
The url then becomes: ipadres/dashticz/?folder=custom2

Did you already try with:
config['enable_swiper'] = 2;
pvklink
Posts: 822
Joined: Wednesday 12 November 2014 15:01
Target OS: Raspberry Pi / ODroid
Domoticz version: latest b
Contact:

Re: Dashticz v3.7.3 beta

Post by pvklink »

yes when i use ipadres/dashticz/?folder=custom2
the swipers are there!
Only my screen is a mess :-) and when using index2 the screen is perfect only no swipers and pages below each other

When using index2.html screen is perfect
with enable_swiper = 2 NO swiper
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
pvklink
Posts: 822
Joined: Wednesday 12 November 2014 15:01
Target OS: Raspberry Pi / ODroid
Domoticz version: latest b
Contact:

Re: Dashticz v3.7.3 beta

Post by pvklink »

When rename my dashticz folder to dashticz_new and copy back the prevous everything works perfect, custom and custom2
so it must be related to the latest beta
Last edited by pvklink on Wednesday 27 January 2021 22:24, edited 1 time in total.
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
Lokonli
Posts: 2262
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v3.7.3 beta

Post by Lokonli »

pvklink wrote: Wednesday 27 January 2021 17:38 yes when i use ipadres/dashticz/?folder=custom2
the swipers are there!
Only my screen is a mess :-) and when using index2 the screen is perfect only no swipers and pages below each other

When using index2.html screen is perfect
with enable_swiper = 2 NO swiper
I see I made a mistake with the link. it should be:
ipadres/dashticz/?folder=custom_2

Can you recheck?

if still not working, try:
ipadres/dashticz/index2.html?enable_swiper=2
Nefsolive
Posts: 69
Joined: Monday 04 September 2017 17:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v3.7.3 beta

Post by Nefsolive »

Hi Lokonli,

I update for the new version, everythink works great!
But in my spotify block, i see upside a bar! Like the image i send.
Iff i take off the spotify block they go out whit!
Sem Título.jpg
Sem Título.jpg (7.34 KiB) Viewed 1148 times
how take out this bar?

Ty and good job!
Lokonli
Posts: 2262
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v3.7.3 beta

Post by Lokonli »

Nefsolive wrote: Wednesday 27 January 2021 21:03 Hi Lokonli,

I update for the new version, everythink works great!
But in my spotify block, i see upside a bar! Like the image i send.
Iff i take off the spotify block they go out whit!

Sem Título.jpg

how take out this bar?

Ty and good job!
I see. It was a dummy placeholder. I've removed it in latest beta.

The spotify block needs some more rework: The playlist window is messed up. I"ll fix that later.
pvklink
Posts: 822
Joined: Wednesday 12 November 2014 15:01
Target OS: Raspberry Pi / ODroid
Domoticz version: latest b
Contact:

Re: Dashticz v3.7.3 beta

Post by pvklink »

Ok, i did a ipadres/dashticz/?folder=custom_2 and i have normal screens now, but vertical and not horizontal and no sliders....
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
Nefsolive
Posts: 69
Joined: Monday 04 September 2017 17:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v3.7.3 beta

Post by Nefsolive »

Lokonli wrote: Wednesday 27 January 2021 21:30
Nefsolive wrote: Wednesday 27 January 2021 21:03 Hi Lokonli,

I update for the new version, everythink works great!
But in my spotify block, i see upside a bar! Like the image i send.
Iff i take off the spotify block they go out whit!

Sem Título.jpg

how take out this bar?

Ty and good job!
I see. It was a dummy placeholder. I've removed it in latest beta.

The spotify block needs some more rework: The playlist window is messed up. I"ll fix that later.
Yes! Thanks. I ill be waiting.
Chris12
Posts: 238
Joined: Tuesday 18 August 2020 8:41
Target OS: NAS (Synology & others)
Domoticz version: 2021.1
Location: NL
Contact:

Re: Dashticz v3.7.3 beta

Post by Chris12 »

@Lokonli,

Just updated dashticz 5min ago using dashticz latest version from git (92 commits ahead of master).
Same issue also seen in previous 3.7.3 beta, I was running (88 commits ahead of master).

I think I found a bug:
When I use the settings button in dasticz and change nothing and do a save there by pushing the save button.
The dashticz config is then broken, and dashticz won't load anymore.

It seems that it deletes the following line of the garbage config:

Code: Select all

config['garbage_mapping'] = {
Domoticz beta | Dashticz beta | Synology DS415+ | Wall tablet Teclast 11.6inch (Android) | TADO v3 controlled heating
Lokonli
Posts: 2262
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v3.7.3 beta

Post by Lokonli »

Chris12 wrote: Thursday 28 January 2021 15:32 @Lokonli,

Just updated dashticz 5min ago using dashticz latest version from git (92 commits ahead of master).
Same issue also seen in previous 3.7.3 beta, I was running (88 commits ahead of master).

I think I found a bug:
When I use the settings button in dasticz and change nothing and do a save there by pushing the save button.
The dashticz config is then broken, and dashticz won't load anymore.

It seems that it deletes the following line of the garbage config:

Code: Select all

config['garbage_mapping'] = {
The save settings functionality indeed deletes all lines starting with config['
and then adds all config settings, as long as they have been defined in the Dashticz settings.

It's not so easy to fix this.

For the time being: don't save via the Dashticz menu when you have defined garbage_mapping in CONFIG.js.

I'll add this check in the next beta to prevent corruption of CONFIG.js.

Thanks for reporting.
User avatar
HansieNL
Posts: 957
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v3.7.3 beta

Post by HansieNL »

@Chris12 As far as I know you can add a tab before the config lines you don’t want to be deleted.
Blah blah blah
pvklink
Posts: 822
Joined: Wednesday 12 November 2014 15:01
Target OS: Raspberry Pi / ODroid
Domoticz version: latest b
Contact:

Re: Dashticz v3.7.3 beta

Post by pvklink »

Solved the problem with the vertical scrolling on my rpi touchscreen with the new beta!

I made a test dashticz for this rpi touchscreen with one device per page (i have 7 oages), and i have my swiper back!
So it must have something to do with the fact that my old pages fit on the screen with the previous beta and dont fit anymore on this beta...
Could be 1 pixel ?
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
Lokonli
Posts: 2262
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v3.7.3 beta

Post by Lokonli »

There are indeed some minor size changes. I would not expect that they influence the swiper.


Sent from my SM-A320FL using Tapatalk

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest