DUE TO LACK OF TIME DEVELOPMENT OF THIS APP HAS BEEN STOPPED, IF ANY DEVELOPER WANTS TO TAKE OVER DEVELOPMENT FEEL FREE TO CONTACT ME.
Connect Sonarr and Radarr with Homey
App Store page : n.a.
Description
Connect Sonarr and/or Radarr with Homey and receive updates about grabbed and finished downloads and upcoming episodes and movies.
Instructions
For Homey to be able to receive updates from Sonarr and Radarr these applications need to send notifications to Homey on events like finished downloads. This is achieved by registering a webhook in Sonarr and/or Radarr. Below is a short instruction on how to register this webhook.
First add your Sonarr, Radarr or Lidarr installations as devices in Homey. You will need to fill in the IP address and API key from your instance. Also make sure you have done the basic setup of your Sonarr, Radarr or Lidarr instance, adding a clean install to Homey wont work.
Then log into your Sonarr or Radarr installation and go to āSettings > Connectā (these steps are not needed for a Lidarr installation).
Click on the plus button and click on the Webhook notification in the Add Notification popup
Enter the details as followed:
Name: Homey (or something similar)
On Grab: Yes
On Download: Yes
On Upgrade: No
On Rename: No
Filter Series Tags: Empty
URL for Sonarr: http(s)://yourip-or-homey-url/api/app/tv.video.sonarr.radarr/sonarr/ where you add the local IP of Homey (if on the same network as Sonarr) or the external cloud URL of Homey
URL for Radarr: http(s)://yourip-or-homey-url/api/app/tv.video.sonarr.radarr/radarr/ where you add the local IP of Homey (if on the same network as Radarr) or the external cloud URL of Homey
Method: POST
Looking for another developer
Iām not using this app myself anymore. Therefor Iām looking for a developer that is interested in taking over development.
Donations
I enjoy creating apps for Homey and try to support them as best as I can. If you enjoy using my apps a donation in return for the time I put into this is much appreciated.
The API URL only listens to POST request, not to direct GET requests. What is the error you see in Sonarr or Radarr when you webhook notification as described in the instructions?
I have a flow that uses the ACTION to speak the latest movies or episodes downloaded.
However, If i ask google home to āask homeyā the flow is started nicely but the answer is being given on te homey speaker (which sounds horrible).
Is there a way to get the answer back through the google home speaker?
All i can tell you is to make sure the IP and port are correct and that your homey is connected on the same network.
I had the ports mixed up at the start and got the same error.
You can test the API + key from command line or any browswer in the same network.
Got all the settings correct as described by you, but no notifications to Homey. Radarr, Sonarr and Lidarr do confirm a correct web webhook. None of them notify to Homey.
Message Unable to send OnReleaseImport notification to: Homey: HTTP request failed: [500:InternalServerError] [POST] at [http://10.0.1.160/api/app/tv.video.sonarr.radarr/lidarr/]
Exception
NzbDrone.Common.Http.HttpException: HTTP request failed: [500:InternalServerError] [POST] at [http://10.0.1.160/api/app/tv.video.sonarr.radarr/lidarr/]
at NzbDrone.Common.Http.HttpClient.Execute (NzbDrone.Common.Http.HttpRequest request) [0x00130] in <96b70a41daeb490db51c9994341a8d2b>:0
at NzbDrone.Core.Notifications.Webhook.WebhookProxy.SendWebhook (NzbDrone.Core.Notifications.Webhook.WebhookPayload body, NzbDrone.Core.Notifications.Webhook.WebhookSettings settings) [0x0006f] in :0
at NzbDrone.Core.Notifications.Webhook.Webhook.OnReleaseImport (NzbDrone.Core.Notifications.AlbumDownloadMessage message) [0x000a2] in :0
at NzbDrone.Core.Notifications.NotificationService.Handle (NzbDrone.Core.MediaFiles.Events.AlbumImportedEvent message) [0x000cf] in :0
{ācodeā:500,āerrorā:āInvalid response from Lidarrā,āerror_descriptionā:āEr is een onbekende fout opgetreden [unknown_error]ā}
Could something between your Sonarr, Radarr and Lidarr instances block the traffic to Homey. Is you are running them in docker containers you might need to tweak the network settings of the containers.
No, not running in a docker just as spkās on Synology. Testing the webhook gives a confirmation message within all of them, just nothing is received in Homey. Currently I also use Prowl, without any issue. Port forwarding ports 80 and 443 within my router for testing doesnāt change the behavior.
Edit: In none of the logs in Sonarr, Radarr or Lidarr is an error message, so my previous posted error might have to do with a new installation or Lidarr that wasnāt fully functional yet. So at senders side all seems correct, as the confirmations tell. Could it be at receiver side? In Homey I get āconnectedā for all three apps, so Iām puzzled where this faults.
Sorry for the late response. Yes, I activated a flow with āMovie downloadedā from the Radarr plugin as trigger. If I test is, I get a notification in Homey and a push message to my phone. The web hook test in Radarr is also ok, but doesnāt trigger the flow. Iām unable to figure out what might be wrong in the settings.
Update:
Fixed. Started from scratch again and now itās working. Thanks!