I would like to send a notification to my phone when Sonarr Imports an episode after being downloaded, but I dont know from where to start (i already have other automatons sending notifications, I dont know how to handle Sonarr) … possibly I would like also to send the file name
1 Like
I use the Plex Recently Added integration in HACS to accomplish this for me, although I actually have it being sent to a speaker
alias: New TV
description: ""
trigger:
- platform: state
entity_id:
- sensor.plex_recently_added
attribute: data
condition:
- condition: time
after: "09:00:00"
before: "22:00:00"
action:
- service: media_player.volume_set
data:
volume_level: 0.58
target:
entity_id: media_player.living_room_hub
- service: tts.cloud_say
data:
entity_id: media_player.living_room_hub
message: >-
A new episode of {{ state_attr( "sensor.plex_recently_added", "data" )
[1].title }} has downloaded.
mode: queued
max: 10
You should be able to work out sending it to a phone instead from that
yes this should work … could you please indicate with Plex integration are you using?
Notifications is actually the first feature I thought of, when googled for Sonarr + HA integration.
Pity we still miss it. Generally, it should be a Connect on Sonarr side, but I hoped for a complete answer here.
Maybe I will contribute the solution some other day.