A Cloudflare Worker to access the Netatmo API and output the information of the "Favorite" devices.
- Create an account: https://auth.netatmo.com/en-gb/access/login
- Create an app: https://dev.netatmo.com/apps/createanapp#form
- Copy
client_id
andclient_secret
to env vars - Go to https://weathermap.netatmo.com/ and mark stations as your "Favorite"
Locally you have two options:
- Run
npm run cli
- Run
npm run wrangler
(You have to havewrangler
globally installed and your Cloudflare worker setup. You'll also need to changewrangler.toml
)
USERNAME
PASSWORD
CLIENT_ID
CLIENT_SECRET