Page 4 of 7

Re: Dashticz v3.8.2 beta: New weather block

Posted: Monday 10 May 2021 13:15
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?

Re: Dashticz v3.8.2 beta: New weather block

Posted: Friday 14 May 2021 16:32
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.

Re: Dashticz v3.8.2 beta: New weather block

Posted: Friday 14 May 2021 16:37
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

Re: Dashticz v3.8.2 beta: New weather block

Posted: Friday 14 May 2021 17:20
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....

Re: Dashticz v3.8.2 beta: New weather block

Posted: Friday 14 May 2021 21:23
by Renber
Hello, I already had this problem. Try with this setting:
config['default_cors_url'] = '';

Re: Dashticz v3.8.2 beta: New weather block

Posted: Friday 14 May 2021 22:55
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?

Re: Dashticz v3.8.2 beta: New weather block

Posted: Friday 14 May 2021 23:02
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.

Re: Dashticz v3.8.2 beta: New weather block

Posted: Saturday 15 May 2021 1:03
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

Re: Dashticz v3.8.2 beta: New weather block

Posted: Tuesday 25 May 2021 12:26
by whoami
I only see v3.8.1 beta on Github, where to download the 3.8.2. version?

Re: Dashticz v3.8.2 beta: New weather block

Posted: Tuesday 25 May 2021 18:18
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

Re: Dashticz v3.8.2 beta: New weather block

Posted: Tuesday 25 May 2021 18:43
by Dickey
Or go with terminal into the dasticz folder and enter the git pull command. You will automatic get the latest version.

Re: Dashticz v3.8.2 beta: New weather block

Posted: Wednesday 26 May 2021 9:03
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 ?
;)

Re: Dashticz v3.8.2 beta: New weather block

Posted: Wednesday 26 May 2021 9:56
by Dickey
Try favorits =0.
Btw. API key just once is oké so in the main prefs or in the block format

Re: Dashticz v3.8.2 beta: New weather block

Posted: Wednesday 26 May 2021 11:16
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!
:?

Re: Dashticz v3.8.2 beta: New weather block

Posted: Wednesday 26 May 2021 12:36
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];

Re: Dashticz v3.8.2 beta: New weather block

Posted: Wednesday 26 May 2021 16:40
by Doudy
@Dickey
I tried your version but nothing is showing :?
Capture.PNG
Capture.PNG (119.25 KiB) Viewed 1258 times

Re: Dashticz v3.8.2 beta: New weather block

Posted: Wednesday 26 May 2021 16:45
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.

Re: Dashticz v3.8.2 beta: New weather block

Posted: Wednesday 26 May 2021 17:18
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 1252 times

Re: Dashticz v3.8.2 beta: New weather block

Posted: Wednesday 26 May 2021 18:42
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.

Re: Dashticz v3.8.2 beta: New weather block

Posted: Thursday 27 May 2021 7:50
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.
;)