I’m currently able to show any number of camera or camera group views from Blue Iris on my overview page via the following:
- platform: mjpeg
I’ve also setup binary sensors for each camera that trigger via MQTT from BI to HA whenever motion is detected like this:
- platform: mqtt
name: “Front Yard Motion”
What I’d like to do next is make the camera url in the first snippet dynamic/variable so that whenever a camera motion event is triggered, it switches to that camera’s live feed. I’ve tried create an input_text variable but I’m not figuring out how to use the variable in the camera url configuration. I figure I’d do the updating over the variable’s value via node red which can see the binary sensor values already.
Any do anything like this before? I searched and found someone trying to do something similar with dynamic IP addresses needing updating but the thread went off topic with folks trying to convince him to configure his router differently vs trying to help solve the problem he was asking about.