Code Monkey home page Code Monkey logo

speedwire-to-mqtt's Introduction

Speedwire to MQTT

Service to listen UDP multicast messages from SMA devices and forward the information to a MQTT server.

Configuration

This is an under-development work, so the configuration options may change at any point. See the config/default.json file to check the available options. They should be self descriptive. See the config module documentation to get the information about how to change the options (or just edit the default file).

Exported data

The service published a MQTT message every mqtt.period seconds to mqtt.topic topic. The message contains a JSON with the following format information:

  • samples. Number of UDP messages received and correctly parsed since last publish.
  • grid_w. Average power consumed from grid during the period in W.
  • grid_wh. Grid energy consumption counter from last received message in Wh.
  • feed_w. Average power feeded to grid during the period in W.
  • feed_wh. Grid energy feed counter from last received message in Wh.

Docker

The service can be run using Docker. The image can be found at Docker HUB. Example to run the image with a custom config file (home.config.json):

docker run -it --rm --net host -v home.config.json:/usr/src/app/config/home.json -e NODE_CONFIG_ENV=home metbosch/speedwire-to-mqtt

speedwire-to-mqtt's People

Contributors

metbosch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

gerrit-kmeier

speedwire-to-mqtt'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.