Dashticz v3.8.2 beta: New weather block

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Doudy
Posts: 246
Joined: Tuesday 09 August 2016 9:09
Target OS: -
Domoticz version:
Contact:

Re: Dashticz v3.8.2 beta: New weather block

Post by Doudy »

Hello,
I have install the last version V3.8.2 beta
Capture.PNG
Capture.PNG (1.87 KiB) Viewed 1438 times
Now it is ok
Capture.PNG
Capture.PNG (120.85 KiB) Viewed 1438 times
Another question : Why are the days in English?
My config :

Code: Select all

config['owm_api'] = '5xxxxx2';
config['owm_city'] = 'Rxxxxxx';
config['owm_name'] = 'Météo Rxxxxxx';
config['owm_country'] = 'be';
config['owm_lang'] = 'fr';
config['owm_cnt'] = '4';
config['owm_days'] = true;
;)
RaspberryPi - RFLink - Zwave - WH2600
Domoticz : 2020.2 | Dashticz : V3.12 Master | dzvents : 3.0.2 | Python : 3.7.3
User avatar
HansieNL
Posts: 964
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v3.8.2 beta: New weather block

Post by HansieNL »

@Doudy
Days are in English (default) if you don't have set any language.
There are two language settings to set the Dashticz language:

Code: Select all

config['language'] = 'nl_NL';
config['calendarlanguage'] = 'nl_NL';
Complete settings overview you can find in the manual: https://dashticz.readthedocs.io/en/beta/
Blah blah blah
Dickey
Posts: 25
Joined: Friday 19 April 2019 22:29
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.1
Location: Netherlands
Contact:

Re: Dashticz v3.8.2 beta: New weather block

Post by Dickey »

@Doudy
It's very important to read the manual ( as HansieNL suggested).

My way of getting a nice dashboard and complete the config, is try and error. :D :D
Dz-beta | Dashticz 3.8.10 BETA | Tradfri | RF-Link | Z-Wave | Harmony | Unify | P1 |
Doudy
Posts: 246
Joined: Tuesday 09 August 2016 9:09
Target OS: -
Domoticz version:
Contact:

Re: Dashticz v3.8.2 beta: New weather block

Post by Doudy »

@ HansieNL
@ Dickey
👍
RaspberryPi - RFLink - Zwave - WH2600
Domoticz : 2020.2 | Dashticz : V3.12 Master | dzvents : 3.0.2 | Python : 3.7.3
TroisSix
Posts: 92
Joined: Monday 11 January 2016 9:29
Target OS: -
Domoticz version: 2022.2
Location: France
Contact:

Re: Dashticz v3.8.2 beta: New weather block

Post by TroisSix »

Hi,
I just updated to the last version, but the weatherwidget.io is not working anymore, I understand there is a new way to configure the weather widget, but why disable the weatherwidget.io within a html frame?

This one is not working anymore:
https://dashticz.readthedocs.io/en/beta ... stom-block

Need help to keep it cause the colors are really nice ;)
VM Debian - Domoticz stable v2024.7, RFXtrx433, Aeotec Z-Stick Gen5, Two APC
- rts: dio, oregon, somfy
- zwave: fibaro fgs212, aeotec smart switch, vision ZG8101
- IO Homecontrol: Velux Connexoon
- logitech harmony hub, philips hue, Pilot app.
User avatar
HansieNL
Posts: 964
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v3.8.2 beta: New weather block

Post by HansieNL »

TroisSix wrote: Saturday 29 May 2021 11:51 Hi,
I just updated to the last version, but the weatherwidget.io is not working anymore, I understand there is a new way to configure the weather widget, but why disable the weatherwidget.io within a html frame?

This one is not working anymore:
https://dashticz.readthedocs.io/en/beta ... stom-block

Need help to keep it cause the colors are really nice ;)
Are you sure? It's still working here with latest beta.
Blah blah blah
TroisSix
Posts: 92
Joined: Monday 11 January 2016 9:29
Target OS: -
Domoticz version: 2022.2
Location: France
Contact:

Re: Dashticz v3.8.2 beta: New weather block

Post by TroisSix »

Hi HansieNL,
You're right, sorry, that's working on my iPad & IE, but not on firefox anymore (I cleared my cache) :shock:

Anyway, I configured the weather with the new method and I'll keep it now 8-)
Improvments: could it be possible to have an abbreviation of the days (like mon. instead of monday) ?

Great work team!
VM Debian - Domoticz stable v2024.7, RFXtrx433, Aeotec Z-Stick Gen5, Two APC
- rts: dio, oregon, somfy
- zwave: fibaro fgs212, aeotec smart switch, vision ZG8101
- IO Homecontrol: Velux Connexoon
- logitech harmony hub, philips hue, Pilot app.
riko
Posts: 90
Joined: Saturday 22 August 2020 13:36
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v3.8.2 beta: New weather block

Post by riko »

Thanks for the update, it sounds great to have more configuration parameters. Only problem is that I cannot get it working (nothing is showed at all on the screen/column where I insert the widget. I use the following code (as in the example)

Code: Select all

config['owm_api'] = 'xxxx';
config['owm_city'] = 'Utrecht';
config['owm_name'] = '';
config['owm_country'] = 'nl';
config['owm_lang'] = 'nl';
config['owm_cnt'] = '5';
config['owm_min'] = true;
config['static_weathericons'] = false;
config['use_beaufort'] = true;


blocks['weather1'] = {
    type: 'weather',
    layout: 1,
    count: 7,
    interval: 3,
}


columns[1] = {}
columns[1]['blocks']  = ['weather1', 'cameras', 'spotify']
columns[1]['width']   = 5;


screens[1] = {}
screens[1]['background'] = 'bg_rik_1.jpg';
screens[1]['columns'] = [1,2,3]


I've also tried variants like

Code: Select all

blocks['weather1'] = {
  type: 'weather',
  apikey: 'xxx', 
  city: 'Amsterdam',
}
I've also cleared the browser cache to be sure. What do I do wrongly?
whoami
Posts: 73
Joined: Tuesday 31 March 2020 22:31
Target OS: -
Domoticz version:
Location: Dutch
Contact:

Re: Dashticz v3.8.2 beta: New weather block

Post by whoami »

I tried all the CSS custom padding adjustments, but I can't get the yellow space smaller.
What is the code to remove this or make it smaller?

Or even better, set a fixed height to the block with all icons and text automatically adjusted to the right size... :)
Knipsel.JPG
Knipsel.JPG (25.91 KiB) Viewed 1344 times
TroisSix
Posts: 92
Joined: Monday 11 January 2016 9:29
Target OS: -
Domoticz version: 2022.2
Location: France
Contact:

Re: Dashticz v3.8.2 beta: New weather block

Post by TroisSix »

@whoami
You could try this:

Code: Select all

[data-id='weather'] .max {padding-top:0px !important;}
[data-id='weather'] .description {padding-bottom:0px !important;}
VM Debian - Domoticz stable v2024.7, RFXtrx433, Aeotec Z-Stick Gen5, Two APC
- rts: dio, oregon, somfy
- zwave: fibaro fgs212, aeotec smart switch, vision ZG8101
- IO Homecontrol: Velux Connexoon
- logitech harmony hub, philips hue, Pilot app.
User avatar
HansieNL
Posts: 964
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v3.8.2 beta: New weather block

Post by HansieNL »

riko wrote: Thursday 10 June 2021 11:17 Thanks for the update, it sounds great to have more configuration parameters. Only problem is that I cannot get it working (nothing is showed at all on the screen/column where I insert the widget. I use the following code (as in the example)
Spoiler: show

Code: Select all

config['owm_api'] = 'xxxx';
config['owm_city'] = 'Utrecht';
config['owm_name'] = '';
config['owm_country'] = 'nl';
config['owm_lang'] = 'nl';
config['owm_cnt'] = '5';
config['owm_min'] = true;
config['static_weathericons'] = false;
config['use_beaufort'] = true;


blocks['weather1'] = {
    type: 'weather',
    layout: 1,
    count: 7,
    interval: 3,
}


columns[1] = {}
columns[1]['blocks']  = ['weather1', 'cameras', 'spotify']
columns[1]['width']   = 5;


screens[1] = {}
screens[1]['background'] = 'bg_rik_1.jpg';
screens[1]['columns'] = [1,2,3]


I've also tried variants like
Spoiler: show

Code: Select all

blocks['weather1'] = {
  type: 'weather',
  apikey: 'xxx', 
  city: 'Amsterdam',
}
I've also cleared the browser cache to be sure. What do I do wrongly?
Tried your config and shows without problems. Can you try to load a config with just the OWM block and see if that works.
Blah blah blah
riko
Posts: 90
Joined: Saturday 22 August 2020 13:36
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v3.8.2 beta: New weather block

Post by riko »

HansieNL wrote: Saturday 12 June 2021 16:34 Tried your config and shows without problems. Can you try to load a config with just the OWM block and see if that works.
Just tried to bring down the code. This is all I have left:

Code: Select all

var config = {}
config['language'] = 'nl_NL'; //or: en_US, de_DE, fr_FR, hu_HU, it_IT, pt_PT, sv_SV
config['background_image'] = 'img/bg9.jpg';
config['domoticz_ip'] = 'http://192.168.1.100:8080';
config['app_title'] = 'xxxx';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';


//Definition of blocks
var blocks = {}


config['owm_api'] = 'xxxx';
config['owm_city'] = 'Utrecht';
config['owm_name'] = '';
config['owm_country'] = 'nl';
config['owm_lang'] = 'nl';
config['owm_cnt'] = '5';
config['owm_min'] = true;
config['static_weathericons'] = false;
config['use_beaufort'] = true;

blocks['weather1'] = {
    type: 'weather',
    layout: 1,
    count: 7,
    interval: 3,
}

//Buttons


//Definition of columns - 12 in totaal
var columns = {}

columns['bar'] = {}

columns['bar']['blocks'] = ['logo','miniclock','settings']

columns[1] = {}
columns[1]['blocks']  = ['weather1']
columns[1]['width']   = 5;


//Definition of screens
var screens = {}

screens[1] = {}
screens[1]['columns'] = [1]
Still a blank screen as result:
Knipsel_resize.PNG
Knipsel_resize.PNG (182.84 KiB) Viewed 1302 times
Dickey
Posts: 25
Joined: Friday 19 April 2019 22:29
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.1
Location: Netherlands
Contact:

Re: Dashticz v3.8.2 beta: New weather block

Post by Dickey »

What is you're Dasticz version?

Go with terminal into the Dasticz folder and enter the git pull command. You will automatic get the latest version.

You need V3.8.3 beta
Think that's you're problem.
Dz-beta | Dashticz 3.8.10 BETA | Tradfri | RF-Link | Z-Wave | Harmony | Unify | P1 |
riko
Posts: 90
Joined: Saturday 22 August 2020 13:36
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v3.8.2 beta: New weather block

Post by riko »

I did, that was the reason why the other OWMs components were not working.

Just did a retry:
pi@raspberrypi:~/dashticz $ git pull
Already up to date.
Dickey
Posts: 25
Joined: Friday 19 April 2019 22:29
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.1
Location: Netherlands
Contact:

Re: Dashticz v3.8.2 beta: New weather block

Post by Dickey »

Did try you're config with my credentials. Looks good to me.
Dz-beta | Dashticz 3.8.10 BETA | Tradfri | RF-Link | Z-Wave | Harmony | Unify | P1 |
User avatar
HansieNL
Posts: 964
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v3.8.2 beta: New weather block

Post by HansieNL »

riko wrote: Sunday 13 June 2021 12:01 I did, that was the reason why the other OWMs components were not working.
Does that mean it is working now?
Blah blah blah
riko
Posts: 90
Joined: Saturday 22 August 2020 13:36
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v3.8.2 beta: New weather block

Post by riko »

Sorry i was not clear in my previous post. The weather blocks are still not working and i have no clue of the problem. Any ideas?
Dickey
Posts: 25
Joined: Friday 19 April 2019 22:29
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.1
Location: Netherlands
Contact:

Re: Dashticz v3.8.2 beta: New weather block

Post by Dickey »

riko wrote: Sunday 13 June 2021 22:21 Sorry i was not clear in my previous post. The weather blocks are still not working and i have no clue of the problem. Any ideas?
Please look at you're menubar at info to see the version you use. Make a screen print.

Image
Dz-beta | Dashticz 3.8.10 BETA | Tradfri | RF-Link | Z-Wave | Harmony | Unify | P1 |
riko
Posts: 90
Joined: Saturday 22 August 2020 13:36
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v3.8.2 beta: New weather block

Post by riko »

Please see my version:
Knipsel.PNG
Knipsel.PNG (223.31 KiB) Viewed 1242 times
I was also able to see that the configuration was prefilled like this
Knipsel2.PNG
Knipsel2.PNG (156.47 KiB) Viewed 1242 times
User avatar
madpatrick
Posts: 662
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2024.7
Location: Netherlands
Contact:

Re: Dashticz v3.8.2 beta: New weather block

Post by madpatrick »

riko wrote: Monday 14 June 2021 15:59 Please see my version:
Knipsel.PNG

I was also able to see that the configuration was prefilled like this
Knipsel2.PNG
As mentioned by Dicky, you probably need to upgrade to 3.8.3 BETA
You are on 3.8.0 master.
-= HP server GEN11 =- OZW -=- Toon2 (rooted) -=- Domoticz v2024.7 -=- Dashticz v3.14b on Tab8" =-
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest