February 2022
Intermediate to advanced
182 pages
4h 25m
English
For this project, we’re going to once again employ the infrared heat sensor on the SensorHub to detect motion, just like we did in Chapter 6, Hue Auto Light. Since we already wrote the code for that motion detection routine, we can copy it for this project. The only new routines we need to add are to capture and transmit an image via a Discord webhook.
Motion[93] is a popular, free software utility that works the way most security cameras detect movement. It constantly monitors an incoming image stream for significant variations in pixel values, indicating a state change. When this change ...
Read now
Unlock full access