Integrating Tautulli with Signal Messenger: A Step-by-Step Guide

I’ve recently been working on a project to integrate Tautulli with Signal Messenger using Home Assistant and MQTT, and I’d love to share my experience with the community. This solution has been a game-changer for me, and I hope it can help others as well.

The Challenge

I wanted to receive notifications about newly added content to my Plex server directly in a Signal group chat. While I’ve used Discord and Telegram in the past, my friends preferred Signal, making it the perfect choice for our use case.

The Solution

After some research and experimentation, I developed a system that utilizes Home Assistant’s MQTT integration and Signal Messenger’s REST API. Here’s a simplified breakdown of how it works:

  1. Prerequisites

    • Ensure you have Tautulli and Plex Server installed.
    • Set up an MQTT broker in Home Assistant (I recommend the Mosquitto Addon).
    • Install the Signal Messenger integration and configure it with the necessary details.
  2. Configuring Signal Notifications

    • Create a notification service in your Home Assistant configuration to send messages to your Signal group.

    • Example configuration:

      • name: signal_group_alerts
        platform: signal_messenger
        url: “http://127.0.0.1:8080
        number: “+1234567890”
        recipients:
        • “group.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX=”
  3. Setting Up Tautulli Notifications

    • Configure Tautulli to send MQTT notifications for newly added content. I set up two notifications: one for the title and another for the poster image.
  4. Creating MQTT Sensors in Home Assistant

    • Add sensors to capture the notifications from Tautulli:

      sensor:

      • name: RecentlyAddedPlex
        state_topic: tautulli/recentlyadded
        value_template: “{{ value_json.body }}”
        unique_id: XXXXXXXXXXXXXXXXXXXXXX
      • name: RecentlyAddedPlexImage
        state_topic: tautulli/recentlyadded/image
        value_template: “{{ value_json.body }}”
        unique_id: XXXXXXXXXXXXXXXXXXXXXXX
  5. Automating Notifications

    • Use an automation to trigger when Tautulli sends a notification and send the data to your Signal group:

      alias: Tautulli Recently Added Notification
      description: “”
      trigger:

      • platform: mqtt
        topic: tautulli/recentlyadded
        condition:
        action:
      • delay: seconds: 15
      • service: notify.signal_group_alerts
        data:
        message: “{{ states(‘sensor.recentlyaddedplex’) }}”
        urls: “{{ states(‘sensor.recentlyaddedpleximage’) }}”
        mode: single

Next Steps

I’m currently working on expanding this setup to include server status notifications, weekly newsletter updates, and a private group for personal use. If anyone has suggestions or improvements, I’d love to hear them!

This project has been incredibly rewarding, and I’m excited to see how the community can build upon these ideas. Happy automating! :rocket: