Page 5 of 5
Re: Import weather data other than Wunderground
Posted: Monday 21 September 2020 9:51
by Lokonli
Backlash wrote: ↑Sunday 20 September 2020 18:39
nobody who can point us at the right direction?
If I look at the post of @Sarcas then the link seems to incorrect.
The OWM data is loaded via the CORS proxy, but that part is missing in the url. It should start with:
Code: Select all
http://<domoticz ip:port>/vendor/dashticz/cors.php?https://api.openweathermap.org/data/2.5/weather?id=...
So I think there is something wrong with the CORS setting in CONFIG.js.
On the other hand:
There is no need for using the CORS proxy for the OWM data. In the latest beta I removed the CORS proxy for OWM data. I expect that will solve your issue.
Re: Import weather data other than Wunderground
Posted: Monday 21 September 2020 12:05
by Sarcas
I am running beta version 3.5.2. Afaik it is the latest version.
- Schermafbeelding 2.png (393.6 KiB) Viewed 1192 times
Re: Import weather data other than Wunderground
Posted: Monday 21 September 2020 13:02
by Lokonli
I did not update the version number yet. Try to update with git pull, or download from Github.
Sent from my SM-A320FL using Tapatalk
Re: Import weather data other than Wunderground
Posted: Monday 21 September 2020 16:16
by Backlash
HansieNL wrote: ↑Sunday 20 September 2020 19:29
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)?
changed from V3.5 master to V3.5.2 beta and problem solved
git fetch origin
git checkout beta
git pull
Re: Import weather data other than Wunderground
Posted: Monday 21 September 2020 18:07
by Sarcas
Lokonli wrote: ↑Monday 21 September 2020 13:02
I did not update the version number yet. Try to update with git pull, or download from Github.
Sent from my SM-A320FL using Tapatalk
Works after the ‘git pull’
Thanks!
Re: Import weather data other than Wunderground
Posted: Monday 21 September 2020 19:09
by HansieNL
Backlash wrote: ↑Monday 21 September 2020 16:16
HansieNL wrote: ↑Sunday 20 September 2020 19:29
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)?
changed from V3.5 master to V3.5.2 beta and problem solved
git fetch origin
git checkout beta
git pull
If you like you can change back to master and see if it then works o.k.
Re: Import weather data other than Wunderground
Posted: Tuesday 22 September 2020 16:20
by Backlash
HansieNL wrote: ↑Monday 21 September 2020 19:09
Backlash wrote: ↑Monday 21 September 2020 16:16
HansieNL wrote: ↑Sunday 20 September 2020 19:29
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)?
changed from V3.5 master to V3.5.2 beta and problem solved
git fetch origin
git checkout beta
git pull
If you like you can change back to master and see if it then works o.k.
Back to master again V3.6 since yesterday, and it still works
Re: Import weather data other than Wunderground
Posted: Sunday 27 September 2020 17:56
by cduijker
I would like to use the weather widget from
https://weatherwidget.io/ as it is highly customizable.
Does anybody know how to add the generated code in an iframe for Dashticz?
regards
Re: Import weather data other than Wunderground
Posted: Sunday 27 September 2020 18:16
by Lokonli
I could create a custom html block type, in which you can just copy paste the html code. Would that be useful?
Sent from my SM-A320FL using Tapatalk
Re: Import weather data other than Wunderground
Posted: Monday 28 September 2020 3:41
by lzwfkv
Lokonli wrote: ↑Sunday 27 September 2020 18:16
I could create a custom html block type, in which you can just copy paste the html code. Would that be useful?
Sent from my SM-A320FL using Tapatalk
Hi Lokonli, yes it would for me.
Thanks.
Re: Import weather data other than Wunderground
Posted: Monday 28 September 2020 9:08
by cduijker
That would be very nice!
Re: Import weather data other than Wunderground
Posted: Monday 28 September 2020 9:57
by Vomera
cduijker wrote: ↑Sunday 27 September 2020 17:56
I would like to use the weather widget from
https://weatherwidget.io/ as it is highly customizable.
Does anybody know how to add the generated code in an iframe for Dashticz?
regards
I just made an html page in the same directory as the dashboard and made a refer to the frame
Code: Select all
frames.voorspelling = {
frameurl:"custom/forcast.html",
height: 112, //height of the block in pixels
width: 12,
scrollbars:false,
refreshiframe:300000,
}
Re: Import weather data other than Wunderground
Posted: Monday 28 September 2020 12:59
by HansieNL
Lokonli wrote: ↑Sunday 27 September 2020 18:16
I could create a custom html block type, in which you can just copy paste the html code. Would that be useful?
Sent from my SM-A320FL using Tapatalk
Would be great.
If I now use an iframe the block is not responsive and cuts the info in half.
Is there a way to auto resize the block to the iframe size?
Re: Import weather data other than Wunderground
Posted: Tuesday 29 September 2020 14:41
by Vomera
HansieNL wrote: ↑Monday 28 September 2020 12:59
Lokonli wrote: ↑Sunday 27 September 2020 18:16
I could create a custom html block type, in which you can just copy paste the html code. Would that be useful?
Sent from my SM-A320FL using Tapatalk
Would be great.
If I now use an iframe the block is not responsive and cuts the info in half.
Is there a way to auto resize the block to the iframe size?
You can change the height of the iframe, or you want it at 225px. Then indeed it would be cool to paste the html code
Re: Import weather data other than Wunderground
Posted: Tuesday 29 September 2020 20:32
by Lokonli
In beta 3.6.1 I've added the custom html block functionality.
See:
https://dashticz.readthedocs.io/en/beta ... /html.html
Give it a try
Re: Import weather data other than Wunderground
Posted: Tuesday 29 September 2020 21:56
by HansieNL
Just tried
Works like a charm.
Re: Import weather data other than Wunderground
Posted: Thursday 01 October 2020 12:58
by cduijker