mayker
(maykar (pronounced "maker" with a southern accent))
44
Big thanks to @DavidFW1960 and @jOOc again. These guys were a huge help in troubleshooting date / time issues.
Always restart after updating components and if you’re not updating using tracker-card and/or custom-updater be sure that you are adding to a version number at the end of your lovelace resources when you update your cards like so:
Sonarr works great now. But when adding radarr platform i get a constant “Timer got out of sync. Resetting” in the log.
sensor.radarr_upcoming_media is there and populated as expected. Havent tried adding radarr in UI (lovelace) yet.
mayker
(maykar (pronounced "maker" with a southern accent))
49
Made one more quick update to address time / date issues. More soon.
1 Like
mayker
(maykar (pronounced "maker" with a southern accent))
50
What do you mean by constant, does it happen well after initial restart and how often? If you remove the component, does it still happen? What system are you running HA on?
mayker
(maykar (pronounced "maker" with a southern accent))
52
Nothing good. Radarr doesn’t supply banners in their API and I was attempting to make something with fanart that resembles a banner image, but that turned out to be too unreliable as 3 movies in my upcoming didn’t have fanart.
So unless I find another way or another source for the images, unfortunately, no banner view. And when I say “another source”, it would have to be one that doesn’t require an API key or limitations on how many hits per day.
There is a issue on radarr’s github page requesting access to banner images via the API, but there has been no progress or talk for 6 months.
Still haven’t found my issue with the radarr sensor…
I tried using the exact folder structure and made sure there was no permission issue…
The sensor gives me this error:
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
result = coro.send(None)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity_platform.py", line 344, in _async_add_entity
await entity.async_update_ha_state()
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity.py", line 243, in async_update_ha_state
device_attr = self.device_state_attributes
File "/home/homeassistant/.homeassistant/custom_components/sensor/radarr_upcoming_media.py", line 110, in device_state_attributes
p = open(directory + 'poster' + str(attribNum) + '.jpg','wb')
FileNotFoundError: [Errno 2] No such file or directory: 'www/custom-lovelace/upcoming-media-card/images/radarr/poster1.jpg'
Timer got out of sync. Resetting. Wil happen every minute when I have the radarr component. Starts as soon as I start HA. Remove the radarr component and it stops. Running on a rpi3. The sensor is populated. But when adding in lovelace something is wrong. The pictures are broken and I can’t open the pictures from the folder either.
Looks like I have to rethink how I’m doing the radarr component. Sorry, dudes.
mayker
(maykar (pronounced "maker" with a southern accent))
60
The Radarr component is going to need a complete rewrite and as such should be considered non-working. I apologize. As I said with the original sonarr card, I’m not a coder. I just tinker and really enjoy learning while making things. Will let you all know when there is news on the Radarr front. Thanks for your patience and help troubleshooting.
This card and the sonarr component are still functional and if you have any issues with them, please let me know.
Hey it’s all good here…
100% of the issues (except dates which are now fixed) have been due to caching… still having an issue with caching on the iOS app but that is not the addin causing it. I did delete all content in my browser and it’s come good but I can’t seem to do that in the iOS app (chrome and safari are working… just the app)
mayker
(maykar (pronounced "maker" with a southern accent))
63
The way I’m grabbing images will just cause problems down the line, I’ve seen my error, but I may have been too quick to think I can’t solve it. Working on it now, might be a bit before the next update though…depending.