Install uhome by entering the following commands in the terminal:
sudo apt update sudo apt install uhome
Description:
test whether or not you're home, based on device presence
uHome is a utility, useful in smart home automation, that tests whether or not you're at home, by looking for devices (such as your phone) on the local network.
Homepage: http://launchpad.net/uhome
Version: 1.3-0ubuntu1
Section: universe/admin