Something I am missing, I have installed arping, and I am modifying the timeout, but does not work properly.
Thing:
Thing network:pingdevice:phone [ hostname="192.168.2.104", port="0", retry="50", timeout="7000", refresh_interval="10000", use_system_ping="false" ]
Items:
Switch OUT_HOME "AWAY" { channel="network:pingdevice:phone:online" }
At the end, when the phone enter in sleep mode, after the all retries and timeout, the status change to OFF
I have tried untill this setup:
Retry=50
Timeout=7000
refresh=10000
I have typed this in terminal:
arping -c 1 -I eth0 192.168.1.113
When phone is up, I receive answer, but when is in sleep mode/locked I got:
ARPING 192.168.2.104 from 192.168.2.123 eth0
Sent 1 probes (1 broadcast(s))
Received 0 response(s)
I have read this topic: Network Binding - iPhone Presence Detection - arping Configuration question - #3 by salexes
And I do not understand the idea to modify the Timeout. It does not matter if OH detect the device off after 2 minutes or after 30 minutes, at the end will be detected as OFF when the device is conected to the WIFI… so this will not work…