Previously, I had setup HomeKit connecting to Nest thermostat and Belkin WeMo devices using Homebridge project. I had on my TODO list for a long time to put a webcam on HomeKit. At the end of some twists and turns it ended up being relatively easy, had I known the following from the start.