Giter Club home page Giter Club logo

aidon's Introduction

Aidon ams han power meter

A Power meter for Aidon ams han. This project is just a visulizer for https://github.com/robinsmidsrod/ams-han-decoder.

Shows current hour avarage, last 5 min average and current watt.

Installation

Clone this repository. And then use npm to install dependency packages.

npm install

Dependency list that will be automatically installed with the command above:

npm install ws
npm install mqtt
npm install ini
npm install cli-color

Configuration

Copy config.example.ini to config.ini and edit values to your preferences.

Set application title

This is the title used in the browser tab, and on the page.

title = "Aidon"

Guage colours and limits

  • peak: The maximum value for the guage.
  • green: The bar will remain green colour until this value.
  • yellow: The bar will remain yellow colour until this value.
  • orange: The bar will remain orange colour until this value.

Values above orange will be red.

[watt]
peak = 10000
green = 3000
yellow = 5000
orange = 7000

AMS mqtt broker

The address for the AMS mqtt broker.

[mqtt]
read = "mqtt://192.168.1.10:1883"

AMS mqtt broker

  • interface: The interface address to run the webserver on.
  • www_port: The port to run the webserver on.
  • ws_port: The port to run the websocket on.
[server]
interface = "192.168.1.10"
www_port = 8302
ws_port = 8303

Proxy

If you wish to run the application behind a proxy, it will need to know the address to connect the websocket.

[proxy]
ws = "wss://example.com/socket"

aidon's People

Contributors

tux- 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.