Page 4 of 5
Re: Import weather data other than Wunderground
Posted: Wednesday 27 February 2019 9:16
by silver323
i have a question.
I have the counter on 5 days for the OWM so it shows 5 days.
But it's not showing on the whole lenght of the width.
- owm.JPG (40.08 KiB) Viewed 2229 times
How I get this done? Have this in the column code
columns[2] = {}
columns[2]['blocks'] = [
'currentweather_big_owm',
'weather_owm',
]
columns[2]['width'] = 5;
Re: Import weather data other than Wunderground
Posted: Wednesday 27 February 2019 12:34
by EdwinK
At the moment, it looks like this for me, any way to fix it (easily)
- Schermafbeelding 2019-02-27 om 12.33.56.png (63.01 KiB) Viewed 2226 times
Re: Import weather data other than Wunderground
Posted: Tuesday 05 March 2019 9:55
by arthur
I LOVE THIS NEW LOOK FOR THE WEATHER BLOCK! But running 2.5.6, I'm still not getting the day view. Am I overlooking a typo somewhere?
- Spoiler: show
- config['owm_api'] = '1234567890etcetera'; // Your OWM API key
config['owm_city'] = 'Utrecht, NL'; // Your city or nearby city to use in OWM
config['owm_name'] = 'Tuinwijk'; // If your city is not available with OWM, you have to use a nearby city. You can type the name of your own city here to show it in Dashticz
config['owm_country'] = 'nl'; // Your country to use in OWM
config['owm_cnt'] = 4; // Number of columns to show. If showing days, max is 5, (4 is recommended )
config['owm_days'] = 1; // Enter 1 for showing forecast in days, 0 for the OWM default 3 hour forecast
config['owm_min'] = 1; // Enter 1 to show min temperature on 2nd row
config['owm_lang'] = 'nl'; // Set language for de description of the forecast (rain, cloudy, etc.). For available languages, see https://openweathermap.org/forecast5/#multi
config['static_weathericons'] = 0; // Enter 1 for animated weather icons, 0 for static icons
- Spoiler: show
-
columns[3] = {}
columns[3]['blocks'] = ['blocktitle_3','sunrise',buttons.buienradar,'currentweather_big_owm','weather_owm']
columns[3]['width'] = 3;
Re: Import weather data other than Wunderground
Posted: Tuesday 05 March 2019 16:20
by Lokonli
arthur wrote: ↑Tuesday 05 March 2019 9:55
I LOVE THIS NEW LOOK FOR THE WEATHER BLOCK! But running 2.5.6, I'm still not getting the day view. Am I overlooking a typo somewhere?
- Spoiler: show
- config['owm_api'] = '1234567890etcetera'; // Your OWM API key
config['owm_city'] = 'Utrecht, NL'; // Your city or nearby city to use in OWM
config['owm_name'] = 'Tuinwijk'; // If your city is not available with OWM, you have to use a nearby city. You can type the name of your own city here to show it in Dashticz
config['owm_country'] = 'nl'; // Your country to use in OWM
config['owm_cnt'] = 4; // Number of columns to show. If showing days, max is 5, (4 is recommended )
config['owm_days'] = 1; // Enter 1 for showing forecast in days, 0 for the OWM default 3 hour forecast
config['owm_min'] = 1; // Enter 1 to show min temperature on 2nd row
config['owm_lang'] = 'nl'; // Set language for de description of the forecast (rain, cloudy, etc.). For available languages, see https://openweathermap.org/forecast5/#multi
config['static_weathericons'] = 0; // Enter 1 for animated weather icons, 0 for static icons
- Spoiler: show
-
columns[3] = {}
columns[3]['blocks'] = ['blocktitle_3','sunrise',buttons.buienradar,'currentweather_big_owm','weather_owm']
columns[3]['width'] = 3;
It should work ...
Did you try refreshing the cache?
Maybe there accidentally is another row in your CONFIG.js with config['owm_days'] = 0 ?
Re: Import weather data other than Wunderground
Posted: Tuesday 05 March 2019 16:58
by jake
Lokonli wrote: ↑Tuesday 05 March 2019 16:20
...
It should work ...
Did you try refreshing the cache?
Maybe there accidentally is another row in your CONFIG.js with config['owm_days'] = 0 ?
@Lokonli
Can you please have a look at the varying column height per day/time slot? As shown above in my screenshot a few posts back, it can have big impact on screen layout. It would be nice when the columns would always be of equal height and the same height. Therefore my suggestion to reserve a 2nd line for the weather forecast text.
Re: Import weather data other than Wunderground
Posted: Tuesday 05 March 2019 17:46
by Lokonli
jake wrote: ↑Tuesday 05 March 2019 16:58
@Lokonli
Can you please have a look at the varying column height per day/time slot? As shown above in my screenshot a few posts back, it can have big impact on screen layout. It would be nice when the columns would always be of equal height and the same height. Therefore my suggestion to reserve a 2nd line for the weather forecast text.
I'll have a look.
As a partial fix, add the following to custom.css for a fixed height of the complete block:
Code: Select all
.weatherfull > .transbg {
height: 250px !important;
}
Re: Import weather data other than Wunderground
Posted: Tuesday 05 March 2019 17:55
by Lokonli
Lokonli wrote: ↑Tuesday 05 March 2019 17:46
jake wrote: ↑Tuesday 05 March 2019 16:58
@Lokonli
Can you please have a look at the varying column height per day/time slot? As shown above in my screenshot a few posts back, it can have big impact on screen layout. It would be nice when the columns would always be of equal height and the same height. Therefore my suggestion to reserve a 2nd line for the weather forecast text.
I'll have a look.
As a partial fix, add the following to custom.css for a fixed height of the complete block:
Code: Select all
.weatherfull > .transbg {
height: 250px !important;
}
or prevent the line wrapping with:
Code: Select all
.weatherfull > .transbg {
height: 170px !important;
white-space: nowrap !important;
}
Re: Import weather data other than Wunderground
Posted: Tuesday 05 March 2019 18:25
by Lokonli
silver323 wrote: ↑Wednesday 27 February 2019 9:16
i have a question.
I have the counter on 5 days for the OWM so it shows 5 days.
But it's not showing on the whole lenght of the width.
owm.JPG
How I get this done? Have this in the column code
columns[2] = {}
columns[2]['blocks'] = [
'currentweather_big_owm',
'weather_owm',
]
columns[2]['width'] = 5;
Add the following to your custom/custom.js:
Code: Select all
.weatherfull > .transbg {
width: 20%;
}
Re: Import weather data other than Wunderground
Posted: Tuesday 05 March 2019 22:46
by jake
Lokonli wrote:Lokonli wrote: ↑Tuesday 05 March 2019 17:46
jake wrote: ↑Tuesday 05 March 2019 16:58
@Lokonli
Can you please have a look at the varying column height per day/time slot? As shown above in my screenshot a few posts back, it can have big impact on screen layout. It would be nice when the columns would always be of equal height and the same height. Therefore my suggestion to reserve a 2nd line for the weather forecast text.
I'll have a look.
As a partial fix, add the following to custom.css for a fixed height of the complete block:
Code: Select all
.weatherfull > .transbg {
height: 250px !important;
}
or prevent the line wrapping with:
Code: Select all
.weatherfull > .transbg {
height: 170px !important;
white-space: nowrap !important;
}
@Lokonli, thanks, I tuned it to 195px to achieve a proper height and included the nowrapping as well. Now I have to wait for such a weather forecast where the linewrapping would occur normally (let's hope this takes a long time, since I have no issues with the text 'sunny'
)
Re: Import weather data other than Wunderground
Posted: Wednesday 06 March 2019 14:23
by silver323
Lokonli wrote: ↑Tuesday 05 March 2019 18:25
silver323 wrote: ↑Wednesday 27 February 2019 9:16
i have a question.
I have the counter on 5 days for the OWM so it shows 5 days.
But it's not showing on the whole lenght of the width.
owm.JPG
How I get this done? Have this in the column code
columns[2] = {}
columns[2]['blocks'] = [
'currentweather_big_owm',
'weather_owm',
]
columns[2]['width'] = 5;
Add the following to your custom/custom.js:
Code: Select all
.weatherfull > .transbg {
width: 20%;
}
Thanks.. that was the trick
Re: Import weather data other than Wunderground
Posted: Tuesday 26 March 2019 21:02
by TankySpanky
Hello,
I have copied some settings from this thread but still i only get the 3 hour info,
I would like to have the 5 days view.
Is there a special setting i need to do ?
Code: Select all
config['owm_country'] = 'BE';
config['owm_lang'] = 'nl_NL';
config['owm_days'] = '1';
config['owm_cnt'] = '6';
Re: Import weather data other than Wunderground
Posted: Tuesday 26 March 2019 21:10
by Lokonli
TankySpanky wrote: ↑Tuesday 26 March 2019 21:02
Hello,
I have copied some settings from this thread but still i only get the 3 hour info,
I would like to have the 5 days view.
Is there a special setting i need to do ?
Code: Select all
config['owm_country'] = 'BE';
config['owm_lang'] = 'nl_NL';
config['owm_days'] = '6';
config['owm_cnt'] = '6';
Try with
Code: Select all
config['owm_days'] = 1;
config['owm_cnt'] = '5';
Re: Import weather data other than Wunderground
Posted: Tuesday 26 March 2019 21:21
by TankySpanky
Ty Lokonli,
But still same result
I tried also to change it in the settings.js
both settings are the same now but only 3 hours info
- dashticz-1.jpg (199.38 KiB) Viewed 1980 times
Re: Import weather data other than Wunderground
Posted: Tuesday 26 March 2019 21:50
by TankySpanky
Tis oplost
I found the problem, somewhere was stil a "days =0" far hidden in the long list of items
Pffft gives me a headache
hahahaha
Back to the other parts the agenda......
ty for the help matey
Re: Import weather data other than Wunderground
Posted: Thursday 16 July 2020 15:55
by mojojojo490
Hi all, i have for now the OWM in Dashticz included.
The language is set to nl.
But, the language on the day's won't change to nl.....
Does anyone have a clue how to fix it?
My code is:
Code: Select all
config['owm_api'] = 'my-own-api-key';
config['owm_city'] = 'Heiloo';
config['owm_name'] = '';
config['owm_country'] = 'nl';
config['owm_lang'] = 'nl';
config['owm_cnt'] = '5';
config['owm_days'] = 1;
config['owm_min'] = 1;
config['static_weathericons'] = 0;
Re: Import weather data other than Wunderground
Posted: Thursday 16 July 2020 16:49
by HansieNL
Have you set config['language'] = 'nl_NL'; ?
If so you can try to change to en_US, refresh your browser and change it back to nl_NL and refresh your browser.
Or try to load Dashticz in incognito mode.
Most of the time is this kind of “problem” a cache issue.
Re: Import weather data other than Wunderground
Posted: Monday 24 August 2020 20:52
by Sarcas
Absoluut beginner here. Trying my first dashboard with my OpenWeatherMap settings. I get the layout of the blocks, but they are empty. When I test in Chrome the server response I get this link:
Code: Select all
http://192.168.8.156:8082/0https://api.openweathermap.org/data/2.5/weather?id=<mycitycode>&appid=<myapi>&lang=0&units=metric
When I only paste the part after my local address, I get all the api data just fine. I have no idea what I am doing wrong, my settings look like all the examples here.
Any ideas?
thanks
Re: Import weather data other than Wunderground
Posted: Monday 24 August 2020 21:38
by Backlash
Got the same issue, in domoticz is works fine but only in dashticz the blocks are empty.
Maybe a problem in Dasticz V3.5-master?
Re: Import weather data other than Wunderground
Posted: Sunday 20 September 2020 18:39
by Backlash
nobody who can point us at the right direction?
Re: Import weather data other than Wunderground
Posted: Sunday 20 September 2020 19:29
by HansieNL
Just tried my config with Dashticz 3.5 master and the 'weather_owm' block has no problem.
What settings do you use (without API key)?