dhayab / homebridge-withings-air-quality

Homebridge plugin that exposes air quality data from the Withings WS-50 Smart Body Analyzer
MIT License
16 stars 6 forks source link

Use Withings Data API #15

Closed ololobus closed 3 years ago

ololobus commented 3 years ago

Probably one can use Withings Data API instead of direct usage of login/pass: https://developer.withings.com/oauth2/#section/Data-API

For example, register your own app and provide only a token for your plugin. What do you think?

dhayab commented 3 years ago

Hi, as commented here, I can't use the official OAuth2 API, since they don't expose the carbon dioxide levels there.