You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After a recent update of ha-edgeos (i sadly don't know which version i was using previously), the sensor 'unknown_devices' does not decrease any more.
Details
When a DHCP lease is given out, the sensor increases as it should (for example from 0 to 1). When the client leaves the network the sensor however stays at 1 and does not go back to 0. This is also true with multiple devices (the sensor goes from 1 to 2, but never back to 1).
I can however get the sensor back to the correct value by reloading the integration.
Currently using ha-edgeos 2.1.7, my edgerouter x is at version 2.0.9-hotfix.7
I already tried reinstalling ha-edgeos via HACS but that did not seem to help.
Debug logs
I poked around in the debug logs and found that the info seems to be retrieved correctly from the edgerouter, but the sensor 'unknown_devices' doesnt update correctly.
Here are some snippets from the debug log. I initially had 0 clients connected, then 1 client:
After a recent update of ha-edgeos (i sadly don't know which version i was using previously), the sensor 'unknown_devices' does not decrease any more.
Details
When a DHCP lease is given out, the sensor increases as it should (for example from 0 to 1). When the client leaves the network the sensor however stays at 1 and does not go back to 0. This is also true with multiple devices (the sensor goes from 1 to 2, but never back to 1).
I can however get the sensor back to the correct value by reloading the integration.
Currently using ha-edgeos 2.1.7, my edgerouter x is at version 2.0.9-hotfix.7
I already tried reinstalling ha-edgeos via HACS but that did not seem to help.
Debug logs
I poked around in the debug logs and found that the info seems to be retrieved correctly from the edgerouter, but the sensor 'unknown_devices' doesnt update correctly.
Here are some snippets from the debug log. I initially had 0 clients connected, then 1 client:
Snippet of debug log
When the client disconnects I now should have 0 clients again, but the sensor still thinks the client is there:
Snippet of debug log
(I have replaced my MAC address and hostname with
***
for privacy reasons.)You can see that the information is retrieved correctly:
leased
changes from 1 back to 0dhcp-leases
dhcp-server-leases
changes from 1 back to 0However the
sensor.edgerouterx_unknown_devices
still shows the client.I hove I have given enough information to hunt down this bug. Thanks! :)
The text was updated successfully, but these errors were encountered: