mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-01-13 15:37:03 +00:00
AMS <-> MQTT Bridge
The purpose of this project is to collect information and build a simplified bridge for reading serial DLSM/M-bus information from electrical power meters (AMS), provided over the HAN port, and publishing to some IoT friendly target.
Components will be ESP8622, Arduino code, a (very simplified) M-bus <-> 3.3V serial interface
As a start, we should try to get information from the three types of AMS meters currently being installed in Norway. Some details about these are available here: NVE_Info_kunder_HANgrensesnitt.pdf
The project should include:
- Simple circuit to transform MBus levels to 3.3V serial
- Code to capture and analyze data from PC
- Code to capture and analyze data from Arduino
- Sample data from various meters
- Documentation on HAN / MBus / DLMS/COSEM
- Code to parse DLMS data into a structure
- Real schematics, including ESP8266, possibly PCB
- Arduino library
- Arduino sample sketch to read values and report to MQTT server
Circuit to read HAN from PC (via FTDI)
Circuit on breadboard
Description
ESP8266 and ESP32 compatible firmware to read, interpret and publish data to MQTT from smart electrical meters, both DLMS and DSMR is supported
Readme
85 MiB
Languages
C++
76.4%
Svelte
16.4%
C
2.4%
JavaScript
2.3%
Shell
1%
Other
1.5%

.jpg)