Mqtt-camera-streamer - add any camera to HA via MQTT

Adding cameras from remote computers (e.g. pi + webcam) into Home Assistant can sometimes be a hassle, and I also found options such as Motion to be overkill much of the time. For example I wanted to get my mac webcam integrated into HA and ended up battling with ffmpeg, before giving up. Well it turns out that openCV does a pretty good job of connecting to most cameras, and that you can use MQTT to get those images into HA without much config at all :slight_smile: Furthermore you can create an image processing pipeline by chaining together MQTT topics, so you could for example crop, rotate and enhance an image using openCV/skimage before displaying them in HA. I published this project in the repo below, it has a few rough edges but if there is interest in it I will continue to develop it. Cheers

6 Likes