xperimental / netatmo-exporter

Prometheus exporter for Netatmo sensor data.
MIT License
44 stars 18 forks source link

Do not require client id/secret when token file is used #30

Closed alvaroaleman closed 1 year ago

xperimental commented 1 year ago

The client-id and client-secret are needed for the exporter to be able to refresh the token (in addition to the token-file needing a refresh-token). I'll probably add a warning for when the token is missing information needed for refreshes in the future to avoid confusion when the exporter suddenly stops working.