Google WiFi basic integration

Looking for some help, I’m trying to get the Google WiFi integration to work. I can see from the documents that it just needs the following added to the configuration.ymal

sensor:
  - platform: google_wifi

I’ve done that and it is now a selectable entity but I can’t figure out how I should be using the configurable variables, any help would be greatly appreciated.

We can’t really help you there either.
It is your installation, so you need to decide what you want with it.

Thanks Wally, it’s not help with deciding which options to use that I’m struggling with, its figuring out the syntax needed to to make them work.

It is just entities.
Use an entities card and add them

I can add the entity but they are all showing as unavailable.
I was under the impression that you would have to select which of the optional monitored conditions you wanted added, otherwise why are they shown in the documentation

Ahhm that seems true.

Try this in your configuration.yaml

sensor:
  - platform: google_wifi
    host: 192.168.1.1
    name: "router"
    monitored_conditions:
      current_version
      new_version
      uptime
      last_restart
      local_ip
      status

That didn’t work but really appreciate you helping.
It’s not a big deal, last restart would have been nice but not too bothered about the rest.

I’ll update here if anything changes in the future

Did it write an error in the log or when you tried to restart?

I use only this:

sensor:
  - platform: google_wifi
    host: 192.168.1.1

and work with all the info:
image
you can try, with the correct ip you use

I just followed the documentation for the sensor, that says it should be listed.
It might work without, but if it is not officially documented, then it could be removed without notice.
If it does, then the correction is pretty easy, so no Biggie really. :slight_smile:

Hi Everyone,

Just getting into HA. With only a few devices am trying to get my google wifi integrated, I have looked into the document up and down

Google Wifi - Home Assistant (home-assistant.io)

However, my take away from this documentation is

the 3 line the configuration.yaml
sensor:

  • platform: google_wifi
  • host: 192.168.1.1

However this returns all variables with Unavailable

And the following error: This entity (‘sensor.google_wifi_current_version’) does not have a unique ID, therefore its settings cannot be managed from the UI. See the documentation for more detail.

After going through the documentation, am still lost.

Any assitance would be apprecaitated

Ignore the message about unique id

The unavailable could be due to the wrong address.
Check your desktop computer’s network settings.

On Windows hold the windows key down a press r
Then type cmd and hit enter in the popup window.
In the command prompt (typically a window with black background) type ipconfig/all and hit enter.

Look for default gateway in the output and see if it matches the 192.168.1.1

@nevausz

This doesn’t look like a Google WiFi address. Google WiFi is usually configured with a 192.168.86.1 address. What IP address do you access your HA server with. I’m guessing it starts with 192.168.86. if that’s the case, try 192.168.86.1 instead of 192.168.1.1

@rcblackwell

Oh nice pickup. I quickly changed that but sadly still getting the same error unavailable.

Any other suggestions.? Could I be missing anything else?

Just found this in the logs

2024-06-08 00:47:47.351 ERROR (MainThread) [homeassistant.config] Invalid config for ‘sensor’ at configuration.yaml, line 3: required key ‘platform’ not provided, please check the docs at Sensor - Home Assistant

2024-06-08 00:47:47.360 WARNING (SyncWorker_2) [homeassistant.components.google_wifi.sensor] Unable to fetch data from Google Wifi

However not sure what to make from it : ,/

@nevausz I just came across this thread and tried to set up the Google WiFi basic integration, but also received an error when checking the YAML configuration under Developer Tools. The error was:

“Invalid config for ‘google_wifi’ from integration ‘sensor’ at configuration.yaml, line 203: value must be one of [‘current_version’, ‘last_restart’, ‘local_ip’, ‘new_version’, ‘status’, ‘uptime’] ‘monitored_conditions->0’, got ‘c’”

So I had a look at the the documentation which stated:
monitored_conditions array

A quick Goole for yaml “array” configuration turned up that array entries must be preceded by a “-”, so I tried this configuration (those light grey and italic entries shouldn’t be like that - I just didn’t know how to paste them here without adding formatting). The key was to put the hyphen in front of the entries under “monitored conditions”. And it worked (screenshot below).

Just thought I would post details here in case it works for someone else as well.

sensor:       
  - platform: google_wifi
    host: 192.168.86.1
    name: "Google WiFi"
    monitored_conditions:
      - current_version
      - new_version
      - uptime
      - last_restart
      - local_ip
      - status

Google

1 Like

Thanks [gunionbag] Matthew Tangye,
Worked for my setup.
image

I added the following to my configuration.yaml:

sensor:
  - platform: google_wifi
    name: "Garage Wifi"
    host: 192.168.86.1
    monitored_conditions:
      - status
      - uptime
      - last_restart

sensor:
  - platform: google_wifi
    name: "Family Room Wifi"
    host: 192.168.86.61
    monitored_conditions:
      - status
      - uptime
      - last_restart

sensor:
  - platform: google_wifi
    name: "Storage Room Wifi"
    host: 192.168.86.30
    monitored_conditions:
      - status
      - uptime
      - last_restart

and it results in this on my overview dashboard:

and there are only 3 entities:

  • Storage Room Wifi_last_restart
  • Storage Room Wifi_status
  • Storage Room Wifi_uptime

I’m so confused. The configuration.yaml should give me 3 sensors, right? but then the overview dashboard has 3 but one of them isn’t named right, and then i only have 1 of the sensors showing up in my entities.

edit: I removed the 2 extra "sensor:"s, and now i have 9 entities like i expected. But my overview still has the 6 extra “google_wifi_*” lines.

Are those additional routers? or APs?

So, I have tried this every which way possible with the monitored_conditions but no matter what I do with my setup it shows unavailable for the details. it showing all the sensors and if I change the name it will change on my dashboard but no actual router data… any suggestions???
Thanks