Comments (7)
I'll take a look at the api repo and if I can pin point the issue, I am facing I'll either create a new issue or pr.
from hagooglewifi.
I don't have a way to test that scenario to see what data is returned. Are you able to post a sample file which would highlight how that data is represented when it is returned from the API?
from hagooglewifi.
On this api call https://googlehomefoyer-pa.googleapis.com/v2/groups?prettyPrint=false
the googlewifi library seems to pull the first id from groups. This is from the postman collection
// The first system's ID
pm.environment.set("system_id", jdata["groups"][0]["id"]);
{
"groups": [
{
"id": "AAAAAA6aoPQ",
....,
},
{
"id": "AAAAABhsip0",
....,
}
]
}
from hagooglewifi.
That is odd then... in my library I iterate through the groups to capture all systems that are returned. Is the pm.environment code you listed from postman somewhere that I can look at?
from hagooglewifi.
from hagooglewifi.
Thanks @judeibe that's one of the docs I've been using to pull this together. But I am actually iterating through the systems in groups in my library so I'm wondering if the issue might be that Google isn't actually returning all of the systems under the account. Might be related to the token approach to authentication. I'll see if I can't put together a tool to get some test data in the way I'm pulling it so i can validate.
from hagooglewifi.
Fixed in latest push. Thanks @judeibe!
from hagooglewifi.
Related Issues (20)
- Requirements for googlewifi not found: ['grpcio==1.45.0']
- Googlewifi not working since HA 2022.6.7 HOT 3
- Where to enter refresh token in HAOS HACS ? HOT 1
- This integration does not support configuration via the UI
- Device_trackers picked by integration all show as Unavailable HOT 1
- Tool to generate auth token no longer works. HOT 17
- Service: googlewifi.reset does not restart LAN interface HOT 1
- Unexpected exception importing component custom_components.googlewifi HOT 1
- add state_class attribute to sensors HOT 6
- no entity appears after installing and activating integration HOT 1
- How restart router?
- Trouble getting Authorization Code HOT 5
- 'list' object has no attribute 'get'
- Error with last update HOT 2
- Specify devices to track
- Refresh token from url HOT 6
- Project dead? HOT 1
- With what version HA os and core work good?
- Authorization Error HOT 2
- Cant connect [%key:common::config_flow::error::cannot_connect%] HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hagooglewifi.