Import weather data other than Wunderground
Moderators: leecollings, htilburgs, robgeerts
-
- Posts: 28
- Joined: Friday 01 December 2017 18:15
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Import weather data other than Wunderground
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. 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;
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. 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;
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Import weather data other than Wunderground
At the moment, it looks like this for me, any way to fix it (easily)
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
-
- Posts: 2262
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Import weather data other than Wunderground
It should work ...
Did you try refreshing the cache?
Maybe there accidentally is another row in your CONFIG.js with config['owm_days'] = 0 ?
-
- Posts: 742
- Joined: Saturday 30 May 2015 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Contact:
Re: Import weather data other than Wunderground
@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.
-
- Posts: 2262
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Import weather data other than Wunderground
I'll have a look.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.
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;
}
-
- Posts: 2262
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Import weather data other than Wunderground
or prevent the line wrapping with:Lokonli wrote: ↑Tuesday 05 March 2019 17:46I'll have a look.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.
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; }
Code: Select all
.weatherfull > .transbg {
height: 170px !important;
white-space: nowrap !important;
}
-
- Posts: 2262
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Import weather data other than Wunderground
Add the following to your custom/custom.js: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;
Code: Select all
.weatherfull > .transbg {
width: 20%;
}
-
- Posts: 742
- Joined: Saturday 30 May 2015 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Contact:
Re: Import weather data other than Wunderground
@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' )Lokonli wrote:or prevent the line wrapping with:Lokonli wrote: ↑Tuesday 05 March 2019 17:46I'll have a look.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.
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; }
Code: Select all
.weatherfull > .transbg { height: 170px !important; white-space: nowrap !important; }
-
- Posts: 28
- Joined: Friday 01 December 2017 18:15
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Import weather data other than Wunderground
Thanks.. that was the trickLokonli wrote: ↑Tuesday 05 March 2019 18:25Add the following to your custom/custom.js: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;Code: Select all
.weatherfull > .transbg { width: 20%; }
-
- Posts: 43
- Joined: Wednesday 06 February 2019 18:54
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Belgium
- Contact:
Re: Import weather data other than Wunderground
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 ?
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';
Last edited by TankySpanky on Tuesday 26 March 2019 21:17, edited 1 time in total.
Raspberry Pi 3 B+ & Domoticz Beta & Dashticz Beta = Headache :)
But it keeps you van the straat
But it keeps you van the straat
-
- Posts: 2262
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Import weather data other than Wunderground
Try withTankySpanky 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';
Code: Select all
config['owm_days'] = 1;
config['owm_cnt'] = '5';
-
- Posts: 43
- Joined: Wednesday 06 February 2019 18:54
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Belgium
- Contact:
Re: Import weather data other than Wunderground
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
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
Raspberry Pi 3 B+ & Domoticz Beta & Dashticz Beta = Headache :)
But it keeps you van the straat
But it keeps you van the straat
-
- Posts: 43
- Joined: Wednesday 06 February 2019 18:54
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Belgium
- Contact:
Re: Import weather data other than Wunderground
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
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
Raspberry Pi 3 B+ & Domoticz Beta & Dashticz Beta = Headache :)
But it keeps you van the straat
But it keeps you van the straat
-
- Posts: 32
- Joined: Saturday 03 August 2019 7:32
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: Netherlands, Heiloo
- Contact:
Re: Import weather data other than Wunderground
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:
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;
Starter RPi3B, Domoticz Stable 2020.2, 10x Qubino Mini Dimmer, 1x Qubino shutter
Plugwise Anna + Adam + 2x Koen-4 & 1x Floor; SolarEdge SE3000H
Dashticz v3
Plugwise Anna + Adam + 2x Koen-4 & 1x Floor; SolarEdge SE3000H
Dashticz v3
- HansieNL
- Posts: 957
- Joined: Monday 28 September 2015 15:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Import weather data other than Wunderground
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.
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.
Blah blah blah
-
- Posts: 86
- Joined: Wednesday 11 October 2017 8:50
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.1ß
- Location: Friesland
- Contact:
Re: Import weather data other than Wunderground
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:
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
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
Any ideas?
thanks
--
Domoticz on rPi4 - RFXCOM RFXtrx433 USB - ZW090 Z-Stick Gen5 EU - IKEA Tradfri - Philips HUE - YouLess meter - SolarEdge
Domoticz on rPi4 - RFXCOM RFXtrx433 USB - ZW090 Z-Stick Gen5 EU - IKEA Tradfri - Philips HUE - YouLess meter - SolarEdge
-
- Posts: 9
- Joined: Sunday 23 August 2020 20:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Latest
- Location: Nederland
- Contact:
Re: Import weather data other than Wunderground
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?
Maybe a problem in Dasticz V3.5-master?
-
- Posts: 9
- Joined: Sunday 23 August 2020 20:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Latest
- Location: Nederland
- Contact:
Re: Import weather data other than Wunderground
nobody who can point us at the right direction?
- HansieNL
- Posts: 957
- Joined: Monday 28 September 2015 15:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Import weather data other than Wunderground
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)?
What settings do you use (without API key)?
Blah blah blah
Who is online
Users browsing this forum: Bing [Bot] and 1 guest