Joint project by Johannes Schmidt and me.
This repository contains the code of a simple energy monitor displaying energy data from:
Any contribution is welcome, start by cloning this repo:
git clone https://github.com/petres/energy
Copy the creds-template.json
file to creds.json
and fill it with your credentials. Credentials can be obtained by registering on the corresponding data supplier webpages (free).
Calling a scripts in the load
folder will download data from the corresponding data source, extract, aggregate and store the data for the visualisation.
The website is uses webpack as bundler and the javascript framework vue3. The visualisations are created by the gen-vis library which is build on top of d3.
To run the dev website:
cd web
npm install
npm run dev