Coder Social home page Coder Social logo

feedparser's Introduction

sensor.feedparser

RSS feed custom component for Home Assistant which can be used in conjunction with the custom Lovelace list-card

GitHub Release License

Project Maintenance GitHub Activity

Discord Community Forum

Support

Hey dude! Help me out for a couple of 🍻 or a ☕!

coffee

To get started put /custom_components/feedparser/ here: <config directory>/custom_components/feedparser/

Example configuration.yaml:

sensor:
  platform: feedparser
  name: Engineering Feed
  feed_url: 'https://www.sciencedaily.com/rss/matter_energy/engineering.xml'
  date_format: '%a, %d %b %Y %H:%M:%S %Z'
  scan_interval:
    hours: 3
  inclusions:
    - title
    - link
    - description
    - image
    - pubDate
  exclusions:
    - language

Configuration variables:

key description
platform (Required) The platform name
name (Required) Name your feed
feed_url (Required) The RSS feed URL
date_format (Optional) strftime date format for date strings Default %a, %b %d %I:%M %p
local_time (Optional) Whether to convert date into local time Default false
show_topn (Optional) fetch how many entres from rss source,if not set then fetch all
inclusions (Optional) List of fields to include from populating the list
exclusions (Optional) List of fields to exclude from populating the list
scan_interval (Optional) Update interval in hours

Note: Will return all fields if no inclusions or exclusions are specified

Due to how custom_components are loaded, it is normal to see a ModuleNotFoundError error on first boot after adding this, to resolve it, restart Home-Assistant.

feedparser's People

Contributors

iantrich avatar ogajduse avatar yuvalabou avatar raw99 avatar ikifar2012 avatar toringer avatar aalavender avatar harrisony avatar pinkywafer avatar jeroenvanasten avatar ludeeus avatar smasongarrison avatar romkabouter avatar bkje14 avatar cociweb avatar jazzyisj avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.