![]() Go to /#/register/ and create a new account. It is currently free for students with an. Initial State is paid-for software and you can get a 14-day-free trial to test out the service. We’re going to use Initial State to create a real-time dashboard showing who’s at the office and who isn’t. You may also need to wake up your device, as many devices disappear when they ‘sleep’. If it wasn’t found, make sure that it’s connected to the same WiFi network as the Pi (or vice versa). If your phone was found, the command will output its address. You can check to see if your device appears on the arp-scan list of devices if the following command returns an address: sudo arp-scan -l | grep DEVICEMACADDRESS You should see a list of devices and corresponding MAC addresses run down the screen it could take a little while to load if on a large network.Ī quick Google search will tell you how to find your particular phone/laptop MAC address, usually a series of 12 letters and numbers separated by colons. Once arp-scan is installed, you can test it with: sudo arp-scan –l Update your Pi and install arp-scan, an Address Resolution Protocol packet scanner that shows every active IPv4 device on your local internet: sudo apt-get update ![]() Detecting devices can also be done via Bluetooth however, not everyone will always have their phone’s Bluetooth turned on, so WiFi should be a bit more reliable. The way that we’re going to detect ‘presence’ is by scanning the WiFi network for certain devices’ MAC addresses, the unique identifiers that your phone or laptop gives when connecting to a network. The full article can be found in The MagPi 51 and was written by Rachel-Chloe Gregory. Looking for an easy and useful project for that Pi you just have lying around? Find out who’s home and who’s not, or when your favourite coworkers are at the office, with just a Pi and an internet connection! This WiFi-based presence detector will take hardly any time at all, and you’ll suddenly have a base for triggering all sorts of things when someone is detected, like that theme music you’ve always wanted. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |