Cloud function to control the window state of a tado zone.
gonzolino / tado-window-control Goto Github PK
View Code? Open in Web Editor NEWCloud function to control the window state of a tado zone
License: Apache License 2.0
Cloud function to control the window state of a tado zone
License: Apache License 2.0
Instead of setting the windowClosed status try to set an overlay with heating off on window open and remove that overlay on window close.
Requires gonzolino/gotado#10 to be done before work can start.
It seems like automatically triggering the Deploy action does not work. Since the release is triggered by release-please, this might be intended behaviour: https://docs.github.com/en/actions/reference/events-that-trigger-workflows#triggering-new-workflows-using-a-personal-access-token.
We should check if we can use a personal access token here to properly trigger deployments.
GitHub Actions now support OpenID Connect for authentication with GCP: google-github-actions/auth
Incorporate the auth action into the deployment workflow and remove the current secret token.
See https://deepsource.io/docs/analyzer/secrets for more information on how to configure the secrets analyser.
To authenticate with the tado° API one needs a tado client ID and a secret. tado-window-control uses an hardcoded ID and secret from https://my.tado.com/webapp/env.js.
The hardcoded credentials should be removed and env variables (or something similar) should be used.
Google Cloud Functions now support Go 1.16 as execution environment: https://cloud.google.com/functions/docs/concepts/go-runtime#go_116
The go package can therefore be updated accordingly, as well as the deploy GitHub action.
Split the Release Please action into two jobs as in gonzolino/gotado#58.
Tracking issue for:
Tracking issue for:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.