Hey @mayker Thank you for the awesome component. I finally switched everything over to Sonarr and Radarr when my Synology crashed, and have been using your card for a while now.
I have a slight problem though, I keep getting timeout/not available errors in the HA log now and again. The card works fine, they show up, update no problems. I have HA running in a docker container, and also have sonarr and radarr running on the same host, also in docker containers.
It would possibly be user error on my behalf, but was just wondering if you might have any insight as to what might be up.
Many thanks in advance.
Host 10.0.0.2 is not available
6:17 PM custom_components/sensor/sonarr_upcoming_media.py (WARNING)
Update of sensor.sonarr_upcoming_media is taking over 10 seconds
6:17 PM util/async_.py (WARNING)
Host 10.0.0.2 is not available
6:17 PM custom_components/sensor/sonarr_upcoming_media.py (WARNING)
Update of sensor.sonarr_upcoming_media is taking over 10 seconds
6:17 PM util/async_.py (WARNING)
Host 10.0.0.2 is not available
6:01 PM custom_components/sensor/sonarr_upcoming_media.py (WARNING)
Update of sensor.sonarr_upcoming_media is taking over 10 seconds
6:01 PM util/async_.py (WARNING)
Host 10.0.0.2 is not available
6:00 PM custom_components/sensor/radarr_upcoming_media.py (WARNING)
Update of sensor.radarr_upcoming_media is taking over 10 seconds
6:00 PM util/async_.py (WARNING)
Host 10.0.0.2 is not available
6:00 PM custom_components/sensor/radarr_upcoming_media.py (WARNING)
Update of sensor.radarr_upcoming_media is taking over 10 seconds
6:00 PM util/async_.py (WARNING)
Host 10.0.0.2 is not available
5:52 PM custom_components/sensor/radarr_upcoming_media.py (WARNING)
Update of sensor.radarr_upcoming_media is taking over 10 seconds
5:52 PM util/async_.py (WARNING)
Host 10.0.0.2 is not available
5:51 PM custom_components/sensor/radarr_upcoming_media.py (WARNING)
Update of sensor.radarr_upcoming_media is taking over 10 seconds
5:51 PM util/async_.py (WARNING)
mayker
(maykar (pronounced "maker" with a southern accent))
315
If they’re still functioning, it could be that the api’s are just slow to respond. Something you could try:
Find this line in the components ( line 146 for sonarr and line 141 for radarr):
headers={'X-Api-Key': self.apikey}, timeout=10)
And increase the timeout by a few seconds until you no longer see the error, i.e:
headers={'X-Api-Key': self.apikey}, timeout=15)
You’ll probably still see the following error, but unfortunately there’s not much I can do about that. Will look into it though.:
Update of sensor.radarr_upcoming_media is taking over 10 seconds
Report back if it works out for you, might add it to config options.
Great job on the component @mayker… really sleek look and feel. For those of us not using any download or media player application it would be great to hook into all upcoming shows sans Sonarr/Radarr/Plex.
1 Like
mayker
(maykar (pronounced "maker" with a southern accent))
318
Though it might be a bit overkill for essentially a media calendar, you can use radarr and sonarr to do just that. Just don’t setup the download portion and add your shows.
mayker
(maykar (pronounced "maker" with a southern accent))
319
My card is open for others to create components for it and there is a trakt sensor that currently has an issue to make it compatible with this card, but im not sure of the status.
True. I used to use Sonarr… only problem is I’ll need to have a permanent instance up and running (which I’m OK with if I can get it to run within Hass.io).
mayker
(maykar (pronounced "maker" with a southern accent))
321
Will look into options for this, whether it’s creating a new custom component or adding a PR to the trakt component. Can’t really say it’ll be soon, but it’s on my list.
Will look into options for this, whether it’s creating a new custom component or adding a PR to the trakt component . Can’t really say it’ll be soon, but it’s on my list.
I’ve been meaning to make my trakt component work with your card, will start working on that tonight Thanks for the prompt
the custom card isn’t showing in the updater anymore (the components are though).
mayker
(maykar (pronounced "maker" with a southern accent))
326
@mynameisdaniel - Feel free to PM me the first few results from http://[IP]:[port]/library/recentlyAdded?X-Plex-Token=[token] and I’ll take a look, unsure what’s going on there. With no errors and status online you should be getting something, unless nothings been recently downloaded, but as you said the URL returns info.
@iantrich - Awesome! Let me know if you have any questions or need anything changed on my side to accommodate.
@DavidFW1960 - Nothing on my side has changed in 2 months and tracker card/custom updater haven’t been updated in 3 months, so I couldn’t tell you what’s going on there. Might want to ask on that component/cards post/github.
I don’t think it’s reading a JSON file with the version information anymore. It seems to only be seeing cards that I added in config manually. The components are ok…