I’m using network-binding since years now to ping devices and use their online-status.
currently with openHABian 1.9 with openHAB 4.1.1
Thing:
UID: network:pingdevice:handyThomas
label: Netzwerk Handy Thomas
thingTypeUID: network:pingdevice
configuration:
hostname: 192.168.78.yy
macAddress: F4:02:xx:xx:xx:xx
refreshInterval: 60000
retry: 2
timeout: 50000
channels:
- id: online
channelTypeUID: network:online
label: Online
description: Gibt an ob das Gerät aktuell online oder offline ist.
configuration: {}
- id: latency
channelTypeUID: network:latency
label: Pingzeit
description: Gibt an wie lange ein Ping in Millisekunden an das Gerät dauert.
configuration: {}
- id: lastseen
channelTypeUID: network:lastseen
label: Zuletzt gesehen
description: Gibt Zeit/Datum an wann das Gerät zuletzt gesehen wurde.
configuration: {}
the online-Channel is linked to HandyThomas_Online
. The status didn’t change for some days:
after restarting the Thing it changed immediately:
2024-03-26 08:40:21.655 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:handyThomas' changed from ONLINE to UNINITIALIZED
2024-03-26 08:40:21.668 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:handyThomas' changed from UNINITIALIZED to UNINITIALIZED (DISABLED)
2024-03-26 08:40:22.493 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:handyThomas' changed from UNINITIALIZED (DISABLED) to INITIALIZING
2024-03-26 08:40:22.503 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:handyThomas' changed from INITIALIZING to ONLINE
2024-03-26 08:40:22.561 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'HandyThomas_Online' changed from OFF to ON
is there something I can do?