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!
A comprehensive media management card and integration for Home Assistant that brings together your media servers, management tools, and discovery services in one place.
-
Media Server Integration
- Plex: View recently added content
- Coming Soon: Jellyfin and Emby support
-
Media Management
- Sonarr: View upcoming TV shows and episodes
- Radarr: Track upcoming movie releases
-
Media Discovery
- Trakt: Browse popular TV shows and movies
- TMDB: Explore trending content (configurable for TV, movies, or both)
- Open HACS
- Go to "Integrations"
- Click the three dots menu and select "Custom repositories"
- Add this repository URL and select "Dashboard" as the category
- Click "Add"
- Find and install "Mediarr-card" from HACS
- Restart Home Assistant
- Add to Resources:
- Go to Settings -> Dashboards -> Resources
- Click "Add Resource"
- Enter URL:
/hacsfiles/mediarr-card/mediarr-card.js
- Select "JavaScript Module"
- Click "Create"
- Download the latest release
- Copy all contents from
custom_components/mediarr/
to/config/custom_components/mediarr/
- Copy
www/community/mediarr-card/mediarr-card.js
to/config/www/community/mediarr-card/
- Restart Home Assistant
Step 1: requires mediarr from https://github.com/Vansmak/mediarr_server/
***Configure Sensors
Add one or more of the following sensors to your configuration.yaml
sensors.yaml
:
sensor:
- platform: mediarr
plex: # Optional
host: localhost
port: 32400
token: your_plex_token
max_items: 10
sonarr: # Optional
url: http://localhost:8989
api_key: your_sonarr_api_key
max_items: 10
days_to_check: 60
radarr: # Optional
url: http://localhost:7878
api_key: your_radarr_api_key
max_items: 10
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
Add the card to your dashboard: (may need to clear cache)
type: custom:mediarr-card
plex_entity: sensor.plex_mediarr
sonarr_entity: sensor.sonarr_mediarr
radarr_entity: sensor.radarr_mediarr
trakt_entity: sensor.trakt_mediarr
tmdb_entity: sensor.tmdb_mediarr
# Granular TMDB lists (Optional)
tmdb_now_playing_entity: sensor.tmdb_mediarr_now_playing
tmdb_upcoming_entity: sensor.tmdb_mediarr_upcoming
tmdb_on_air_entity: sensor.tmdb_mediarr_on_air
# Optional media player for progress tracking
media_player_entity: media_player.your_plex_player
Note: Not all endpoints may be functional depending on the current implementation of the Mediarr server. Always check the latest documentation and server capabilities.
- 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
- Jellyfin and Emby support
- Direct Plex playback functionality
- Library status indicators for Trakt/TMDB content
- Integration with Sonarr/Radarr for direct addition of new content
Vansmak aka Vanhacked
MIT