This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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: |