Public Repository

Last pushed: 2 years ago
Short Description
Docker Container to send Nest Data to InfluxDB
Full Description

Based on https://github.com/grempe/nest_poller

Instructions for getting a long-life access token for API access

Guide:
https://developer.nest.com/documentation/cloud/rest-quick-guide

See : https://developer.nest.com/clients for my registered API clients and the URLs.

Step 1 : GET a PIN number

Run via Docker as:

docker run -e INFLUXDB_NEST_POLLER_HOST='10.7.0.80' -e INFLUXDB_NEST_POLLER_USERNAME='influxuser' -e INFLUXDB_NEST_POLLER_PASS='influxpass' -e NEST_API_ACCESS_TOKEN='c.7MVm2...' derf/nest_poller run

Run via Docker Compose as:

nestpoller:
   environment:
      INFLUXDB_NEST_POLLER_HOST: influxdb
      INFLUXDB_NEST_POLLER_USERNAME: influxuser
      INFLUXDB_NEST_POLLER_PASS: influxpass
      NEST_API_ACCESS_TOKEN: c.7MVm2...
command:
      - run
image: derf/nest_poller
links:
       - influxdb:influxdb

influxdb:
  ports:
  - 8083:8083/tcp
  - 8086:8086/tcp
  - 8090:8090/tcp
  - 8099:8099/tcp
  environment:
    PRE_CREATE_DB: 'nest_poller'
 image: tutum/influxdb
 volumes:
  - /path/to/influxdb/data:/data
Docker Pull Command
Owner
derf

Comments (0)