https://github.com/jamesog/nest_exporter
Prometheus exporter for Nest devices
https://github.com/jamesog/nest_exporter
exporter nest prometheus prometheus-exporter starling-home-hub
Last synced: 3 months ago
JSON representation
Prometheus exporter for Nest devices
- Host: GitHub
- URL: https://github.com/jamesog/nest_exporter
- Owner: jamesog
- Created: 2022-11-12T22:02:32.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-14T07:50:35.000Z (about 1 year ago)
- Last Synced: 2025-02-04T21:47:29.053Z (4 months ago)
- Topics: exporter, nest, prometheus, prometheus-exporter, starling-home-hub
- Language: Go
- Homepage:
- Size: 2.08 MB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nest Exporter
This is a Prometheus exporter for Nest products, using the Starling Home Hub API.
The Works with Nest and Google Device Access APIs are not implemented, but should be fairly straightforward to add.
## Usage
1. Follow the [Hub Setup instructions](https://sidewinder.starlinghome.io/sdc/) from Starling to enable the API and create an API key on your Home Hub.
2. Set the API key in your environment as `STARLING_API_KEY`.
3. Run the exporter:nest_exporter --starling.api http://192.168.4.10:3080/api/connect/v1
Where `192.168.4.10` is the IP address of your Home Hub. Note that you need to give the full base URL, including the base path.
The API URL can be set in the environment as `STARLING_API_URL` instead of using the flag. If both are set, the flag overrides the environment variable.The exporter binds to `:3081` by default. This can be changed with the `--listen` flag.
## Implemented Devices
- [x] Nest Thermostat
- [ ] Nest Temperature Sensor
- [x] Nest Protect
- [ ] Nest Camera
- [ ] Nest Guard
- [ ] Nest x Yale Lock
- [ ] Nest Weather Service