Network binding + arping + MacOS = false reports

  • Platform information:
    • Hardware: x86_64,16GB RAM, 256GB SSD
    • OS: macOS 10.13.6 High Sierra
    • Java Runtime Environment: Zulu
    • openHAB version: 2.50-Snapshot, around 2019-10, not Dockerized

Hello OpenHAB users.

I’ve installed Network bindings to implement cell phones presence detection and turn on/off alarm automatically. To resolve issue with some phones entering deep sleep and not responding to pings I’ve installed ARPing 2.20 by Thomas Habets from macbrew (as recommended in binding documentation). Command arping works fine from command line. However it gives positive response for every IP when used by OpenHab. So it spams inbox with devices that are not on my network:

And when real device on my network is added as as item it always shows online status as ON, doesn’t matter if device is connected to Wi-Fi or not.

Any ideas how to fix arping reporting? What command line switches does NetworkBinding use exactly when calling arping?