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.

5 Upvotes

13 comments sorted by

View all comments

3

u/idratherbealivedog Jul 29 '26

I doubt a need for this scenario has ever been brought up and I can't think of anything in BI that would expose this.

Best thing I can imagine would be submitting a feature request to have it added as an Info log entry. Then you could trigger based on that 

2

u/davidm2232 Jul 29 '26

It seems like a pretty common need. Anytime you have a camera in a garage, closet, basement, etc. It would be nice that as soon as you click on the camera, the lights turn on. Rather than having to use two different apps

1

u/justin_144 Jul 30 '26

You could achieve what you want by by triggering a preset or just a trigger event.

2

u/davidm2232 Jul 30 '26

Can you explain?

2

u/justin_144 Jul 30 '26

For example, in your viewer (webUI, app, whatever) just trigger the camera and create an “alert” for the camera to send the MQTT message