This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.

The Homey Community has been moved to https://community.athom.com.

This forum is now read-only for archive purposes.
Closed Official

[APP] Sonarr and Radarr

2»

Comments

  • Phuturist said:

    Latest version - 2017-07-17 -- v1.1.3

    • IMPROVEMENT: add even better error handling for the webhooks of Sonarr and Radarr
    • FIX: fix a small issue with the Radarr webhook
    Hi @Phuturist

    I installed the update, for the better i even generated a fresh API key for Radarr and added it to the device. Configured the Webhook and when clicking on Test is says success, but the flow (download finished) isn't triggered. Then i tried testing it with a 'Download started' trigger and then the flow does get started when clicking on the Test button.

    So maybe it has something to do with the 'download finished' webhook from Radarr?

    Thanks.
  • @Phuturist

    Did you had a change to look at the problem with the Radarr webhook?
  • rvmourik said:
    @Phuturist

    Did you had a change to look at the problem with the Radarr webhook?
    No, I'm on vacation so it will take at least 2 weeks before I'll look into it.
  • Phuturist said:
    rvmourik said:
    @Phuturist

    Did you had a change to look at the problem with the Radarr webhook?
    No, I'm on vacation so it will take at least 2 weeks before I'll look into it.
    Have a Nice vacation!
  • @Phuturist

    I found the issue in the code, fixed it in a fork and created a pull request for you.

    Regards,

    Robbert
  • rvmourik said:
    @Phuturist

    I found the issue in the code, fixed it in a fork and created a pull request for you.

    Regards,

    Robbert
    Nice job, I hope to merge the PR within a couple of days and push it to the app store. Just a little patience.
  • Phuturist said:
    rvmourik said:
    @Phuturist

    I found the issue in the code, fixed it in a fork and created a pull request for you.

    Regards,

    Robbert
    Nice job, I hope to merge the PR within a couple of days and push it to the app store. Just a little patience.
    I have some more feature ideas (mainly some extra tags), want me to create PR's for it?
  • rvmourik said:
    Phuturist said:
    rvmourik said:
    @Phuturist

    I found the issue in the code, fixed it in a fork and created a pull request for you.

    Regards,

    Robbert
    Nice job, I hope to merge the PR within a couple of days and push it to the app store. Just a little patience.
    I have some more feature ideas (mainly some extra tags), want me to create PR's for it?
    Feel free to do so ... :+1:
  • Latest version -- 2017-08-02 -- v1.1.4

    • FIX: fix for issue with the Radarr webhook (credits to rvmourik)
  • Latest version -- 2017-10-31 -- v2.0.0

    • NEW: rewrite for SDK2
    • NEW: when adding series/movies by voice the app will now not pick the first result when there are more but will ask you to be more specific
    • NEW: added action card for speaking the latest 1 to 15 grabbed episodes (Sonarr) or movies (Radarr)
  • I have added ny Radarr without problem. When trying to add Sonarr in the same manner i enter the ip, port and API, then press test and nothing happens. The connect button stays gray and i cant click it. If i change the ip to wrong ip and click test i get a red X. How can i get the connect button to work?

    Ive tried waiting, and i get no errors at all, the connect button just stays grey. What to do?
    Also tried reinstalling Sonarr fresh :( 
  • sussox said:
    I have added ny Radarr without problem. When trying to add Sonarr in the same manner i enter the ip, port and API, then press test and nothing happens. The connect button stays gray and i cant click it. If i change the ip to wrong ip and click test i get a red X. How can i get the connect button to work?

    Ive tried waiting, and i get no errors at all, the connect button just stays grey. What to do?
    Also tried reinstalling Sonarr fresh :( 
    Have you tried resetting the API key in Sonarr and use the newly created key?

    And what happens when you access the Sonarr API in the browser with the following link (replace it with your own IP, Port and API key): http://<<IP>>:8989/api/system/status?apikey=<<KEY>>;
  • Phuturist said:
    sussox said:
    I have added ny Radarr without problem. When trying to add Sonarr in the same manner i enter the ip, port and API, then press test and nothing happens. The connect button stays gray and i cant click it. If i change the ip to wrong ip and click test i get a red X. How can i get the connect button to work?

    Ive tried waiting, and i get no errors at all, the connect button just stays grey. What to do?
    Also tried reinstalling Sonarr fresh :( 
    Have you tried resetting the API key in Sonarr and use the newly created key?

    And what happens when you access the Sonarr API in the browser with the following link (replace it with your own IP, Port and API key): http://<<IP>>:8989/api/system/status?apikey=<<KEY>>;
    Hi! Yes, i waited a couple of minutes, nothing happens. Also tried a new key. When browsing the address above with my API key, im getting a page with my sonarr config. Like so: 

    {
      "version": "2.0.0.5090",
      "buildTime": "2017-12-14T17:18:01Z",
      "isDebug": false,
      "isProduction": true,
      "isAdmin": true,
      "isUserInteractive": false,
      "startupPath": "/opt/sonarr",
      "appData": "/root/.config/NzbDrone",
      "osName": "ubuntu",
      "osVersion": "14.04",
      "isMonoRuntime": true,
      "isMono": true,
      "isLinux": true,
      "isOsx": false,
      "isWindows": false,
      "branch": "develop",
      "authentication": "none",
      "sqliteVersion": "3.8.2",
      "urlBase": "",
      "runtimeVersion": "5.4.0.201",
      "runtimeName": "mono"
    }


  • sussox said:
    Phuturist said:
    sussox said:
    I have added ny Radarr without problem. When trying to add Sonarr in the same manner i enter the ip, port and API, then press test and nothing happens. The connect button stays gray and i cant click it. If i change the ip to wrong ip and click test i get a red X. How can i get the connect button to work?

    Ive tried waiting, and i get no errors at all, the connect button just stays grey. What to do?
    Also tried reinstalling Sonarr fresh :( 
    Have you tried resetting the API key in Sonarr and use the newly created key?

    And what happens when you access the Sonarr API in the browser with the following link (replace it with your own IP, Port and API key): http://<<IP>>:8989/api/system/status?apikey=<<KEY>>;
    Hi! Yes, i waited a couple of minutes, nothing happens. Also tried a new key. When browsing the address above with my API key, im getting a page with my sonarr config. Like so: 

    {
      "version": "2.0.0.5090",
      "buildTime": "2017-12-14T17:18:01Z",
      "isDebug": false,
      "isProduction": true,
      "isAdmin": true,
      "isUserInteractive": false,
      "startupPath": "/opt/sonarr",
      "appData": "/root/.config/NzbDrone",
      "osName": "ubuntu",
      "osVersion": "14.04",
      "isMonoRuntime": true,
      "isMono": true,
      "isLinux": true,
      "isOsx": false,
      "isWindows": false,
      "branch": "develop",
      "authentication": "none",
      "sqliteVersion": "3.8.2",
      "urlBase": "",
      "runtimeVersion": "5.4.0.201",
      "runtimeName": "mono"
    }


    Strange. One thing I notice is your version number. It's higher than the latest official version, are you running a beta or customized version?

    Are you comfortable running apps from command line? I got created a customized version of the Homey app which spits out more logging so I can troubleshoot it further.
  • Phuturist said:
    sussox said:
    Phuturist said:
    sussox said:
    I have added ny Radarr without problem. When trying to add Sonarr in the same manner i enter the ip, port and API, then press test and nothing happens. The connect button stays gray and i cant click it. If i change the ip to wrong ip and click test i get a red X. How can i get the connect button to work?

    Ive tried waiting, and i get no errors at all, the connect button just stays grey. What to do?
    Also tried reinstalling Sonarr fresh :( 
    Have you tried resetting the API key in Sonarr and use the newly created key?

    And what happens when you access the Sonarr API in the browser with the following link (replace it with your own IP, Port and API key): http://<<IP>>:8989/api/system/status?apikey=<<KEY>>;
    Hi! Yes, i waited a couple of minutes, nothing happens. Also tried a new key. When browsing the address above with my API key, im getting a page with my sonarr config. Like so: 

    {
      "version": "2.0.0.5090",
      "buildTime": "2017-12-14T17:18:01Z",
      "isDebug": false,
      "isProduction": true,
      "isAdmin": true,
      "isUserInteractive": false,
      "startupPath": "/opt/sonarr",
      "appData": "/root/.config/NzbDrone",
      "osName": "ubuntu",
      "osVersion": "14.04",
      "isMonoRuntime": true,
      "isMono": true,
      "isLinux": true,
      "isOsx": false,
      "isWindows": false,
      "branch": "develop",
      "authentication": "none",
      "sqliteVersion": "3.8.2",
      "urlBase": "",
      "runtimeVersion": "5.4.0.201",
      "runtimeName": "mono"
    }


    Strange. One thing I notice is your version number. It's higher than the latest official version, are you running a beta or customized version?

    Are you comfortable running apps from command line? I got created a customized version of the Homey app which spits out more logging so I can troubleshoot it further.
    Sure! Would be nice to know where it fails.. 
  • sussox said:
    Phuturist said:
    Strange. One thing I notice is your version number. It's higher than the latest official version, are you running a beta or customized version?

    Are you comfortable running apps from command line? I got created a customized version of the Homey app which spits out more logging so I can troubleshoot it further.
    Sure! Would be nice to know where it fails.. 
    Here is a version with extra debug logging. Run it through command line with "athom project --run" and try to pair your Sonarr install. It should give a better indication where things go wrong. One other question, are you using Chrome for pairing, another browser or the desktop client?

    https://drive.google.com/open?id=1aLtxyYdx-0BJQULIQcx9t5cvpPH441bk
  • Phuturist said:
    sussox said:
    Phuturist said:
    Strange. One thing I notice is your version number. It's higher than the latest official version, are you running a beta or customized version?

    Are you comfortable running apps from command line? I got created a customized version of the Homey app which spits out more logging so I can troubleshoot it further.
    Sure! Would be nice to know where it fails.. 
    Here is a version with extra debug logging. Run it through command line with "athom project --run" and try to pair your Sonarr install. It should give a better indication where things go wrong. One other question, are you using Chrome for pairing, another browser or the desktop client?

    https://drive.google.com/open?id=1aLtxyYdx-0BJQULIQcx9t5cvpPH441bk
    Hi, using desktop client for pairing (OS X).All i get in the log is:

    Start test connection

    Send command to retrieve root folder used in test connection function with url:

    http://192.168.10.70:8989/api/rootfolder

    Received response:

    []

    Result test connection:

    []

    Start test connection

    Send command to retrieve root folder used in test connection function with url:

    http://192.168.10.70:8989/api/rootfolder

    Received response:

    []

    Result test connection:

    []

    Start test connection

    Send command to retrieve root folder used in test connection function with url:

    http://192.168.10.70:8989/api/rootfolder

    Received response:

    []

    Result test connection:

    []

    Start test connection

    Send command to retrieve root folder used in test connection function with url:

    http://192.168.10.70:8989/api/rootfolder

    Received response:

    []

    Result test connection:

    []

    Start test connection

    Send command to retrieve root folder used in test connection function with url:

    http://192.168.10.70:8989/api/rootfolder

    Received response:

    []

    Result test connection:

    []

    Start test connection

    Send command to retrieve root folder used in test connection function with url:

    http://192.168.10.70:8989/api/rootfolder

    Received response:

    []

    Result test connection:

    []


  • sussox said:
    Phuturist said:
    sussox said:
    Phuturist said:
    Strange. One thing I notice is your version number. It's higher than the latest official version, are you running a beta or customized version?

    Are you comfortable running apps from command line? I got created a customized version of the Homey app which spits out more logging so I can troubleshoot it further.
    Sure! Would be nice to know where it fails.. 
    Here is a version with extra debug logging. Run it through command line with "athom project --run" and try to pair your Sonarr install. It should give a better indication where things go wrong. One other question, are you using Chrome for pairing, another browser or the desktop client?

    https://drive.google.com/open?id=1aLtxyYdx-0BJQULIQcx9t5cvpPH441bk
    Hi, using desktop client for pairing (OS X).All i get in the log is:

    Start test connection

    Send command to retrieve root folder used in test connection function with url:

    http://192.168.10.70:8989/api/rootfolder

    Received response:

    []

    Result test connection:

    []


    What do you see when you call this URL: http://192.168.10.70:8989/api/rootfolder?apikey=<<YOUR_API_KEY>>;
  • Phuturist said:
    sussox said:
    Phuturist said:
    sussox said:
    Phuturist said:
    Strange. One thing I notice is your version number. It's higher than the latest official version, are you running a beta or customized version?

    Are you comfortable running apps from command line? I got created a customized version of the Homey app which spits out more logging so I can troubleshoot it further.
    Sure! Would be nice to know where it fails.. 
    Here is a version with extra debug logging. Run it through command line with "athom project --run" and try to pair your Sonarr install. It should give a better indication where things go wrong. One other question, are you using Chrome for pairing, another browser or the desktop client?

    https://drive.google.com/open?id=1aLtxyYdx-0BJQULIQcx9t5cvpPH441bk
    Hi, using desktop client for pairing (OS X).All i get in the log is:

    Start test connection

    Send command to retrieve root folder used in test connection function with url:

    http://192.168.10.70:8989/api/rootfolder

    Received response:

    []

    Result test connection:

    []


    What do you see when you call this URL: http://192.168.10.70:8989/api/rootfolder?apikey=<<YOUR_API_KEY>>;
    I only see: [] 
  • PhuturistPhuturist Member
    edited December 2017
    sussox said:
    Phuturist said:
    sussox said:
    Phuturist said:
    sussox said:
    Phuturist said:
    Strange. One thing I notice is your version number. It's higher than the latest official version, are you running a beta or customized version?

    Are you comfortable running apps from command line? I got created a customized version of the Homey app which spits out more logging so I can troubleshoot it further.
    Sure! Would be nice to know where it fails.. 
    Here is a version with extra debug logging. Run it through command line with "athom project --run" and try to pair your Sonarr install. It should give a better indication where things go wrong. One other question, are you using Chrome for pairing, another browser or the desktop client?

    https://drive.google.com/open?id=1aLtxyYdx-0BJQULIQcx9t5cvpPH441bk
    Hi, using desktop client for pairing (OS X).All i get in the log is:

    Start test connection

    Send command to retrieve root folder used in test connection function with url:

    http://192.168.10.70:8989/api/rootfolder

    Received response:

    []

    Result test connection:

    []


    What do you see when you call this URL: http://192.168.10.70:8989/api/rootfolder?apikey=<<YOUR_API_KEY>>;
    I only see: [] 
    Than there appears to be something wrong with your Sonarr install, and that is out of my hands. I asked you earlier about the version number. It's higher than the currently released version of Sonarr. Are you using a customized version that perhaps has changes to the API as well?

    And what do you see under "Add series > Import existing" as root folders mentioned?
  • Phuturist said:
    sussox said:
    Phuturist said:
    sussox said:
    Phuturist said:
    sussox said:
    Phuturist said:
    Strange. One thing I notice is your version number. It's higher than the latest official version, are you running a beta or customized version?

    Are you comfortable running apps from command line? I got created a customized version of the Homey app which spits out more logging so I can troubleshoot it further.
    Sure! Would be nice to know where it fails.. 
    Here is a version with extra debug logging. Run it through command line with "athom project --run" and try to pair your Sonarr install. It should give a better indication where things go wrong. One other question, are you using Chrome for pairing, another browser or the desktop client?

    https://drive.google.com/open?id=1aLtxyYdx-0BJQULIQcx9t5cvpPH441bk
    Hi, using desktop client for pairing (OS X).All i get in the log is:

    Start test connection

    Send command to retrieve root folder used in test connection function with url:

    http://192.168.10.70:8989/api/rootfolder

    Received response:

    []

    Result test connection:

    []


    What do you see when you call this URL: http://192.168.10.70:8989/api/rootfolder?apikey=<<YOUR_API_KEY>>;
    I only see: [] 
    Than there appears to be something wrong with your Sonarr install, and that is out of my hands. I asked you earlier about the version number. It's higher than the currently released version of Sonarr. Are you using a customized version that perhaps has changes to the API as well?

    And what do you see under "Add series > Import existing" as root folders mentioned?
    Yup! There was the problem, my rootfolder had gone missing from there, added it again and now setup worked in homey :) Thanks !
  • Latest version -- 2018-01-14-- v2.0.1

    • FIX: fixed issue with Radarr updates not triggering
  • Hi.
    Í´m trying to configure this for both Sonarr and Radarr.
    Sonarr Went smooth and was up and running in no-time.
    Radarr on the other hand stalls when adding the Radarr-device to Homey with that Little red "x" beneath the test Connection button..
    I´ve tried changing to the suugested port( 8310  ) and generated a new API-key a couple of times.
    Here is my output from "172.18.14.16:7878/api/system/status?apikey=<Key>":
    {
      "version": "0.2.0.995",
      "buildTime": "2018-03-04T19:20:38.3820002Z",
      "isDebug": false,
      "isProduction": true,
      "isAdmin": true,
      "isUserInteractive": false,
      "startupPath": "C:\\ProgramData\\Radarr\\bin",
      "appData": "C:\\ProgramData\\Radarr",
      "osVersion": "6.2.9200.0",
      "isMonoRuntime": false,
      "isMono": false,
      "isLinux": false,
      "isOsx": false,
      "isWindows": true,
      "branch": "master",
      "authentication": "none",
      "sqliteVersion": "3.8.7.2",
      "urlBase": "",
      "runtimeVersion": "4.0.30319.42000"
    }

    Any suggestions to get this working?

    /JeroenM
  • PhuturistPhuturist Member
    edited April 2018
    I'm probably asking for the obvious. But in Radarr, did you set the URL to: http://<<your_ip>>/api/app/tv.video.sonarr.radarr/radarr/ and the method to POST?
  • PhuturistPhuturist Member
    edited August 2018
    Athom is switching to a new forum, read the announcement here.

    This support thread will be continued here: https://community.athom.com/t/120
This discussion has been closed.