All Projects → roarfred → Amstomqttbridge

roarfred / Amstomqttbridge

Minimalistic system to read AMS/HAN data from electrical meter

Projects that are alternatives of or similar to Amstomqttbridge

Haswitchplate
LCD touchscreen for Home Automation
Stars: ✭ 666 (+303.64%)
Mutual labels:  arduino, mqtt, esp8266
Home Assistant Config
My Home Assistant Configuration 🏡🏡
Stars: ✭ 133 (-19.39%)
Mutual labels:  arduino, mqtt, esp8266
Open Home Automation
Open Home Automation with Home Assistant, ESP8266/ESP32 and MQTT
Stars: ✭ 820 (+396.97%)
Mutual labels:  arduino, mqtt, esp8266
Sonoff Homeassistant
Firmware for ESP8266 based itead Sonoff switches for use with HomeAssistant
Stars: ✭ 354 (+114.55%)
Mutual labels:  arduino, mqtt, esp8266
Blinker Doc
blinker中文文档
Stars: ✭ 139 (-15.76%)
Mutual labels:  arduino, mqtt, esp8266
Esp Mqtt Json Digital Leds
(OBSOLETE) ESP8266 MQTT JSON Digital LEDs for Home Assistant
Stars: ✭ 503 (+204.85%)
Mutual labels:  arduino, mqtt, esp8266
Mqtt via esp01
TCP/UDP Applicaton for UNO/MEGA/STM32 using ESP8266's AT firmware.
Stars: ✭ 23 (-86.06%)
Mutual labels:  arduino, mqtt, esp8266
Tasmota
Alternative firmware for ESP8266 with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
Stars: ✭ 16,624 (+9975.15%)
Mutual labels:  arduino, mqtt, esp8266
Blinker Library
An IoT Solution,Blinker library for embedded hardware. Works with Arduino, ESP8266, ESP32.
Stars: ✭ 1,095 (+563.64%)
Mutual labels:  arduino, mqtt, esp8266
Hass Yaap
Yet another alarm (control) panel for Home Assistant.
Stars: ✭ 44 (-73.33%)
Mutual labels:  arduino, mqtt, esp8266
Espixelstick
Firmware for the ESPixelStick
Stars: ✭ 332 (+101.21%)
Mutual labels:  arduino, mqtt, esp8266
Hugo Esp8266
Hugo is a 4-button ESP8266 Wi-Fi Remote, Arduino compatible and simple to use.
Stars: ✭ 77 (-53.33%)
Mutual labels:  arduino, mqtt, esp8266
Heatpump
Arduino library to control Mitsubishi Heat Pumps via connector cn105
Stars: ✭ 327 (+98.18%)
Mutual labels:  arduino, mqtt, esp8266
Async Mqtt Client
📶 An Arduino for ESP8266 asynchronous MQTT client implementation
Stars: ✭ 555 (+236.36%)
Mutual labels:  arduino, mqtt, esp8266
Esphelper
A library to make using WiFi & MQTT on the ESP8266 easy.
Stars: ✭ 310 (+87.88%)
Mutual labels:  arduino, mqtt, esp8266
Esp8266 Anemometer
ESP8266 based wind anemometer project
Stars: ✭ 22 (-86.67%)
Mutual labels:  arduino, mqtt, esp8266
Blynk Server
Blynk is an Internet of Things Platform aimed to simplify building mobile and web applications for the Internet of Things. Easily connect 400+ hardware models like Arduino, ESP8266, ESP32, Raspberry Pi and similar MCUs and drag-n-drop IOT mobile apps for iOS and Android in 5 minutes
Stars: ✭ 8 (-95.15%)
Mutual labels:  arduino, mqtt, esp8266
Pjon
PJON (Padded Jittering Operative Network) is an experimental, arduino-compatible, multi-master, multi-media network protocol.
Stars: ✭ 2,615 (+1484.85%)
Mutual labels:  arduino, mqtt, esp8266
Smarthome
💡 智能电器管理综合系统
Stars: ✭ 33 (-80%)
Mutual labels:  arduino, mqtt, esp8266
Tinygsm
A small Arduino library for GSM modules, that just works
Stars: ✭ 1,186 (+618.79%)
Mutual labels:  arduino, mqtt, esp8266

AMS <-> MQTT Bridge

This project may help you build your own reader for HAN data streamed from the new AMS electrical meters installed in Norway in 2017/2018. Data is read using an Arduino-programmed ESP8266 (in an ESP12 module from AI Thinker), then pushed to MQTT over WiFi. You can have full control over this data, and you can basically do anything with it.

This project does not include any fancy UI setup or even storage for the AMS data.

Building this project will require some skills in ordering and assembling electronic circuits as well as programming, and I have not included detailed instructions to take a beginner through the steps. I still hope some still find information here useful, maybe also for other projects.

The completed hardware

The HAN Reader Hardware

The completed board mounted in a 3D printed enclosure

The HAN Reader Installed

...installed with the electrical meter...

Data from MQTT displayed on a Node Red Dashboard

...and, showing data on a Node Red dashboard

Background

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 and an 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

Quite some work was put into parse and guess how the data protocol was defined. Unfortunately, I did not have access to the (rather expensive) standardization documentation, but with some collaborative effort we solved most details.

This project includes

The completed project also includes:

  • Boot as Access Point and web server to allow config from a web browser. This allows you to set SSID, password, MQTT server and port, as well as topics for publish and subscribe
  • On-board temperature sensor, also reported in json to MQTT

Electrical design

The most recent design uses an ESP8266 in an ESP12 module from AI Thinker for micro processing and the TSS721 from Texas Instruments for level conversion from M-Bus to TTL (3.3V). An earlier design solved the level conversion using an op-amp, which might be an easier and more available solution, but also more error-prone. See more details in electrical design.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].