Coder Social home page Coder Social logo

daisaja / energymeterdashboard Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 790 KB

Simple Smashing based dashboard to show energy generated by solar panels and SMA Tripower 6.0 and energy consumed and measured by Youless LS120 datalogger.

Ruby 27.27% CoffeeScript 10.50% JavaScript 31.42% CSS 0.56% HTML 11.25% Dockerfile 0.65% SCSS 18.35%

energymeterdashboard's Introduction

Docker Image CI

Check out http://smashing.github.io/smashing for more information.

Please note: in order to run klimato weather widget you need to register for yahoo weather api here: https://developer.yahoo.com/weather/

Afterwards you need to expose your appid, customerKey and customerSecrets as environment variables like this:

$ export EM_APP_ID=my_app_id_value
$ export EM_CONSUMER_KEY=my_customer_key_value
$ export EM_CONSUMER_SECRET=my_customer_secret_value

In order to run the docker container you need to put variables into a env-file like this:

$ touch .env

EM_APP_ID=my_app_id_value
EM_CONSUMER_KEY=my_customer_key_value
EM_CONSUMER_SECRET=my_customer_secret_value

Run docker with:

$ docker run -p3030:3030 --env-file .env id_of_your_container

See for further explanations: https://vsupalov.com/docker-build-time-env-values/

For local build and test also possible:

docker build --build-arg EM_APP_ID=my_app_id_value EM_CONSUMER_KEY=my_customer_key_value EM_CONSUMER_SECRET=my_customer_secret_value

docker build -t daisaja/energymeter:latest . docker push daisaja/energymeter:latest

SMA firmware: 2.13.33.R / 3.10.10.R

Copy ssd image

sudo fdisk -l sudo mount | grep sdc sudo umount /dev/sdc1

~/Downloads/volkszaehler_latest$ sudo dd if=./2019-07-07-volkszaehler_raspian_buster.img | pv -s 8G | sudo dd of=/dev/sdc bs=1M

energymeterdashboard's People

Contributors

lars-gentsch-ionos-cloud avatar daisaja avatar dependabot[bot] avatar

Stargazers

Felix Neumann avatar

Watchers

 avatar James Cloos avatar

energymeterdashboard's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.