Support This Project If you find this project helpful, please consider supporting it. Your contributions help maintain and improve the project. Any support is greatly appreciated! ❤️ https://buymeacoffee.com/vansmak Thank you for your support!
Mediarr for Home Assistant (inspired by upcoming media card) https://github.com/Vansmak/mediarr-card
sensors for use in Mediarr-card
- Open HACS
- Go to "Integrations"
- Click the three dots menu and select "Custom repositories"
- Add this repository URL and select "Integration" as the category
- Click "Add"
- Find and install "Mediarr" from HACS
- Restart Home Assistant
-
Download the latest before hacs (can break)
-
Copy all contents from
custom_components/mediarr/
to/config/custom_components/mediarr/
-
Restart Home Assistant
Add one or more of the following sensors to your configuration.yaml
:
sensor:
- platform: mediarr
plex: # Optional
host: localhost
port: xxxxxx
token: your_token
jellyfin: # Optional
host: localhost
port: xxxxxx
token: your_api_key
max_items: 10
tmdb_api_key: "your_tmdb_api_key"
seer: # Optional #shows requests
url: localhost
api_key: your_api_key
max_items: 10
tmdb_api_key: "your_tmdb_api_key"
trending: true
discover: true
popular_movies: true
popular_tv: true
sonarr: # Optional
url: http://localhost:8989
api_key: your_sonarr_api_key
max_items: 10
days_to_check: 60
tmdb_api_key: "your_tmdb_api_key" #remove, no longer needed
radarr: # Optional
url: http://localhost:7878
api_key: your_radarr_api_key
max_items: 10
days_to_check: 60 #breaking change
tmdb_api_key: "your_tmdb_api_key" # no longer needed
trakt: # Optional
client_id: "your_client_id"
client_secret: "your_client_secret"
tmdb_api_key: "your_tmdb_api_key" # Required for posters
trending_type: both # Options: movies, shows, both
max_items: 10
tmdb: # Optional
api_key: "your_api_key"
trending_type: all # Options: movie, tv, all
max_items: 10
trending: true # Default endpoint
now_playing: true # Optional
upcoming: true # Optional
on_air: true # Optional
airing_today: false # Optional
Step 3: install Mediarr-card from https://github.com/Vansmak/mediarr-card
Add the Card
- max_items: Number of items to display (default: 10)
- days_to_check: Days to look ahead for upcoming content (Sonarr only, default: 60)
- trending_type: Content type to display for Trakt and TMDB
- All entity configurations are optional - use only what you need
- Media player entity enables playback control (coming soon)
- Get your Plex token from your Plex account settings
- More details at Plex Support
- Go to Settings -> General
- Copy your API key
- Create an application at Trakt API
- Get your client ID and secret
- Create an account at TMDB
- Request an API key from your account settings
- Go to Settings -> General
- Copy your API key
Vansmak aka Vanhacked
MIT