elad-bar / ha-blueiris

Integration with Blue Iris Video Security Software
182 stars 42 forks source link

Built-in alarm input output in the camera #169

Open durnovtsev opened 2 years ago

durnovtsev commented 2 years ago

Is it possible to add a switch for dio? My camera has alarm input and output contacts, how can I use mqtt to make a switch to turn on and off? And also use the input as a binary sensor status?

In the blue iris, I can control the dia through the right mouse button on the camera in the digital output item 2022-05-29_23-14-52

kramttocs commented 2 years ago

I haven't ever worked with DIO but there is already a sensor for getting the status (via mqtt). See the manual that elad-bar put together for more info. As for a switch to control it from HA, the integration doesn't expose anything like that. No doubt it could be added programmatically but I can't say I know how to do so :(