brbeaird/netatmo-wunderground-agent

By brbeaird

Updated about 2 years ago

An integration between Netatmo PWS and Weather Underground

Image
Integration & delivery
1

1.5K

brbeaird/netatmo-wunderground-agent repository overview

Netatmo-wunderground-agent

This provides an integration between a Netatmo PWS and Weather Underground

Authentication

Netatmo uses an OAuth flow with access and refresh tokens, which expire after some time. You will need to generate these and add them as environment variables for startup. The Docker container will keep up with rotating them going forward, storing them in a file under /temp. If you want the config to persist across docker container recreation, map the /temp folder.

Follow these steps to generate the tokens:

  1. Login to https://dev.netatmo.com/apps and create an app
  2. Click on the app and scroll down to the Token Generator field
  3. In the Scopes drop-down, choose "read_station" and click "Generate Token." Follow the prompts, and you should end up with Access Token and Refresh Token values.

Environment Variables

  • netamo_client_id: Netatmo developer client ID
  • netamo_client_secret: Netatmo developer client secret
  • netamo_accessToken: Access token generated from Netatmo
  • netamo_refreshToken: Refresh token generated from Netatmo
  • wundergroundStationId: Weather underground station ID
  • wundergroundUserPassword: Weather underground API key
  • netamo_tokenFileDirectory: directory for config file (default: /temp).

Repository

https://github.com/brbeaird/netatmo-wunderground-agent

Tag summary

Content type

Image

Digest

sha256:9762b8722

Size

41.6 MB

Last updated

about 2 years ago

docker pull brbeaird/netatmo-wunderground-agent