Ecobee exporter for metrics in Prometheus format
This is a fork of https://github.com/billykwooten/ecobee-exporter, see there for more details and to check out the great work Billy Wooten is doing!
I made following changes in my fork:
- Added
holdTempMetric
metrics - Added
hvacInOperation
metrics (limited to "CompCool1", "AuxHeat1", "Fan" as that is all I need)
Please see Billys repository for detailed instructions.
To run with docker-compose, following steps are necessary to get it up and running. There might be better and/or more elegant ways, but this is how I id dit id ;)
- Add following to your docker-compose file (adjust based on your needs)
ecobee-exporter:
container_name: ecobee-exporter
image: billykwooten/ecobee-exporter
restart: unless-stopped
ports:
- 9098:9098
environment:
- ECOBEE_APPKEY=<ADD APP KEY HERE>
volumes:
- ./data/ecobee:/db
stdin_open: true
tty: true
- Run
docker-compose up -d && docker attach ecobee-exporter
- Open a browser and go to http://localhost:9098/metrics
- Docker will now print a pin like
Pin is "ABCD-EFGH"
- Go to https://www.ecobee.com/consumerportal/index.html#/my-apps
- Register your app pin from step 4
- Confirm completion by clicking the enter key in the attached terminal
- Remove or comment out
stdin_open
&tty
in the docker-compose file and restart viadocker-compose up -d