The user and their friend Hazel hacked into their friend Frank's apartment complex's intercom system to unlock the gate using Apple Home. They used an ESP32 relay board, a Matter library in Rust, and a rectifying regulator to create a discreet device that could unlock the gate with a tap on Frank's phone.