Im using presence detection with my android phones as described here
It is absolutly important that you install “arping”, because you will only get reliable detection with that.
https://docs.openhab.org/addons/bindings/network/readme.html
It will be used automatically by the network binding, BUT you have to set the “suid” bit (chmod u+s /usr/sbin/arping)