Dashticz v3.8.2 beta: New weather block

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

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.8.2 beta: New weather block

Post by Chris12 »

Lokonli wrote: Sunday 02 May 2021 21:01
Chris12 wrote: Friday 30 April 2021 19:54
Lokonli wrote: Friday 30 April 2021 16:34 And if you like colored weather icons, try latest beta.
Nice adition, just tried it and is works fine.

Maybe also get an option to add the wind in the forecast overview as well, below the rain?
Like SW 3 or NO 15m/s etc.
Something like this?
weather4.jpg
I updated to the latest beta, the wind direction add-on is great!
Is this new wind feature also implemented in the weather layout type 3? Or are there new extra options/parameters there as well?
Domoticz beta | Dashticz beta | Synology DS415+ | Wall tablet Teclast 11.6inch (Android) | TADO v3 controlled heating
User avatar
jacobsentertainment
Posts: 221
Joined: Thursday 01 October 2020 1:47
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021-1
Location: Not @ home
Contact:

Re: Dashticz v3.8.2 beta: New weather block

Post by jacobsentertainment »

Hi all,
I got it working on three devices, my laptop, my phone, an small 10" tablet but on my 13" tablet I can only see an small icon where the weather should show up. Anybody has some toughts about this?

I did nothing with screen settings in the config, I tried it but did not had any results. Except my laptop all my other devices are Android devices.
Attachments
Naamloos.jpg
Naamloos.jpg (58.77 KiB) Viewed 1345 times
Last edited by jacobsentertainment on Friday 14 May 2021 16:46, edited 1 time in total.
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 »

jacobsentertainment wrote: Friday 14 May 2021 16:32 Hi all,
I got it working on three devices, my laptop, my phone, an small 10" tablet but on my 13" tablet I can only see an small icon where the weather should show up. Anybody has some toughts about this?

I did nothing with screen settings in the config, I tried it but did not had any results. Except my laptop all my other devices are Android devices.
Try to clear the cache and reload.
I’ve the same sometime and this works for me
-= HP server GEN11 =- OZW -=- Toon2 (rooted) -=- Domoticz v2024.7 -=- Dashticz v3.14b on Tab8" =-
User avatar
jacobsentertainment
Posts: 221
Joined: Thursday 01 October 2020 1:47
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021-1
Location: Not @ home
Contact:

Re: Dashticz v3.8.2 beta: New weather block

Post by jacobsentertainment »

madpatrick wrote: Friday 14 May 2021 16:37 Try to clear the cache and reload.
I’ve the same sometime and this works for me
:cry: No didn't work. I even installed Chrome :o
Tested out on several browsers:
  • Old android browser: works but then my "dial" type temperature doesn't seem to be working
  • Opera: Everything except the weather works.
  • Chrome : Same as the Opera browser.
  • Firefox can't be installed (no support)
  • Edge: same problem and some silly other browser to....
Renber
Posts: 41
Joined: Thursday 04 February 2021 8:10
Target OS: Linux
Domoticz version: Beta
Location: Belgium
Contact:

Re: Dashticz v3.8.2 beta: New weather block

Post by Renber »

Hello, I already had this problem. Try with this setting:
config['default_cors_url'] = '';
Linux Debian 12 Server: Domoticz beta + Dashticz beta + Node-Red + Homebridge
Lokonli
Posts: 2287
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v3.8.2 beta: New weather block

Post by Lokonli »

jacobsentertainment wrote: Friday 14 May 2021 17:20
madpatrick wrote: Friday 14 May 2021 16:37 Try to clear the cache and reload.
I’ve the same sometime and this works for me
:cry: No didn't work. I even installed Chrome :o
Tested out on several browsers:
  • Old android browser: works but then my "dial" type temperature doesn't seem to be working
  • Opera: Everything except the weather works.
  • Chrome : Same as the Opera browser.
  • Firefox can't be installed (no support)
  • Edge: same problem and some silly other browser to....
Double check that you are running Dashticz 3.8.2 or higher (it's reported if you click on the Dashticz settings icon, upper right)

Can you post your CONFIG.js?
Lokonli
Posts: 2287
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v3.8.2 beta: New weather block

Post by Lokonli »

jake wrote: Saturday 08 May 2021 14:36 The 'wind' option in the weather block takes quite a bit of real estate in the screen. Therefore a feature request:
Parameter 0, 1, 2 for: icon, text, both or something similar.
The showWind block parameter can be set to true/false to show/hide the wind info.
User avatar
jacobsentertainment
Posts: 221
Joined: Thursday 01 October 2020 1:47
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021-1
Location: Not @ home
Contact:

Re: Dashticz v3.8.2 beta: New weather block

Post by jacobsentertainment »

Lokonli wrote: Friday 14 May 2021 22:55 Double check that you are running Dashticz 3.8.2 or higher (it's reported if you click on the Dashticz settings icon, upper right)

Can you post your CONFIG.js?
Should be Ok
Attachments
Naamloos.jpg
Naamloos.jpg (114.24 KiB) Viewed 1319 times
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 only see v3.8.1 beta on Github, where to download the 3.8.2. version?
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 »

whoami wrote: Tuesday 25 May 2021 12:26 I only see v3.8.1 beta on Github, where to download the 3.8.2. version?
https://github.com/Dashticz/dashticz/tree/beta
Click Code and then Download zip
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 »

Or go with terminal into the dasticz folder and enter the git pull command. You will automatic get the latest version.
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 »

Hello,
I tested the thing below but nothing is showing!

Code: Select all

var config = {}
config['domoticz_ip'] = 'http://192.168.1.xxx:xxxx';
config['app_title'] = 'Dashticz V3';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['login_timeout'] = '60';
config['user_name'] = 'xxxxx';
config['pass_word'] = 'xxxxxx';
config['use_favorites'] = 1; //Request all Domoticz Devices, not only favorites
config['auto_positioning'] = 0; // Use 0 this if you have defined your own columns

config['owm_api'] = '5xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx2';
config['owm_city'] = 'xxxxx';
config['owm_name'] = 'Météo xxxxx';
config['owm_country'] = 'be';
config['owm_cnt'] = '4';
config['owm_days'] = 1; // Enter 1 for showing forecast in days, 0 for the OWM default 3 hour forecast
config['owm_lang'] = 'fr'; // Set language for de description of the forecast (rain, cloudy, etc.). For available languages, see https://openweathermap.org/forecast5/#multi
config['owm_min'] = 1; // Enter 1 to show min temperature on 2nd row
config['static_weathericons'] = 0; // Static or 'moving' weather icons

//Definition of blocks
blocks = {}
blocks['weather'] = {
type: 'weather',
apikey: '5xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx2', //Your OpenWeatherMap API key
city: 'xxxxx',
country: 'be',
lang: 'fr',
layout: 0, //Daily forecast
width: 12,
count: 3,
refresh: 1800,
static_weathericons: false,
decimals: 2,
showRain: true,
showDescription: true
}


//Definition of columns
columns = {}
columns[1] = {
 blocks : ['weather'],
 width : 8
}
An idea ?
;)
RaspberryPi - RFLink - Zwave - WH2600
Domoticz : 2020.2 | Dashticz : V3.12 Master | dzvents : 3.0.2 | Python : 3.7.3
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 »

Try favorits =0.
Btw. API key just once is oké so in the main prefs or in the block format
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 »

Dickey wrote: Wednesday 26 May 2021 9:56 Try favorits =0.
Btw. API key just once is oké so in the main prefs or in the block format
It's the same with favorits=0 .
Nothing is showing!
:?
RaspberryPi - RFLink - Zwave - WH2600
Domoticz : 2020.2 | Dashticz : V3.12 Master | dzvents : 3.0.2 | Python : 3.7.3
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 »

Try this code:

Code: Select all

var config = {}
config['domoticz_ip'] = '192.168.1.4;
config['app_title'] = 'Dashticz V3';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['login_timeout'] = '60';
config['user_name'] = 'user';
config['pass_word'] = 'pasword';
config['use_favorites'] = 0; //Request all Domoticz Devices, not only favorites
config['auto_positioning'] = 0; // Use 0 this if you have defined your own columns

config['owm_api'] = ''1234567890';
config['owm_city'] = 'Antwerpen';
config['owm_name'] = 'Antwerpen';
config['owm_country'] = 'be';
config['owm_cnt'] = '4';
config['owm_days'] = 1; // Enter 1 for showing forecast in days, 0 for the OWM default 3 hour forecast
config['owm_lang'] = 'fr'; // Set language for de description of the forecast (rain, cloudy, etc.). For available languages, see https://openweathermap.org/forecast5/#multi
config['owm_min'] = 1; // Enter 1 to show min temperature on 2nd row
config['static_weathericons'] = 0; // Static or 'moving' weather icons

//Definition of blocks

blocks = {}
blocks['weather_0'] = {
type: 'weather',
layout: 0, //Daily forecast
width: 12,
refresh: 1800,
static_weathericons: false,
decimals: 2,
showRain: true,
showDescription: true
}


//Definition of columns
columns[1] = {};
columns[1]['blocks'] = ['weather_0'];
columns[1]['width'] = 8;

var screens = {}

screens[1] = {}
screens[1]['columns'] = [1];
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 »

@Dickey
I tried your version but nothing is showing :?
Capture.PNG
Capture.PNG (119.25 KiB) Viewed 1242 times
RaspberryPi - RFLink - Zwave - WH2600
Domoticz : 2020.2 | Dashticz : V3.12 Master | dzvents : 3.0.2 | Python : 3.7.3
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.
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 »

@Doudy
Can you add the following line with code before your columns in your config.js:

Code: Select all

var columns = {}
And change blocks = {} to

Code: Select all

var blocks = {}
Tried the follwing code and is working here. Can you try and change <your_own_setting> to your own settings:

Code: Select all

var config = {}
config['domoticz_ip'] = '<your_own_setting>';
config['app_title'] = 'Dashticz V3';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['owm_api'] = '<your_own_setting>';
config['owm_city'] = '<your_own_setting>';
config['owm_name'] = '<your_own_setting>';
config['owm_country'] = 'nl';
config['owm_lang'] = 'nl';
config['owm_cnt'] = '4';


var blocks = {}

blocks['weather'] = {
type: 'weather',
layout: 0, //Daily forecast
width: 12,
refresh: 1800,
static_weathericons: false,
decimals: 2,
showRain: true,
showDescription: true
}


var columns = {}
columns['bar'] = {}
columns['bar']['blocks'] = ['logo','miniclock','settings']

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


var screens = {}
screens[1] = {}
screens[1]['background'] = 'bg2.jpg';
screens[1]['columns'] = [1]
You should get a page with a block like this:
Naamloos 1.jpg
Naamloos 1.jpg (157.81 KiB) Viewed 1236 times
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 »

@HansieNL:I tested the code, and did get the same result as you posted.
That's why i think he have to update Dashticz, course the weather module had a revision.
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 »

Dickey wrote: Wednesday 26 May 2021 16:45 What is you're Dasticz version?
See my signature : 3.8.0.2
Dickey wrote: Wednesday 26 May 2021 16:45 Go with terminal into the Dasticz folder and enter the git pull command. You will automatic get the latest version.

Code: Select all

pi@raspberrypi-185:~/dev/dashticz $ git pull
Déjà à jour.
;)
RaspberryPi - RFLink - Zwave - WH2600
Domoticz : 2020.2 | Dashticz : V3.12 Master | dzvents : 3.0.2 | Python : 3.7.3
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest