Home Assistant component to feed Upcoming Media Card with
recently recorded shows from a Channels DVR Server.
- Launch HACS
- Navigate to the Integrations section
- "+ Explore & Add Repositories" button in the bottom right
- Search for "Channels DVR"
- Select "Install this repository"
- Restart Home Assistant
- Install this component by copying these files to
custom_components/channels_dvr_recently_recorded/
. - Restart Home Assistant
- If your Channels DVR installation is discovered via Zeroconf, you will get a notification and will be able to configure the integration without the need to specify the host and port. Otherwise, add the integration from Configuration->Integrations->Add Integration. Search for "Channels".
- Install the card: Upcoming Media Card
- Add the code for the Upcoming Media card to your
ui-lovelace.yaml
or by adding a manual card via the UI. Please see the documentation for the Upcoming Media Card for more.
This integration can only be configuration through the UI (Configuration->Integrations), and the options below can be configured when the integration is added (host
and port
aren't needed for a Zeroconf configuration).
key | default | required | description |
---|---|---|---|
name | Recently_Recorded | no | Name of the sensor. |
host | localhost | yes | The host Channels DVR is running on (not required if the installation is automatically discovered). |
port | 8089 | yes | The port Channels DVR is running on (not required if the installation is automatically discovered). |
max | 5 | no | Max number of items to show in sensor. |
download_images | true | no | Setting this to false will turn off downloading of images. |
img_dir | '/upcoming-media-card-images/recently_recorded/' | no | This option allows you to choose a custom directory to store images in if you enable download_images. Directory must start and end with a / . |
By default this addon automatically downloads images from the Channels site to your /www/custom-lovelace/upcoming-media-card/ directory. The directory is automatically created & only images reported in the upcoming list are downloaded. Images are small in size and are removed automatically when no longer needed.
Do not just copy examples, please use config options above to build your own!
- type: custom:upcoming-media-card
entity: sensor.recently_recorded
title: Recently Recorded
key | default | example |
---|---|---|
title | $title | "The Walking Dead" |
line1 | $episode | "What Comes After" |
line2 | $day, $date $time | "Monday, 10/31 10:00 PM" Displays time of download. |
line3 | $number - $rating - $runtime | "S01E12 - ★ 9.8 - 01:30" |
line4 | $genres | "Action, Adventure, Comedy" |
icon | mdi:eye-off | https://materialdesignicons.com/icon/eye-off |
Here's an example of the sensor entity that the integration creates:
And here's an example of the Upcoming Media Card displaying the contents on my Lovelace dashboard: