Is this Binding broken ATM? I have added my phone to the binding. and i cannot get it to show offline no matter what combination of settings I use
System Ping OFF/ON
DHCP Detection OFF/ON
device always shows online. the device is clearly not online, and cannot be pinged from any machine on the network (because its wifi, is off)
My log also does not show any information regarding ping requests, only that the DHCP listener is online (when DHCP listening is enabled) and there are no obvious errors in the log either.
Line 2358: 2017-01-31 17:10:56.032 [ItemStateChangedEvent ] - phone_aaaa_presence changed from OFF to ON
Line 3236: 2017-01-31 19:22:13.733 [ItemStateChangedEvent ] - phone_bbbb_presence changed from OFF to ON
Line 3249: 2017-01-31 19:24:35.547 [ItemStateChangedEvent ] - phone_aaaa_presence changed from ON to OFF
Line 3326: 2017-01-31 19:34:15.503 [ItemStateChangedEvent ] - phone_bbbb_presence changed from ON to OFF
Line 3335: 2017-01-31 19:37:37.107 [ItemStateChangedEvent ] - phone_aaaa_presence changed from OFF to ON
Have you checked the refresh time configuration option? If it is for some reason 0, the binding will not refresh the state. Check the event log for periodic status updates on the bindings channels.
Same problem here.
But I think the PaperUI shows the state wrong. āOnlineā in the PaperUI obviously means, the āthingā is present. It has nothing to do with the real network state, which can be expressed by an item.
Regards
Gerry
Channel triggers are only supported by a few bindings (astro and amazon dash button are the ones I know of).
If you have a āThingā of this type network:device:phone [ hostname="192.168.x.xx", port="0", retry="1", timeout="5000", refresh_interval="10000", use_system_ping="false" ]
Thanks for your fast answer. I just tried but without the double quotes, Thing is not created and I had errors in the log tail.
I also try with the double quote just for the IP address. Thing is created but the Item still always online.
I can confirm this strange behaviour in my Windows 8.1 environment. That is why I stopped using the Network Binding and returned to the old OH 1.x Network Health Binding (which works correctly in a Windows environment).
im also having this problem everything on my network is reporting strange some are saying they are on when they are off some cant make there mind up whether they are off or on running on windows 10
i have used cmd to ping these devices and the results from there are correct just not openhabs
is this a windows problem or am i just doing something wrong was working fine until after an update
I am not sure, but as several Linux users report that it is working well on their systems I assume it might be Windows related. It was working for me on Windows until approximately mid 2017 but after some snapshot upgrade this strange behaviour started.