Skip to content

Minimalistic system to read AMS/HAN data from electrical meter

Notifications You must be signed in to change notification settings

ArveLarve/AmsToMqttBridge

 
 

Repository files navigation

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 a web interface available on runtime, showing meter data in real time.

Hardware options

Look in hardware section for more details about supported hardware

Setting up your device

Go to the WiKi for information on how to set up your own device.

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.

About

Minimalistic system to read AMS/HAN data from electrical meter

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 68.8%
  • HTML 17.7%
  • JavaScript 6.7%
  • C 3.1%
  • CSS 3.1%
  • Python 0.6%