GithubHelp home page GithubHelp logo

allram / amstomqttbridge Goto Github PK

View Code? Open in Web Editor NEW

This project forked from utilitechas/amsreader-firmware

0.0 2.0 0.0 28.72 MB

Minimalistic system to read AMS/HAN data from electrical meter

C++ 62.49% Objective-C 0.95% C 0.17% Python 0.55% CSS 6.81% HTML 21.28% JavaScript 7.75%

amstomqttbridge's Introduction

AMS <-> MQTT Bridge

Orignally designed and coded by @roarfred, see the original repo at roarfred/AmsToMqttBridge

This repository contains the code and schematics necessary to build a device to receive and convert data from AMS electrical meters installed in Norway. The code can be used on both ESP8266 and ESP32, both as custom build devices or built from readily available development modules. It reads data from the HAN port of the meter and sends this to a configured MQTT bus.

There is also a web interface available on runtime, showing meter data in real time.

Hardware options

Look in hardware section for more details about supported hardware

Release binaries

In the Release section of this repository, you will find precompiled binaries for some common boards.

  • hw1esp12e :: First version custom hardware with ESP 12E of 12F chip
  • esp12e :: General ESP8266 board with 12E or 12F chip
  • d1mini :: Wemos D1 mini
  • esp32 :: General ESP32 board
  • lolind32 :: Wemos D32
  • featheresp32 :: Adafruit ESP32 feather

Flashing binaries with esptool.py

Linux: esptool.py --port /dev/ttyUSB0 write_flash 0x0 binary-file.bin

Windows: esptool.py --port COM1 write_flash 0x0 binary-file.bin

Building this project with PlatformIO

To build this project, you need PlatformIO installed.

It is recommended to use Visual Studio Code with the PlatformIO plugin for development.

Visual Studio Code

PlatformIO vscode plugin

Copy the platformio-user.ini-example to platformio-user.ini and customize to your preference. The code will adapt to the platform and board set in your profile. If you are using the original board design by @roarfred use build flag -D HW_ROARFRED=1

amstomqttbridge's People

Contributors

allram avatar arnieo avatar gskjold avatar hlovdal avatar kjetilrong avatar roarfred avatar svenove avatar vegarwe avatar xibriz avatar

Watchers

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