elad-bar / ha-edgeos

Integration with EdgeOS (Ubiquiti)
133 stars 24 forks source link

Device Sensors change even though device is disconnected #88

Closed chi-wi closed 1 year ago

chi-wi commented 1 year ago

I activated device tracking for my phone; the addon recognizes when the device is connected.

Once I disable my phone's wifi I expect the received traffic to stop changing. The Edgerouter analytics show that there is no traffic from that device.

However, the addons sensors keep changing (Received Rate, Received Traffic).

I would expect the HA sensors to stop changing.

Even though the device away interval is set to 180 seconds, the device tracker does not change.

Edit: The device tracker switches to 'away' after around 20 min. Might this be related to the changing sensors?

Any help would be appreciated!

elad-bar commented 1 year ago

Not sure i understand the issue

chi-wi commented 1 year ago

Not sure i understand the issue

I reworded it, must have been very tired -- Sorry!

elad-bar commented 1 year ago

The HA component is taking the values from the router, would appreciate if you can send logs at the period of time between the device switched off (and you see it as 0 traffic in edge UI) until the koment the status of the device tracker got changed, That's the only way i can understand why... Thanks

elad-bar commented 1 year ago

any updates?

thanks

elad-bar commented 1 year ago

can I close this issue?

thanks

chi-wi commented 1 year ago

Sorry! Havent really found the time to check it out! I will open another issue if I find anything, and will make sure to decsribe any weird behaviour more accurately thanks!

elad-bar commented 1 year ago

Keeping the issue open, please update once you are getting to it

chi-wi commented 1 year ago

Had to switch away from EdgeOS, closing topic.