3 ms·
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 liste
by lam0x86 9mo ago
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-Warning-Sign-%E2%80%98Fire-Alarm-%E2%80%93-Do-Not-Enter.png.webp https://ampac.net/wp-content/uploads/2017/05/4210-0131-Warni...