Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cards Not Updating #99

Open
iamronr opened this issue Aug 6, 2024 · 6 comments
Open

Cards Not Updating #99

iamronr opened this issue Aug 6, 2024 · 6 comments

Comments

@iamronr
Copy link

iamronr commented Aug 6, 2024

Describe the bug:

The upcoming media cards don't seem to be updating. I've downloaded a new movie and tv show, and none show up under Plex recently added, upcoming movies, and tv shows aren't updating either.

Config YAML:

type: custom:upcoming-media-card
entity: sensor.rmedia_plex_recently_added
title: Recently Added
date: mmddyy
clock: 12
max: 5
image_style: fanart
enable_tooltips: true
enable_transparency: true
disable_hyperlinks: true
flag: false
type: custom:upcoming-media-card
entity: sensor.rmedia_plex_recently_added_movie
title: Recently Added Movies
date: mmddyy
clock: 12
max: 5
image_style: fanart
enable_tooltips: true
enable_transparency: true
disable_hyperlinks: true
flag: false
type: custom:upcoming-media-card
entity: sensor.rmedia_radarr_upcoming_media
title: Upcoming Movies
date: mmddyy
clock: 12
max: 5
image_style: fanart
enable_tooltips: true
enable_transparency: true
disable_hyperlinks: true
flag: false
type: custom:upcoming-media-card
entity: sensor.rmedia_sonarr_upcoming_media
title: Upcoming Shows/Episodes
date: mmddyy
clock: 12
max: 6
image_style: fanart
enable_tooltips: true
enable_transparency: true
disable_hyperlinks: true
flag: false
sort_by: airdate

Components:

I'm using the plex, radarr, and sonarr components and see the same issue on all of them, not updating.

HA Error:

Troubleshooting Guide:

I followed all steps and was able to verify content through the API, especially with Plex. I'm attaching the screenshot here...
TRC

Home Assistant Version:

TRC

Screenshots:

This screenshot will show what's been there and hasn't updated or refreshed. You'll see in the screenshot under "Troubleshooting Guide" where Plex sees recently added movies and even TV shows, but don't show in Home Assistant.
TRC 1

Additional Context:

I did set up an automation to refresh the sensors every 10 seconds, but that also hasn't helped. I also installed using HACS, not sure if that'll cause an issue...

@mkanet
Copy link
Collaborator

mkanet commented Aug 7, 2024

You should make sure that you're using the original repos below. They are not searchable on HACS yet unless you add each repo URL manually to HACS. If you installed them from HACS without adding the URLs to HACS, you'll end up installing an older fork of the original repos:

Original Correct Repos:

https://github.com/custom-components/sensor.plex_recently_added
https://github.com/custom-components/sensor.sonarr_upcoming_media
https://github.com/custom-components/sensor.radarr_upcoming_media
https://github.com/custom-cards/upcoming-media-card

An easy way to know if you're using the correct versions, your main HACS screen should contain the temporary warning messages below. They are only warning message that can be ignored for now. These messages will disappear soon once HACS approves these repos to be back on HACS:

image

@iamronr
Copy link
Author

iamronr commented Aug 7, 2024

You should make sure that you're using the original repos below. They are not searchable on HACS yet unless you add each repo URL manually to HACS. If you installed them from HACS without adding the URLs to HACS, you'll end up installing an older fork of the original repos:

Original Correct Repos:

https://github.com/custom-components/sensor.plex_recently_added https://github.com/custom-components/sensor.sonarr_upcoming_media https://github.com/custom-components/sensor.radarr_upcoming_media https://github.com/custom-cards/upcoming-media-card

An easy way to know if you're using the correct versions, your main HACS screen should contain the temporary warning messages below. They are only warning message that can be ignored for now. These messages will disappear soon once HACS approves these repos to be back on HACS:

image

This is exactly what I see currently in HACS. What would be the recommended step after making sure I'm using the original repos?

TRC

@mkanet
Copy link
Collaborator

mkanet commented Aug 7, 2024

I just realized that you had it all working per your screenshot above. When was the last time this was working for you? There haven't been any updates to these repos in a while. Do you remember what you did immediately before it all stopped working? Probably the easiest thing to do is restore Home Assistant from an older backup (from when it was working), That's what I would do.

If you didnt make any backups from when it was all working, I'd recommend 1) Uninstalling all above. 2) Reboot Home Assistant,. 3) Add the correct components again one by one; and, reconfiguring with the correct IP addresses and ports. This should clear anything issues you had before.

Let me know how it goes...

@iamronr
Copy link
Author

iamronr commented Aug 7, 2024

Ok, will do. I'll go ahead and set it up again. I don't know when it actually stopped working. I noticed it when I went to download some content recently and noticed in HA it wasn't working. I'll do a fresh reinstall and see how it goes.

@iamronr
Copy link
Author

iamronr commented Aug 7, 2024

I think I figured out the issue. So with the plex recently added content, I had uncheck "Show on deck items" in the configuration. Under Radarr upcoming, I had to uncheck "Theaters" in the configuration for the content to show, but I'm wondering if I do need to leave it checked, because it'll show only what's in theaters, that hasn't gone digital I'm thinking...

@mkanet
Copy link
Collaborator

mkanet commented Aug 7, 2024

It sounds like the integrations are talking to the respective Radarr/Sonarr/Plex APIs or you wouldn't be able to retrieve any data from them at all. You'll have to play around with adding new TV Shows and Movies to your Plex Server to populate those respective plex recently added sensors.

I almost forgot: On rare occasions, sometimes after configuring a integration, I noticed that I need to re-add the sensor back to the respective UMC card for the items to be displayed in the card again... (for example) just remove the line: entity: sensor.plex_recently_added_movie and add it back again to the card. Do that for each card.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants