Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 1.46 KB

mqtt.md

File metadata and controls

28 lines (21 loc) · 1.46 KB

MQTT with AI Tool & Blue Iris

Blue Iris MQTT (ELI5) support provides a way to control the system without relying on HTTP and URL based authentication.

Requirements

A MQTT broker running on your local network, https://mosquitto.org/ is a commonly used OSS MQTT Broker.

Setup

  1. Configure Blue Iris to connect to your MQTT broker.
  2. Configure AI Tool to connect to your MQTT Broker
    • Cameras > [camera] > Action Settings > MQTT Settings
    • MQTT Config
  3. Configure AI Tool to trigger the Camera via MQTT
    • Cameras > [camera] > Action Settings
    • MQTT Trigger Topic: ai/[camera]/motion | BlueIris/admin
    • MQTT Trigger Payload: [detections] | camera=[camera]&trigger&memo=[SummaryNonEscaped]

NOTE: Use [SummaryNonEscaped] instead of [Summary] in the BlueIris payload to avoid getting escaped characters in the Blue Iris UI.

Now when AI Tool triggers it will publish to two MQTT topics ai/[camera]/motion and BlueIris/admin. BlueIris subscribes to the BlueIris/admin topic and will trigger the named camera with the specified memo. With this setup you no longer need the URL based integrations with BlueIris.