Is it possible to use the network binding in DHCPlisten mode only, no ping, arp, etc. (running OH2.2, network binding 2.2 (I believe)).
For context, when my sister arrives home with my disabled nephew, she wants the various lights/devices to turn on upon arrival, reducing the need to go back and forth to the house before she can take him out of the car.
The only detection device available is wifi on a mobile phone (android). Testing using the network binding with pingdevice works fine and the item goes online. But approx 7mins later, as previously noted in other topics, the sleep mode of the phone stops responding to ping and sets it offline. When the phone is “used” again, ping starts to respond and the item goes online again. The obvious problem with turning on lights based on an item going online is that they will be switched on every time someone uses their phone.
I don’t need to know if the phone is present once the device has been seen for the first time and the lights turned on, so my thought was to use DHCPlisten within the network binding as the should only occur once the phone reconnects to the network when returning home. If it drops offline after that, it won’t matter. I can see this detection in the logs so know it only occurs on first connection.
I thought the latest network binding would allow this if systemping was disabled, but it still goes back online once used - I’m assuming it uses java ping regardless? I think I’ve removed arp to prevent that seeing the phone going active as well.
I’ve ploughed through a lot of the topics but can’t see an answer to this anywhere. On my own setup I’m using fitbits with vreelyactive as per the guide that @rlkoshak pulled together from all the contributions previously (this works like a dream so many thanks for the effort by all), but fitbit bluetooth detection is not an option in this setup (and mobile bluetooth suffers the same sleep issue as wifi).
Can the binding be configured this way, or any thoughts as to how to use DHCPlisten to set an item state? Am I missing something really simple to achieve the same end result?