Let me know if anyone makes some improvements as I am a absolute HA nube (2 weeks and counting). Weather Underground combines data from over 250,000+ personal weather stations and a proprietary forecast model to give you the most accurate and hyperlocal forecasts, at a microclimate level. camera:įile_path: /home/homeassistant/.homeassistant/satimgs/radar_IDR713.gif This is really flexible in how the images look. BTW: You can easily change the number of images in the loop, size of the images, type of background overlays. There are still a couple of rough edges like the ImageMagick command is not quite right but I will tidy that up when I get a chance. I then just added a camera.local_file to the appropriate group and all was well. It takes about 5+ secs to download and process for me which was a bit laggy to call the script on page load. This is the downside of this approach as I am downloading even when I am not using them. I then add an automation to grab and process the images on a regular (20 mins?) basis. The Weather Channel was founded on July 18, 1980, by television meteorologist John Coleman (who had served as a chief meteorologist at ABC owned-and-operated station WLS-TV in Chicago and as a forecaster for Good Morning America) and Frank Batten, then-president of the channel's original owner Landmark Communications (now Landmark Media Enterprises). #get the $iqty most recent images quietlyĬurl -silent -list-only /anon/gen/radar/|grep $ID.T|tail -$iqty|xargs -i wget -q ''Ĭonvert -layers flatten -dispose none $ID.background.png $ID.locations.png -dispose previous $ID.T*.png -set delay 75 -loop 0 radar_$ID.gif 7-Day: Inland & Shoreline 7-Day: Inland & Shoreline Daypart Forecast Daypart Forecast. Img_out="/home/homeassistant/.homeassistant/satimgs/" A weather radar is used to locate precipitation, calculate its motion, estimate its type (rain. I am sure the python gurus can do better with a more eloquent script. The Current Radar map shows areas of current precipitation. So wanting to play a little with ImageMagick I installed the package and created a quick bash script. They have something free called Weather Stickers which offer live feeds of the current observed weather situation. I wasn’t able find a url that had the wanted images (although I am sure it exists) as BOM seem to provide the png’s in transparent layer format. Weather Underground is a successful weather forecasting site that cover most of the world (you dont say where you need the forecast for). I thought I might share my toying with this type of approach with the Australian BOM radar images.
0 Comments
Leave a Reply. |