Giter VIP home page Giter VIP logo

energy-imp's Introduction

Energy Imp

An simple web-based energy monitor for viewing electricity generation, consumption, etc.

Built to access the Fronius Symo GEN24 10.0 Plus inverter fitted with a Fronius Piolot GEN24/TAURO data source and Fronius PowerMeter electrical meter.

Other inverters could be supported (see below).

Setup

Config options

Copy the example config file:

cd app/private
cp config.EXAMPLE.php config.php

Then edit your config file accordingly app/private/config.php:

  • MAX_GEN_CAPACITY_W - The value in Watts that your system can generate at maximum, e.g. set to 10000 if your system can generate up to 10kW.
  • MODEL - The model name of your inverter (this must match a supported model).
  • IP - The IP address of your inverter, e.g. usually a local network address in the format of "192.168.0.123".
  • UPDATE_FREQUENCY_S - The frequency in seconds the browser will poll for updates (default 5s).

Use

Docker

To get the server running use docker-compose:

docker-compose up -d

Accessing it

Point your browser to your Docker instance's IP address and chosen port number, e.g. http://192.168.0.123:8123

If you want to change the port number update docker-compose.yml and restart the instance.

Supporting other inverters

  1. Add a class in the format of app/private/EnergyImp.[MyNewInverter].class.php (use an existing class as a starting point) and update getData() to suit your new inverter's output, matching the standard return array format.

  2. In app/private/EnergyImp.class.php add an entry for your new class to the INVERTER_SYSTEMS_SUPPORTED array.

  3. Update app/private/config.php setting your new inverter's name and any other required config options to INVERTER_SYSTEM.

  4. If you want to share; send a pull request so it can be added to this project. :)

Examples

I run it as a fullscreen webapp on an old iPad for an always on display in my kitchen...

(Using Apple Configurator and a custom profile with a Web Clip URL set to the server's address as a simple way to get an icon on the dock and fullscreen when active.)

Screenshot

energy-imp's People

Contributors

imprecision avatar

Watchers

 avatar

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.