Skip to content

Instantly share code, notes, and snippets.

View LucasPlacentino's full-sized avatar
💡
Learning Rust 🦀 and PCB design 📟

ticccco LucasPlacentino

💡
Learning Rust 🦀 and PCB design 📟
View GitHub Profile
@LucasPlacentino
LucasPlacentino / MotionWarn.ino
Last active July 16, 2023 16:53 — forked from mmarquez76/MotionWarn.ino
Flash WiZ-connected light bulbs when a motion sensor is tripped using Arduino
// for details about wiz local control, see:
// https://aleksandr.rogozin.us/blog/2021/8/13/hacking-philips-wiz-lights-via-command-line
/*
Motion-Sensing Warning Lights
This sketch will wait for a high input on D2 from the PIR motion
sensor, and then flash WiFi-connected lights to alert the room.
Circuit: