Sensors for Tautulli using the Plugin

Im using the https://github.com/hassio-addons/addon-tautulli/ plugin, but it doesn’t appear to expose any sensors. Is there a way to be able to query just the “Now Playing” or “bandwidth” values from this, or do I need to configure this in configuration.yaml and run tautilli elsewhere?

Thanks!

You only inwtalled the add-on, which is tautulli. You need to condigure it in Home Assistant in order that you see sensors. Follow the docs here.

I did try that, but I get a load of log entries
[homeassistant.components.sensor] Platform tautulli not ready yet
repeating at set intervals (30,60,90 secs etc)
Running Tautulli in SSL mode if that makes a difference.

Did you enable SSL in the configuration in Home Assistant for the tautulli integration? Can you please show your config entry for the integration? Also the host field must have a DNS name not an IP when using SSL.

In configuration.yaml:

sensor:
  - platform: tautulli
    api_key: myapikey
    host: ha2.mydomain.com

in the integration:

username: myusername
password: **************
ssl: true
certfile: certificate.pem
keyfile: privkey.pem

in the logs
Can not load data from Tautulli: http://ha2.mydomain.com:8181/api/v2?apikey=*****************************&cmd=get_server_friendly_name - [Errno 104] Connection reset by peer

Notice it is trying a HTTP request to a https service - i tried changing the configuration.yaml entry to include https:// then the log gos back to showing
[homeassistant.components.sensor] Platform tautulli not ready yet

if I manually enter the request URL in my browser, it returns correctly:
{"response": {"result": "success", "message": null, "data": "HTPC"}}

Try

sensor:
  - platform: tautulli
    api_key: myapikey
    host: ha2.mydomain.com
    ssl: true
2 Likes

Bingo! Many thanks, this was driving me nuts, all working now :slight_smile:

1 Like

What if I do not use a domain. What would I place in there? Would it just be the hostname itself without the extra mydomain.com part? I have everything else set up as described by yourself and others above but no luck in getting bandwidth etc. sensors.
So sorry to be a pain and thank you very much

The IP of the host as stated in the docs.

Of course. I do not know how the heck I missed that. Still unable to pull any bandwidth info so I wonder what else I missed.
Thank you none the less!!!