Hi, I'm going to integrate a forecast weather on dashboard, in a dedicated page, my goal is to represent as best as possible to actual situation hourly (help me decide how to dress up/what to expect) addign temperature/wind and amount of rain prediction.
Then have a look on next days..
There are some nodes and flows almost ready, lookes impossible to test all of them and it's quite hard to get screenshots about all of them, So which is your experience? which you recomend more?
Thank you a lot!
The "best" it is not about the nodes or flow so much as the weather data source. What good is "pretty" if it isn't at least fairly accurate. The nodes and flows just make up the look and feel of the display of data, and that can be as subjective as they come
I use something I found on the web somewhere (but apparently is also here in the flow library... I adapted a few colors and added in a wind compass. It utilizes the OpenWeatherMap One Call API
I also run this one based on Forcast7.com... a simpler "weather widget" integrated into a flow, but I'm not to sure about it's accuracy yet... I guess I will find out if/when it rains tomorrow
I use openweathermap too.
Here my Dashboard vor the day and week forecast:
the day forecast can switch hourly to every 8 hours:
the weekly forecast
and last but .. the wind and sunposition (later to control the blinds ;-))
BR
Hubertus
As @Gunner says, the important thing is accuracy and that varies from location to location. I did a comparison of weather API's quite some time back here on the forum.
Where I live, only highly localised forecasts are ever even remotely accurate since the weather can be significantly different less than a km away. Forecasts based purely on airport sensors for example are completely worthless because we are dead centre between 4 different airports and they are all in very different geography's to us.
If you live near an airport or in an area where the weather is predictable, probably any of the forecasts would work for you so you can choose the prettiest.
Hi mates, yes exactly I meant that.. as I go more info seems OpenWeather is the only platform that may be useful for us, so we dont' have many choices..
and for the "best", well yes I mean how it looks like, you did amazing job! Very beautiful and actually Hubertus this is what I would like to do, adding all datas that OpenWeather provides, you made it really beautiful!
May you kindly share your flow? thank you!
Gunner you also did great! thats' really interesting how you created the compass for wind directions! May you please share it too? )
I would like to join them together, then post here my Dashboard as well!
Hi, thanks for infos, well actually not really essential to have an accurate one, telling the truth. It's almost useful to know the way I've dress up tomorrow (cold/hot) and which jacket and (if) umbrella, useful..
I'll add a button t switch on smart home dashboard, and I'll implement a timeout to switch back to forecast.
Can't wait to realize it!
Here's a couple of links to some tutorials I gave to my IoT students for a project using OpenWeather node.
In our area, it can be sunny at our house and raining or snowing 1/2 km away up the road! So I usually just look out of the windows in both directions
Yes i can - but it is complex and it is to big for the reply.
i share it as a zip file: openwweatherflow.pdf (8.0 KB)
Download it and rename to openweatherflow.zip to uncompress
the node "Einstellungen Wetter Vorschau stündlich lesen" is to trigger once the system restart to read the preferences. the openweather node is called every 5 min. if there questions to get the flow run - pleas ask me. may be my "programming" is sub optimal - let me know - but it works
BR
Hubertus
Not really any point in calling it every 5 minutes because I don't think it updates more than once an hour.
lovely thank you a lot, can't wait to test it! I'll try to implement something else ))
I use this one
[{"id":"a60d6376.d0c68","type":"http request","z":"f6ccef48.dea8d","name":"","method":"GET","ret":"obj","paytoqs":"ignore","url":"http://api.daswetter.com/index.php?api_lang=de&localidad=193818&affiliate_id=xxx","tls":"","persist":false,"proxy":"","authType":"","credentials":{},"x":320,"y":600,"wires":[["289cb8e5.7d1078","db8180aa.44b77","ab5dc6b0.d5b0b8","63f2ca26.f97624"]]},{"id":"289cb8e5.7d1078","type":"function","z":"f6ccef48.dea8d","name":"1","func":"msg.payload = msg.payload.day[\"1\"];\nreturn msg;","outputs":1,"noerr":0,"x":500,"y":140,"wires":[["463bb71d.a7a028","c444b053.bcc6","c976e896.49e6b8","a9b27349.56a7d","64d10ea0.98063"]]},{"id":"db8180aa.44b77","type":"function","z":"f6ccef48.dea8d","name":"2","func":"msg.payload = msg.payload.day[\"2\"];\nreturn msg;","outputs":1,"noerr":0,"x":500,"y":400,"wires":[["8e4e0428.85cd38","d4cefb96.95b078","eddb8d6e.c8e3b","e7f3e9bd.e513f8","87371c47.5001e"]]},{"id":"ab5dc6b0.d5b0b8","type":"function","z":"f6ccef48.dea8d","name":"3","func":"msg.payload = msg.payload.day[\"3\"];\nreturn msg;","outputs":1,"noerr":0,"x":500,"y":660,"wires":[["edf30c5c.e7731","d884dbaa.b711d8","67c2b0a6.0339","d3d3965.e8de668","40f04de.dd61bb4"]]},{"id":"63f2ca26.f97624","type":"function","z":"f6ccef48.dea8d","name":"4","func":"msg.payload = msg.payload.day[\"4\"];\nreturn msg;","outputs":1,"noerr":0,"x":500,"y":940,"wires":[["8026e7e6.442ff8","2c4de3b8.142acc","b1fc623b.7c644","1a84910f.50384f","1a54b963.3deb17"]]},{"id":"463bb71d.a7a028","type":"function","z":"f6ccef48.dea8d","name":"Name","func":"msg.payload = msg.payload.name;\nreturn msg;","outputs":1,"noerr":0,"x":660,"y":100,"wires":[["4e6e8550.f787dc"]]},{"id":"c444b053.bcc6","type":"function","z":"f6ccef48.dea8d","name":"temp_min","func":"msg.payload = \"min Temp: \" + msg.payload.tempmin + \"°C\";\nreturn msg;","outputs":1,"noerr":0,"x":670,"y":140,"wires":[["d418b722.894498"]]},{"id":"c976e896.49e6b8","type":"function","z":"f6ccef48.dea8d","name":"temp_max","func":"msg.payload = \"max Temp: \" + msg.payload.tempmax + \"°C\";\nreturn msg;","outputs":1,"noerr":0,"x":680,"y":180,"wires":[["77e80351.d8e33c"]]},{"id":"a9b27349.56a7d","type":"function","z":"f6ccef48.dea8d","name":"beschreibung","func":"msg.payload = msg.payload.symbol_description2;\nreturn msg;","outputs":1,"noerr":0,"x":690,"y":220,"wires":[["bf18b50.f6ebf48"]]},{"id":"829d03c5.30b3a","type":"function","z":"f6ccef48.dea8d","name":"url bauen","func":"var ip = \"https://raw.githubusercontent.com/rg-engineering/ioBroker.daswetter/master/admin/icons/tiempo-weather/galeria1/\" + msg.payload + \".png\";\nmsg.payload = ip;\nreturn msg;","outputs":1,"noerr":0,"x":810,"y":260,"wires":[["b58be44.c2e8c18"]]},{"id":"64d10ea0.98063","type":"function","z":"f6ccef48.dea8d","name":"Icon","func":"msg.payload = msg.payload.symbol_value;\nreturn msg;","outputs":1,"noerr":0,"x":660,"y":260,"wires":[["829d03c5.30b3a"]]},{"id":"4e6e8550.f787dc","type":"ui_text","z":"f6ccef48.dea8d","group":"eef5e2ac.1cb35","order":2,"width":4,"height":1,"name":"heute","label":"","format":"{{msg.payload}}","layout":"row-left","x":940,"y":100,"wires":[]},{"id":"b58be44.c2e8c18","type":"ui_template","z":"f6ccef48.dea8d","group":"eef5e2ac.1cb35","name":"Icon in DashNode","order":1,"width":2,"height":3,"format":"<img style=\"width: 100%\" ng-src=\"{{msg.payload}}\">","storeOutMessages":true,"fwdInMessages":true,"templateScope":"local","x":980,"y":260,"wires":[[]]},{"id":"d418b722.894498","type":"ui_text","z":"f6ccef48.dea8d","group":"eef5e2ac.1cb35","order":3,"width":4,"height":1,"name":"temp_min","label":"","format":"{{msg.payload}}","layout":"row-left","x":950,"y":140,"wires":[]},{"id":"77e80351.d8e33c","type":"ui_text","z":"f6ccef48.dea8d","group":"eef5e2ac.1cb35","order":4,"width":4,"height":1,"name":"temp_max","label":"","format":"{{msg.payload}}","layout":"row-left","x":960,"y":180,"wires":[]},{"id":"bf18b50.f6ebf48","type":"ui_text","z":"f6ccef48.dea8d","group":"eef5e2ac.1cb35","order":6,"width":5,"height":1,"name":"beschreibung","label":"","format":"{{msg.payload}}","layout":"row-left","x":970,"y":220,"wires":[]},{"id":"91b5cfdb.c73dd","type":"ui_text","z":"f6ccef48.dea8d","group":"eef5e2ac.1cb35","order":5,"width":1,"height":1,"name":"spacer","label":"","format":" ","layout":"row-left","x":940,"y":60,"wires":[]},{"id":"8e4e0428.85cd38","type":"function","z":"f6ccef48.dea8d","name":"Name","func":"msg.payload = msg.payload.name;\nreturn msg;","outputs":1,"noerr":0,"x":660,"y":360,"wires":[["f866074e.addda8"]]},{"id":"d4cefb96.95b078","type":"function","z":"f6ccef48.dea8d","name":"temp_min","func":"msg.payload = \"min Temp: \" + msg.payload.tempmin + \"°C\";\nreturn msg;","outputs":1,"noerr":0,"x":670,"y":400,"wires":[["be6db6e0.9ee268"]]},{"id":"eddb8d6e.c8e3b","type":"function","z":"f6ccef48.dea8d","name":"temp_max","func":"msg.payload = \"max Temp: \" + msg.payload.tempmax + \"°C\";\nreturn msg;","outputs":1,"noerr":0,"x":680,"y":440,"wires":[["f9ec56e3.4fc8d8"]]},{"id":"e7f3e9bd.e513f8","type":"function","z":"f6ccef48.dea8d","name":"beschreibung","func":"msg.payload = msg.payload.symbol_description2;\nreturn msg;","outputs":1,"noerr":0,"x":690,"y":480,"wires":[["23a9c4c9.2c649c"]]},{"id":"87371c47.5001e","type":"function","z":"f6ccef48.dea8d","name":"Icon","func":"msg.payload = msg.payload.symbol_value;\nreturn msg;","outputs":1,"noerr":0,"x":660,"y":520,"wires":[["a0ade417.af0648"]]},{"id":"f866074e.addda8","type":"ui_text","z":"f6ccef48.dea8d","group":"9778d5a1.9897a8","order":2,"width":4,"height":1,"name":"heute","label":"","format":"{{msg.payload}}","layout":"row-left","x":940,"y":360,"wires":[]},{"id":"36257e93.b28e92","type":"ui_template","z":"f6ccef48.dea8d","group":"9778d5a1.9897a8","name":"Icon in DashNode","order":1,"width":2,"height":3,"format":"<img style=\"width: 100%\" ng-src=\"{{msg.payload}}\">","storeOutMessages":true,"fwdInMessages":true,"templateScope":"local","x":980,"y":520,"wires":[[]]},{"id":"be6db6e0.9ee268","type":"ui_text","z":"f6ccef48.dea8d","group":"9778d5a1.9897a8","order":3,"width":4,"height":1,"name":"temp_min","label":"","format":"{{msg.payload}}","layout":"row-left","x":950,"y":400,"wires":[]},{"id":"f9ec56e3.4fc8d8","type":"ui_text","z":"f6ccef48.dea8d","group":"9778d5a1.9897a8","order":4,"width":4,"height":1,"name":"temp_max","label":"","format":"{{msg.payload}}","layout":"row-left","x":960,"y":440,"wires":[]},{"id":"23a9c4c9.2c649c","type":"ui_text","z":"f6ccef48.dea8d","group":"9778d5a1.9897a8","order":6,"width":5,"height":1,"name":"beschreibung","label":"","format":"{{msg.payload}}","layout":"row-left","x":970,"y":480,"wires":[]},{"id":"e0301a75.0b9ac8","type":"ui_text","z":"f6ccef48.dea8d","group":"9778d5a1.9897a8","order":5,"width":1,"height":1,"name":"spacer","label":"","format":" ","layout":"row-left","x":940,"y":320,"wires":[]},{"id":"edf30c5c.e7731","type":"function","z":"f6ccef48.dea8d","name":"Name","func":"msg.payload = msg.payload.name;\nreturn msg;","outputs":1,"noerr":0,"x":660,"y":640,"wires":[["2de5e44a.81d4ec"]]},{"id":"d884dbaa.b711d8","type":"function","z":"f6ccef48.dea8d","name":"temp_min","func":"msg.payload = \"min Temp: \" + msg.payload.tempmin + \"°C\";\nreturn msg;","outputs":1,"noerr":0,"x":670,"y":680,"wires":[["80702671.2be2b8"]]},{"id":"67c2b0a6.0339","type":"function","z":"f6ccef48.dea8d","name":"temp_max","func":"msg.payload = \"max Temp: \" + msg.payload.tempmax + \"°C\";\nreturn msg;","outputs":1,"noerr":0,"x":680,"y":720,"wires":[["9d56c912.2d4ef8"]]},{"id":"d3d3965.e8de668","type":"function","z":"f6ccef48.dea8d","name":"beschreibung","func":"msg.payload = msg.payload.symbol_description2;\nreturn msg;","outputs":1,"noerr":0,"x":690,"y":760,"wires":[["50fb631.4da009c"]]},{"id":"40f04de.dd61bb4","type":"function","z":"f6ccef48.dea8d","name":"Icon","func":"msg.payload = msg.payload.symbol_value;\nreturn msg;","outputs":1,"noerr":0,"x":660,"y":800,"wires":[["27d1769f.d95eba"]]},{"id":"2de5e44a.81d4ec","type":"ui_text","z":"f6ccef48.dea8d","group":"742d761b.ccce68","order":2,"width":4,"height":1,"name":"heute","label":"","format":"{{msg.payload}}","layout":"row-left","x":940,"y":640,"wires":[]},{"id":"95c3b778.bcc268","type":"ui_template","z":"f6ccef48.dea8d","group":"742d761b.ccce68","name":"Icon in DashNode","order":1,"width":2,"height":3,"format":"<img style=\"width: 100%\" ng-src=\"{{msg.payload}}\">","storeOutMessages":true,"fwdInMessages":true,"templateScope":"local","x":980,"y":800,"wires":[[]]},{"id":"80702671.2be2b8","type":"ui_text","z":"f6ccef48.dea8d","group":"742d761b.ccce68","order":3,"width":4,"height":1,"name":"temp_min","label":"","format":"{{msg.payload}}","layout":"row-left","x":950,"y":680,"wires":[]},{"id":"9d56c912.2d4ef8","type":"ui_text","z":"f6ccef48.dea8d","group":"742d761b.ccce68","order":4,"width":4,"height":1,"name":"temp_max","label":"","format":"{{msg.payload}}","layout":"row-left","x":960,"y":720,"wires":[]},{"id":"50fb631.4da009c","type":"ui_text","z":"f6ccef48.dea8d","group":"742d761b.ccce68","order":6,"width":5,"height":1,"name":"beschreibung","label":"","format":"{{msg.payload}}","layout":"row-left","x":970,"y":760,"wires":[]},{"id":"77cb43df.ad165c","type":"ui_text","z":"f6ccef48.dea8d","group":"742d761b.ccce68","order":5,"width":1,"height":1,"name":"spacer","label":"","format":" ","layout":"row-left","x":940,"y":600,"wires":[]},{"id":"8026e7e6.442ff8","type":"function","z":"f6ccef48.dea8d","name":"Name","func":"msg.payload = msg.payload.name;\nreturn msg;","outputs":1,"noerr":0,"x":660,"y":920,"wires":[["c60be1a.54cb72"]]},{"id":"2c4de3b8.142acc","type":"function","z":"f6ccef48.dea8d","name":"temp_min","func":"msg.payload = \"min Temp: \" + msg.payload.tempmin + \"°C\";\nreturn msg;","outputs":1,"noerr":0,"x":670,"y":960,"wires":[["7c314c12.c35364"]]},{"id":"b1fc623b.7c644","type":"function","z":"f6ccef48.dea8d","name":"temp_max","func":"msg.payload = \"max Temp: \" + msg.payload.tempmax + \"°C\";\nreturn msg;","outputs":1,"noerr":0,"x":680,"y":1000,"wires":[["ee57218.25877e"]]},{"id":"1a84910f.50384f","type":"function","z":"f6ccef48.dea8d","name":"beschreibung","func":"msg.payload = msg.payload.symbol_description2;\nreturn msg;","outputs":1,"noerr":0,"x":690,"y":1040,"wires":[["60284626.985a48"]]},{"id":"1a54b963.3deb17","type":"function","z":"f6ccef48.dea8d","name":"Icon","func":"msg.payload = msg.payload.symbol_value;\nreturn msg;","outputs":1,"noerr":0,"x":660,"y":1080,"wires":[["8983721e.75c2d"]]},{"id":"c60be1a.54cb72","type":"ui_text","z":"f6ccef48.dea8d","group":"edce0a1d.49e218","order":2,"width":4,"height":1,"name":"heute","label":"","format":"{{msg.payload}}","layout":"row-left","x":960,"y":920,"wires":[]},{"id":"794e0adf.7abf64","type":"ui_template","z":"f6ccef48.dea8d","group":"edce0a1d.49e218","name":"Icon in DashNode","order":1,"width":2,"height":3,"format":"<img style=\"width: 100%\" ng-src=\"{{msg.payload}}\">","storeOutMessages":true,"fwdInMessages":true,"templateScope":"local","x":1000,"y":1080,"wires":[[]]},{"id":"7c314c12.c35364","type":"ui_text","z":"f6ccef48.dea8d","group":"edce0a1d.49e218","order":3,"width":4,"height":1,"name":"temp_min","label":"","format":"{{msg.payload}}","layout":"row-left","x":970,"y":960,"wires":[]},{"id":"ee57218.25877e","type":"ui_text","z":"f6ccef48.dea8d","group":"edce0a1d.49e218","order":4,"width":4,"height":1,"name":"temp_max","label":"","format":"{{msg.payload}}","layout":"row-left","x":980,"y":1000,"wires":[]},{"id":"60284626.985a48","type":"ui_text","z":"f6ccef48.dea8d","group":"edce0a1d.49e218","order":6,"width":5,"height":1,"name":"beschreibung","label":"","format":"{{msg.payload}}","layout":"row-left","x":990,"y":1040,"wires":[]},{"id":"bb562fab.7b039","type":"ui_text","z":"f6ccef48.dea8d","group":"edce0a1d.49e218","order":5,"width":1,"height":1,"name":"spacer","label":"","format":" ","layout":"row-left","x":960,"y":880,"wires":[]},{"id":"a0ade417.af0648","type":"function","z":"f6ccef48.dea8d","name":"url bauen","func":"var ip = \"https://raw.githubusercontent.com/rg-engineering/ioBroker.daswetter/master/admin/icons/tiempo-weather/galeria1/\" + msg.payload + \".png\";\nmsg.payload = ip;\nreturn msg;","outputs":1,"noerr":0,"x":810,"y":520,"wires":[["36257e93.b28e92"]]},{"id":"27d1769f.d95eba","type":"function","z":"f6ccef48.dea8d","name":"url bauen","func":"var ip = \"https://raw.githubusercontent.com/rg-engineering/ioBroker.daswetter/master/admin/icons/tiempo-weather/galeria1/\" + msg.payload + \".png\";\nmsg.payload = ip;\nreturn msg;","outputs":1,"noerr":0,"x":810,"y":800,"wires":[["95c3b778.bcc268"]]},{"id":"8983721e.75c2d","type":"function","z":"f6ccef48.dea8d","name":"url bauen","func":"var ip = \"https://raw.githubusercontent.com/rg-engineering/ioBroker.daswetter/master/admin/icons/tiempo-weather/galeria1/\" + msg.payload + \".png\";\nmsg.payload = ip;\nreturn msg;","outputs":1,"noerr":0,"x":820.017333984375,"y":1079.12158203125,"wires":[["794e0adf.7abf64"]]},{"id":"cc08fd4e.4333e","type":"inject","z":"f6ccef48.dea8d","name":"","repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":230,"y":660,"wires":[["a60d6376.d0c68"]]},{"id":"7f75e4a2.1cf4cc","type":"timerswitch","z":"f6ccef48.dea8d","name":"","ontopic":"","offtopic":"","onpayload":"true","offpayload":"false","disabled":false,"schedules":[{"on_h":"06","on_m":"00","on_s":"00","off_h":"06","off_m":"00","off_s":"10","valid":true}],"x":110,"y":520,"wires":[["a60d6376.d0c68"]]},{"id":"eef5e2ac.1cb35","type":"ui_group","name":"Heute","tab":"e1f52466.42cb68","order":2,"disp":true,"width":"6","collapse":false},{"id":"9778d5a1.9897a8","type":"ui_group","name":"Morgen","tab":"e1f52466.42cb68","order":3,"disp":true,"width":"6","collapse":false},{"id":"742d761b.ccce68","type":"ui_group","name":"In 2 Tagen","tab":"e1f52466.42cb68","order":4,"disp":true,"width":"6","collapse":false},{"id":"edce0a1d.49e218","type":"ui_group","name":"In 3 Tagen","tab":"e1f52466.42cb68","order":5,"disp":true,"width":"6","collapse":false},{"id":"e1f52466.42cb68","type":"ui_tab","name":"Wetter","icon":"wi-wu-mostlysunny","order":1,"disabled":false,"hidden":false}]
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.