Basic app for interacting with a thermostat. App uses flask and Dash for UI and secures connection via Google OAuth. Thermostat data is stored in a SQLite database. This app is based on several tutorials and example repositories. Here are some useful links:
Users are authenticated the same way as here: Google-Dash-Auth
SQLite and sensor data are handled basically as described here.
The thermostat itself was constructed by following this instructables tutorial