Created
January 29, 2022 14:48
-
-
Save gavinhogan/dc86c5300906db0813d83844d7b0b071 to your computer and use it in GitHub Desktop.
Revisions
-
gavinhogan created this gist
Jan 29, 2022 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ This is just meant to be some tips to help you get this up and running. If you are new to Home Assistant, or HACS then this is probably not a good place to start. * You need to have HACS installed. https://hacs.xyz/ * Install feedparse via HACS - https://github.com/custom-components/feedparser * Install list-card via HACS - https://github.com/iantrich/list-card * Install pirate-weather - https://github.com/alexander0042/pirate-weather-ha * Create you pirate weather account and get your api key * Find the long and lat for your locations via google (remember those cordinates might be negative!) * Find the news feeds you want via feedspot https://blog.feedspot.com/ Remember that feeds will take a file to initially download, so the dashboard will be slow to populate after an restart I don't know if the pirate api has notable limits that will stop this from working after a certain number of locations but it seemed to be fine with the 4 I added. Someone mentioned COVID data. I am pretty sure this is available for HASSIO. Probably a similar approach would apply. This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,55 @@ #using pirateweather to get darksky-like local weather - https://github.com/alexander0042/pirate-weather-ha weather: - platform: pirateweather api_key: !secret pirateweather_api_key - platform: pirateweather api_key: !secret pirateweather_api_key # Additional optional values: latitude: 42.6526 longitude: -73.7562 name: Albany - platform: pirateweather api_key: !secret pirateweather_api_key # Additional optional values: latitude: 40.7128 longitude: -74.0060 name: NYC - platform: pirateweather api_key: !secret pirateweather_api_key # Additional optional values: latitude: 33.7490 longitude: -84.3880 name: Atlanta - platform: pirateweather api_key: !secret pirateweather_api_key # Additional optional values: latitude: 25.7617 longitude: -80.1918 name: Miami #Get local RSS news feeds via feedparser https://github.com/custom-components/feedparser sensor: - platform: feedparser name: Albany News Feed feed_url: 'https://wnyt.com/rssFeeds/rss10114.xml' date_format: '%a, %b %d %I:%M %p' scan_interval: hours: 1 - platform: feedparser name: NYC News Feed feed_url: 'https://www.nbcnewyork.com/?rss=y' date_format: '%a, %b %d %I:%M %p' scan_interval: hours: 1 - platform: feedparser name: Atlanta News Feed feed_url: 'https://atlanta.cbslocal.com/feed/' date_format: '%a, %b %d %I:%M %p' scan_interval: hours: 1 - platform: feedparser name: Miami News Feed feed_url: 'https://www.local10.com/arcio/rss/category/news/?size=10' date_format: '%a, %b %d %I:%M %p' scan_interval: hours: 1 This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,62 @@ # need to include https://github.com/iantrich/list-card for displaying the RSS feeds views: - title: US East Coast badges: [] cards: - type: vertical-stack title: Albany cards: - type: weather-forecast entity: weather.albany - type: custom:list-card entity: sensor.albany_news_feed title: Albany News feed_attribute: entries row_limit: 8 columns: - title: Headline field: title add_link: link - type: vertical-stack title: New York City cards: - type: weather-forecast entity: weather.nyc name: New York City - type: custom:list-card entity: sensor.nyc_news_feed title: NYC News feed_attribute: entries row_limit: 8 columns: - title: Headline field: title add_link: link - type: vertical-stack title: Atlanta cards: - type: weather-forecast entity: weather.atlanta - type: custom:list-card entity: sensor.atlanta_news_feed title: Atlanta News feed_attribute: entries row_limit: 8 columns: - title: Headline field: title add_link: link - type: vertical-stack title: Miami cards: - type: weather-forecast entity: weather.miami - type: custom:list-card entity: sensor.miami_news_feed title: Miami News feed_attribute: entries row_limit: 8 columns: - title: Headline field: title add_link: link