šŸ“° Lovelace: RSS Feed Parser Plugin/List Card

edit:

I read about the breaking change but not sure where its at. The default example code dosnt show content in the list-card, so it doesnā€™t work?

Must we now use a template sensor not the sensor created by the plugin?

But how does that work with the list card?

No. Just set the attribute per the list card docs

edit:

ok so for anyone else, the list card must have the same fields as the sensor

Is it possible to combine multiple RSS feeds into one card?

Youā€™d have to create a template sensor that combines the data

this must come across as a stupid questionā€¦ but using:

feedreader:
  urls:
    - https://www.home-assistant.io/atom.xml
    - https://hasspodcast.io/feed/podcast
  scan_interval:
    minutes: 30
  max_entries: 5

what sensors are created? At startup, I got 10 persistent notifications in the form of:

persistent_notification.home_assistant_podcast_60_0_103_sonos_takes_over_snips_and_ending_the_year_with_frenck

so the integration seems to create events, and the automations picks them up :wink:

but checked all sensors in the developer-tools/state, and no sensor for feedreader or podcast to be foundā€¦

please forgive is this is the most obvious of thingsā€¦
thanks

Thatā€™s not this integration

Sorry.
Allow me to phrase it differently:

How to use the list card with an entity created by the RSS feedreader integration. Ive got that working, (see post above please) but dont know how to integrate the output of it into the List card.

Or is that not possible at all and is List card only compatible with CC Feedparser?

edit
nevermind, missed this 1,5 year old postā€¦

You donā€™t. List card is for feedparser

1 Like

yep, sorry, just crossposted an edit on my previous post

First, many thanks for creating this component. However, I cantā€™ get it working. Feedparser seems working, I get the sensor with the objects. The list card lists nothing:


- type: custom:list-card
        entity: sensor.golem_feed
        title: News
        feed_attribute: entries
        columns:
          - title: ''
            type: image
            field: image
          - title: Title
            field: title
            style:
              - white-space: nowrap
          - title: Description
            field: description
- platform: feedparser
    name: golem feed
    feed_url: 'https://rss.golem.de/rss.php'
    date_format: '%a, %b, %d, %I:%M %p'
    inclusions:
      - title
      - description

Thx!

1 Like

how can get the image out of the rss feed
the image is in the following tags

<enclosure url="  url of the image  " type="image/jpg"/>

kind regards
carlo

1 Like

My query is kinda related and I hope someone can help. I canā€™t see images only the Home assistant icon, like this in state attributes.

I think you need;

      - title: 'Title'
        field: title
        style:
          - white-space: nowrap

and you need - image as well

  • platform: feedparser
    name: golem feed
    feed_url: ā€˜https://rss.golem.de/rss.phpā€™
    date_format: ā€˜%a, %b, %d, %I:%M %pā€™
    inclusions:
    - title
    - description
    - image

the plugin work with 106.6 version?
because i donā€™t to see anything.
thanks you.

Hi, I am trying to bring in a RSS feed from:
http://www.perthmintbullion.com/AUMetals.rss.ashx

The RSS has a format something like this:

<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>AU Metal Price Feed</title>
    <description>Perth Mint Bullion Australian metal price feed</description>
    <link>http://www.perthmintbullion.com/Home.aspx</link>
    <docs>http://backend.userland.com/rss</docs>
    <item>
      <title>Silver Price at 08:00 AM AWST 15-Apr-2020</title>
      <description>Ask: AUD 24.63,
Bid: AUD 24.07</description>
      <author>The Perth Mint</author>
      <pubDate>Wed, 15 Apr 2020 00:00:06 GMT</pubDate>
    </item>
    <item>
      <title>Gold Price at 08:00 AM AWST 15-Apr-2020</title>
      <description>Ask: AUD 2,689.67,
Bid: AUD 2,672.65</description>
      <author>The Perth Mint</author>
      <pubDate>Wed, 15 Apr 2020 00:00:06 GMT</pubDate>
    </item>
    <item>
      <title>Silver Price at 07:00 AM AWST 15-Apr-2020</title>
      <description>Ask: AUD 24.70,
Bid: AUD 24.15</description>
      <author>The Perth Mint</author>
      <pubDate>Tue, 14 Apr 2020 23:00:06 GMT</pubDate>
    </item>
    <item>
      <title>Gold Price at 07:00 AM AWST 15-Apr-2020</title>
      <description>Ask: AUD 2,690.07,

my configuration.yaml has this code:

  - platform: feedparser
    name: Gold and Silver spot price
    feed_url: 'http://www.perthmintbullion.com/AUMetals.rss.ashx'
    #date_format: '%I %M %p %Z %d-%b-%Y'
    inclusions:
      - title
      - description
    exclusions:
      - author
      - pubDate

It is not working as home assistant is just counting the number of ā€œtitleā€ entries in the RSS.

I get something like this in the log.

- title: 'Silver Price at 08:00 AM AWST 15-Apr-2020'
- title: 'Gold Price at 08:00 AM AWST 15-Apr-2020'
- title: 'Silver Price at 07:00 AM AWST 15-Apr-2020'
- title: 'Gold Price at 07:00 AM AWST 15-Apr-2020'
- title: 'Silver Price at 05:00 PM AWST 14-Apr-2020'
- title: 'Gold Price at 05:00 PM AWST 14-Apr-2020'
- title: 'Silver Price at 04:08 PM AWST 14-Apr-2020'
- title: 'Gold Price at 04:08 PM AWST 14-Apr-2020'

I only wanted the latest gold and silver price to be captured as a sensor so i can use them in home assistant. But I couldnā€™t figure out how to achieve this.

Could someone please help.

Thanks a bunch.

Hi

Is the - pubDate and - description broken?

The tags are in the xml file but they do not appear in the Home Assistant.
- link and - title works fine.

1 Like

hi @fliptoback

did you get this sorted?

no mate. it is still a mystery to me :frowning: