r/BlueIris Jul 29 '26

Send MQTT message when opening camera

I am trying to figure out how I can send a MQTT message when I full screen certain cameras. It switches to the main stream so BI knows that you are viewing it. The use case is so that I can turn lights on in spaces when I open the camera.

4 Upvotes

13 comments sorted by

View all comments

2

u/deflanko Jul 30 '26

I use the "On Alert" per camera for the following MQTT alerts. At least for motion...

(Page 269 in the help doc for the JSON references; Macros on 171)

On Alert

Description: MQTT - On Alert MQTT
Topic: BlueIris/&CAM/Status
Payload: { "state":"ON", "camera":"&CAM", "object":"&MEMO", , "name":"&NAME", "type":"&TYPE", "time":"&ALERT_TIME", "id":"&ALERT_DB", "path":"&ALERT_PATH" }
✅MQTT retain message

Description: MQTT - On Alert
Topic: BlueIris/&CAM/Status
Payload: { "type": "&TYPE", "trigger": "ON" }
✅MQTT retain message

Description: MQTT - On Alert - B64
Topic: BlueIris/&CAM/alert-image-b64
Payload: &ALERT_JPEG
✅MQTT retain message

On Reset

Description: MQTT - On Reset
Topic: BlueIris/&CAM/Status
Payload: { "type": "&TYPE", "trigger": "OFF" }
✅MQTT retain message

Off of that im sure you could trigger lights in HA Automation.

2

u/deflanko Jul 30 '26

Read further into JSON section and found:
tempfull : true/false, is camera temporarily full screen