Wi-Fi powered occupancy sensor
This goal of this project is to build a Wi-Fi powered occupancy sensor. This
will become the basis for a series of home automation projects.
The members of my household (and authorized visitors) tend to carry Wi-Fi
enabled devices (like smartphones) which automatically connect to my Wi-Fi
network when they are in range. Each time a device connects, it uses DHCP to
acquire an IP address and configuration. The DHCP server keeps track of
connected devices so that it knows which IP addresses are available to assign
to new devices. Since each device has a unique identifier (the MAC address), I
can associate the unique identifier with a person and query the leases table to
see when they are home (or within Wi-Fi range.
To take advantage of this, I plan to configure a Raspberry Pi to run the DHCP
server for my home network. The Raspberry Pi will also the software in this
repository to do the following.