blog-eivindgl-com / netatmo-pyportal-display

CircuitPython project to use PyPortal as display for a Netatmo weather station
MIT License
1 stars 0 forks source link

Query Netatmo API #1

Open eloekset opened 2 years ago

eloekset commented 2 years ago

Reimplement the .NET application that queries the Netatmo API and formats a datastructure for widges on a weather station display.

PyPortal is powerful enough to all the job of querying the API and processing the results. No need for an external on-prem web application to prepare the widgets and offload TLS.

eloekset commented 1 year ago

This was more difficult than expected. PyPortal framework is designed to fetch data from a single URL, while the Netatmo API requires an OAuth token that must be fetched in a separate request.

Use the .NET on-prem proxy API for now.