TTS and Sabnabd and Radarr senson and my Sonarr Senson

i don’t know if I should post here if not sorry. were should I ask. So I have a Scripts to Turn my Tv setup on and I use google home to do this for me :-). Is there away for google home to say at the end of the script… What new TV shows and New Movies I have download… I was thinking … using the Text to speak some how… The info will come from my Radarr senson and my Sonarr Senson. Or maybe better to use the Sabnabd as it the down loader (but don’t use it with HA or set it up in HA yet) any iders will be nice Thanks

So far I just have my TV setup as I don’t know were to start.

  sequence:
    - service: switch.turn_on
      data:
        entity_id: switch.projector
    - delay: '00:00:05'
    - service: switch.turn_on
      data:
        entity_id: switch.projector_screen_down
    - delay: '00:00:40'
    - service: switch.turn_on
      data:
        entity_id: switch.projector_screen_stop
    - delay: '00:00:05'
    - service: switch.turn_on
      data:
        entity_id: switch.sony_hifi
tv_off:
  sequence:
    - service: switch.turn_off
      data:
        entity_id: switch.projector
    - delay: '00:00:05'
    - service: switch.turn_off
      data:
        entity_id: switch.projector_screen_up
    - delay: '00:00:05'
    - service: switch.turn_off
      data:
        entity_id: switch.sony_hifi```

:rofl: I all got that LoL. So As I was going to try to get Google to tell me from the speaker. What I have downloaded

:rofl: I already got that setup. Who are you and what are you trying to help me with because it’s not helping just making the post longer

1st thing I stuck with is trying to get the info from my sensor.sonarr_upcoming_media

Attributes…

all it shows is data: [{"title_default": "$title", "line1_default": "$episode", "line2_default": "$release", "line3_default": "$rating - $runtime", "line4_default": "$number - $studio", "icon": "mdi:arrow-down-bold"}] friendly_name: Sonarr_Upcoming_Media

Don’t know even if this can be don.

I don’t have sonarr, but I di have radarr. My sensor.radarr_upcoming_media has the following:

data: >-
  [{"title_default": "$title", "line1_default": "$release", "line2_default":
  "$genres", "line3_default": "$rating - $runtime", "line4_default": "$studio",
  "icon": "mdi:arrow-down-bold"}, {"airdate": "2019-12-24T00:00:00Z", "release":
  "Available $day", "flag": true, "title": "Judy", "runtime": 118, "studio":
  "BBC Films", "genres": "Drama, Romance, History", "rating": "\u2605 7.0",
  "poster": "https://image.tmdb.org/t/p/w500/iqJhHjD6k6T07waELjMKDpQJUP.jpg",
  "fanart": "https://image.tmdb.org/t/p/w780/99BHWZowADkJ0yKKGFZs4NfsX8q.jpg"},
  {"airdate": "2019-12-24T00:00:00Z", "release": "Available $day", "flag": true,
  "title": "Zombieland: Double Tap", "runtime": 99, "studio": "Pariah",
  "genres": "Horror, Action, Comedy", "rating": "\u2605 7.2", "poster":
  "https://image.tmdb.org/t/p/w500/pIcV8XXIIvJCbtPoxF9qHMKdRr2.jpg", "fanart":
  "https://image.tmdb.org/t/p/w780/jCCdt0e8Xe9ttvevD4S3TSMNdH.jpg"}, {"airdate":
  "2020-01-01T00:00:00Z", "release": "Available $day, $date", "flag": false,
  "title": "Capital in the 21st Century", "runtime": 110, "studio": "General
  Film Corporation", "genres": "Documentary", "rating": "\u2605 3.5", "poster":
  "https://image.tmdb.org/t/p/w500/dCyKEyKayghQPX8jW3tYSw8Sym9.jpg", "fanart":
  "https://image.tmdb.org/t/p/w780/4aNOgZLjVkZMPqX3HpZTbA40XTZ.jpg"},
  {"airdate": "2020-01-02T00:00:00Z", "release": "Available $day, $date",
  "flag": true, "title": "Official Secrets", "runtime": 112, "studio": "Clear
  Pictures Entertainment", "genres": "Drama, Thriller, Romance", "rating":
  "\u2605 7.2", "poster":
  "https://image.tmdb.org/t/p/w500/lyCGqSkT3PqLYQXiWs4FCVJBAYW.jpg", "fanart":
  "https://image.tmdb.org/t/p/w780/JPLqPszdIZS3uknr7oG6qJyyKV.jpg"}, {"airdate":
  "2020-01-20T00:00:00Z", "release": "Available $day, $date", "flag": true,
  "title": "Mrs Lowry & Son", "runtime": 91, "studio": "Genesius Pictures",
  "genres": "Drama", "rating": "\u2605 6.9", "poster":
  "https://image.tmdb.org/t/p/w500/sVDzIqZL4uF8XFilc0txc2vcT9T.jpg", "fanart":
  "https://image.tmdb.org/t/p/w780/nDM4TdOfKbc3Iwo7aEAJC9CistG.jpg"},
  {"airdate": "2020-03-24T11:00:00Z", "release": "In Theaters $day, $date",
  "flag": false, "title": "Mulan", "runtime": 0, "studio": "Walt Disney
  Pictures", "genres": "Adventure, Drama, Fantasy", "rating": "", "poster":
  "https://image.tmdb.org/t/p/w500/7Su8HBF7HgJdjIh7ZTgRRsWpHj4.jpg", "fanart":
  "https://image.tmdb.org/t/p/w780/qAKvUu2FSaDlnqznY4VOp5PmjIF.jpg"}]
friendly_name: Radarr_Upcoming_Media

You will need to parse the data you want with a template, and then call the tts service with that data.

1 Like