djtimca / hagooglewifi

Home Assistant integration for Google Wifi systems.
Apache License 2.0
79 stars 26 forks source link

Devices are frequently reported as "unknown" #39

Closed beer-rich closed 3 years ago

beer-rich commented 3 years ago

Frequently (some times up to several occurances every hour) devices report unknown state/location: image

Here are the latest errors seen in the log: image image image image

beer-rich commented 3 years ago

After another closer look into the other issues reported, this might be related to #18

alexwohlbruck commented 3 years ago

I am also getting the first and last errors in my logs, both occurring at the same time my entities changed their state to unknown. It is frustrating because it makes my automations much more complicated when I'm trying to detect when a person has arrived at home, and it messes up my last changed states in the dashboard.

These errors do appear to be originating from the googlewifi Python package.

Is there anyone maintaining this that could take a look? Or should I sink some time into it?

Edit: perhaps if there was a native option in home assistant to filter certain states from entities. Then it can ignore the new state whenever unknown is reported by the integration. Does anyone know if that's possible?

djtimca commented 3 years ago

The "traffic" key is now fixed in latest release. Will continue to look at the others.

djtimca commented 3 years ago

I believe most of this should be fixed now. Please reopen or open a new issue if things persist.