I’m no expert either. But both my Sonarr V3 and Radarr V4 use the path below:
http://{insert your sonarr/radarr
address:port}/api/v3/calendar?apikey={insert your sonarr/radarr API
key}
I know that Sonarr V4 beta mentioned they removed the V2 API. However, I think it still uses API V3 looking at the path above. Maybe it’s wishful thinking. Can you please double-check on Discord if they also removed API V3?
Totally! Ill provide the full raw API response later this evening via PM. I have to go pickup the kids from school. I will also provide any other information youll need after that until we hopefully have a solution. Thanks!
You can edit your local sensor.py. Mine is located here: \config\custom_components\sonarr_upcoming_media\sensor.py
I still haven’t upgraded to Sonarr V4 since its still in beta. Maybe you can try it after changing these lines? I can’t imagine Sonarr V4 being that much different than Radarr V4. The developer purposefully tried to keep things consistent between the 2 projects.
Having some trouble getting the card to populate here.
I’ve done all the sensor.py edits and it’s connecting, according to the HA states, but not populating and reads as 0 upcoming, but calling the API works fine.
(I can only post one embed per post as a new member, sorry if you get too many notifications!)
I still haven’t upgraded to Sonarr V4. I’m hoping @bacco007 or someone else here who’s successfully done this for Sonarr V4 can elaborate. I’m not sure how else to get a hold of @bacco007
Thank you. We just need to see what specifically you modified in the original code for Sonarr V4 support. A couple of people unsuccessfully tried to follow your suggestion. I think there may be something we’re missing besides making the changes below:
This is sensor.py file that I run - you should be able to copy this completely and paste it into your sensor.py (overwrite the whole file) and it should work fine
@seriosbrad@bacco007 thank you so much! We finally have have a confirmed working solution we can just copy. I am going to upgrade to Sonarr V4 soon since this is now confirmed as working.