I was thinking of a way to do Presence reliably. Previously before moving to Z-Way I had used Tasker to switch presence to 'In' when one of the RFID tags that I have stuck to each door was tapped. This didn't work well as people forget to tap 'in' and 'out'. Next I tried Tasker message based on GPS location, this worked better, but normally lags by a few minutes and some phones just don't do it reliably.
The best seems to be presence based on whether the phone is on the local wifi. I have done a quick test using arpscan and it seems to work well against all the phones I have tried. I have just been running arpscan as a cron job and checking the result. Best of all it requires no interaction from the user and nothing to run on the phone.
So if you were thinking of expanding Presence module would you consider adding arp. The module would need to accept name / MAC address pairs and then check if any of the MAC addresses are present via arpscan, with another entry for frequency of scan.
It has been incorporated by a few other automation systems eg DomotiGa
https://www.domotiga.nl/issues/527
I used this method for testing.
http://superuser.com/questions/493003/h ... on-the-lan
Thanks for all the modules by the way. They have really helped me move to Z-Way.