Google Home Foyer API
With this package, multiple libraries can use Foyer API without having to deal with Protobuf version conflicts.
- Only one version of stubs can be loaded by Protobuf at the same time even if stubs are coming from different libraries and modules have different names. Using this package ensures that only one version is installed at any given time.
- The package defines dependencies on Protobuf and GRPC, ensuring compatibility of generated files.
- Type hints are generated and exported as well.
Files can be regenerated using scripts/generate.sh.
Mapping more fields
api.proto maps only part of what Google returns. To see which fields of your own home graph it does not map yet:
uv run --with 'glocaltokens>=1.0.0' scripts/inspect_homegraph.py fetch ~/homegraph.bin
uv run scripts/inspect_homegraph.py summary ~/homegraph.bin
fetch asks for your Google master token, or reads it from GOOGLE_MASTER_TOKEN, and saves the raw GetHomeGraph response to a file only you can read. The file holds the local auth tokens of your devices: keep it outside the repository and never share it.
summary lists every field of every message with sample values, and marks fields that api.proto does not map (UNMAPPED) or declares with the wrong type. It shows only the length of local auth tokens, email addresses and your home's address and coordinates, and masks token-like strings, UUIDs, URL paths and long digit runs wherever they appear. Device, room and home names and other short text stay visible. The masking matches patterns, so read the summary before you share it.
Credits
The proto file is taken from here. Thanks @rithvikvibhu for extracting it.
Metadata
Release files for ghome-foyer-api 3.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ghome_foyer_api-3.0.0.tar.gz | 21.3 kB | With provenance | Details for ghome_foyer_api-3.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ghome_foyer_api-3.0.0-py3-none-any.whl | Python 3 | none | any | Details for ghome_foyer_api-3.0.0-py3-none-any.whl |
Total release size: 43.8 kB
Release files / ghome_foyer_api-3.0.0.tar.gz
| Download URL | ghome_foyer_api-3.0.0.tar.gz |
|---|---|
| Size | 21.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ef507f7a96b3ab1c4e878ffd1cab5636d067df0f9346ccef976aee0f3a9526e7
|
|
BLAKE2b-256 checksum How to use checksums |
1cd9e34a6ec813406156f7e0acaa26f375446d11ce01f98a6d6a50e5a79d7af9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 25, 2026.
Transparency logRelease files / ghome_foyer_api-3.0.0-py3-none-any.whl
| Download URL | ghome_foyer_api-3.0.0-py3-none-any.whl |
|---|---|
| Size | 22.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
10e32babb562a5551eefd17a94e6bae4851918a44a28cb083184caf553c1f291
|
|
BLAKE2b-256 checksum How to use checksums |
f6a0c85ec03aa44d84b7534f597293cc79516a57d7c340b5142b5194db51f74c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 25, 2026.
Transparency logSecurity for ghome-foyer-api 3.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for ghome_foyer_api-3.0.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 25, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.