Reddit Sensor


The Reddit sensor integrates data from Reddit to monitor your favorite subreddits.

Setup

To set up this sensor, you will need to generate a client_id and client_secret for the user account you will use to connect. Follow the first steps in this wiki.

Configuration

To enable this platform, add the following to your configuration.yaml file:

# Example configuration.yaml entry
- platform: reddit
  username: !secret reddit_username
  password: !secret reddit_password
  client_id: !secret reddit_client_id
  client_secret: !secret reddit_client_secret
  subreddits:
    - news
    - worldnews

Configuration Variables

username

(string)(Required)Your Reddit account username.

password

(string)(Required)Your Reddit account password.

client_id

(string)(Required)Your Reddit account client_id generated from the wiki above.

client_secret

(string)(Required)Your Reddit account client_secret generated from the wiki above.

subreddits

(list)(Required)List of subreddits you want to get data on.