Nice. I built something similar using a Rust-based daemon running on my Mac. It listens to the microphone state (not the camera) via a Core Audio property listener (AudioObjectPropertyListenerProc), rather than log monitoring or polling, so it works even when the camera is turned off. When the mic status changes, the daemon toggles a light by sending a simple message via zigbee2mqtt. I also installed a fire alarm plate above my door, powered by a cheap Zigbee socket, similar to this one: https://ampac.net/wp-content/uploads/2017/05/4210-0131-Warni...