Want to monitor some devices around the house, and based on bits and pieces over the forums, using the Network Binding, with the following:
Things:
network:device:phone_jack [ hostname=“192.168.2.XX”, port=“0”, retry=“1”, timeout=“5000”, refresh_interval=“60000”, use_system_ping=“true”, dhcplisten=“false” ]
Items
Switch Presence_Jack { channel=“network:device:phone_jack:online” }
Number Presence_Jack_ResponseTime { channel=“network:device:phone_jack:time” }
The device in question is my phone, and I am testing it by turning the phone to airplane mode. I am also running “ping 192.168.2.xx -n9999” in another window, and its following what I would expect.
The binding however, is reporting:
19:00:04.038 [INFO ] [marthome.event.ItemStateChangedEvent] - Presence_Jack_Resp
onseTime changed from 2776.18620000000009895302355289459228515625 to 2777.302599
9999999839928932487964630126953125
Am I missing something?