Network binding - arping not working

I’m trying for several times now to get the network binding with arpping working. Unfortunately we have an iPhone which is virtually every 20 minutes offline without that arpping.

However I can’t get the arpping working.

Here’s my setup:

  • Raspberry PI
  • Running openhab via docker, using the official docker image (meanwhile added apt-get install ping)
  • Meanwhile running on network=host

network.cfg

binding.network:allowDHCPlisten=true
binding.network:allowSystemPings=true
binding.network:arpPingToolPath=arping
uses_arp_pings=yes

network.things

network:pingdevice:theIphone[ hostname="192.168.134.23", retry=1, timeout=5000, refreshInterval=60000 ]

Unfortunately arp is not activated for whatever reason, looking to paper ui:

This makes the phone switch from on- to offline hundreds of times a day.

Any idea how I could find out why arp is not working?

What version of the network binding are you using?

I’m using the most recent released version, 2.5.3.

Version 2 bindings do not use a .cfg file. In PaperUI > Configuration > System enable legacy bindings, and install version 1 of network binding. See if that will work with the configuration you have.

Version 2 bindings do not use a .cfg file. In PaperUI > Configuration > System enable legacy bindings, and install version 1 of network binding. See if that will work with the configuration you have.

I don’t think that’s right. The binding respects the .cfg file. Tried it with just turning everything off via network.cfg, and got different settings in paperUI:
grafik

I think more that it’s something to do with docker.

Try it like this maybe:

Thing network:pingdevice:FreddymobielArc [ hostname="192.168.2.113",
    uses_dhcp_listen=false,
    uses_arp_pings=true,
    refreshInterval=60000,
    timeout=5000,
    retry=5
]

Works for me