This tool reads your consumption data on an hour-by-hour interval and calculates how your household performs against the average, and how much you saved by using hour metering.
This tool is possible thanks to the wonderful API (and people) at Tibber.
The project can be viewed and used on https://offpeak.se
In server/
, copy client.example.env
to client.env
, fill in the application credentials from Tibber in the new file.
This is only possible (and necessary) for developers with full production access and to test the authentication.
If building a docker image and testing the production build, use docker.env
in the project root. This is not recommended.
access_token
, expires
Using this method you can develop most aspects of the site, except the login flow. To use the snapshot functionality you can create your own firebase project and use those credentials.
yarn install
in project rootRun make run
in the server/
folder, this starts the backend.
Run make run
in project root, this starts the frontend dev server.