Turn Tautulli into multiple sensors?

I have tautuilli setup and working great so far, but wondering if it’s possible to split up the 1 and only sensor.tautiulli thats in my states tab, i like that i can watch if there’s someone connected and watching my plex server, but would it be possible to split it up so i have another sensor display total bandwidth or any of other monitored conditions?

I have created template sensors with the information I needed and then show them as individual in the frontend.

Check this code and let me know if you it’s what you needed or any help:

- platform: template
  sensors:
    tautulli_count_transcode:
      friendly_name: 'Transcode Count'
      value_template: '{{ states.sensor.tautulli.attributes["count_transcode"] }}'
    tautulli_direct_plays:
      friendly_name: 'Direct Plays'
      value_template: '{{ states.sensor.tautulli.attributes["direct_plays"] }}'
    tautulli_direct_streams:
      friendly_name: 'Direct Streams'
      value_template: '{{ states.sensor.tautulli.attributes["direct_streams"] }}'
      
    tautulli_wan_bandwidth:
      friendly_name: 'Wan Banddiwth'
      value_template: '{{ states.sensor.tautulli.attributes["wan_bandwidth"] }}'
      unit_of_measurement: "Mbps"
    tautulli_lan_bandwidth:
      friendly_name: 'Lan Banddiwth'
      value_template: '{{ states.sensor.tautulli.attributes["lan_bandwidth"] }}'
      unit_of_measurement: "Mbps"
    tautulli_total_bandwidth:
      friendly_name: 'Total Banddiwth'
      value_template: '{{ states.sensor.tautulli.attributes["total_bandwidth"] }}'
      unit_of_measurement: "Mbps"
2 Likes

neat, where do you put this? sensor.yaml?

yup, check here: https://www.home-assistant.io/components/sensor.template/

wow, thanks giving it a try! I hope you didn’t do all that work just for me!

id give you gold if this were reddit! Perfect

1 Like