iwishiwasaneagle/boxofhope

"User Home" state detection

iwishiwasaneagle opened this issue · 2 comments

"User Home" state detection

Currently two methods:

  1. BLE beacon signal strength of known devices
    • Use the BlueZ Bluetooth Linux stack via DBus
  2. Detection of known device on network (mac address or
    • Popen with NMAP scan
    • libtins

Simple solution FOR NOW: ping -c1 $IP wrapped in popen and then the exit code of this is used to determine if the ip was found
image