NECH2004 / smartmeter_austria

Home Assistant integration for Austrian Smart Meter using the M-BUS interface
MIT License
8 stars 2 forks source link

ESPHome integration #3

Closed BeniKing99 closed 11 months ago

BeniKing99 commented 11 months ago

Checklist

Is your feature request related to a problem? Please describe.

To connect my EVN Sagemcom T210-D (M-Bus Master using DLMS/COSEM) I intended to use a SlimmeLezer+ (https://www.zuidwijk.com/product/slimmelezer-plus/), which is running ESPHome, which has DSMR compatibility built in. As it turned out, my smartmeter is not compatible with the SlimmeLezer+ and now I am searching for a solution to get the smartmeter into (docker) home assistant.

Describe the solution you'd like

As the smartmeter is placed outside the house, a wireless solution would be great. For what I have researched, there is no easy solution for this. After finding this component, I now have a little more hope. Is it possible to somehow integrate this module into ESPhome? As I am not very skilled with python and the home assistant and ESPhome code in general, I don't know how much work it would be.

Describe alternatives you've considered

Instead of ESPhome, maybe another form of connection to the component would be possible to integrate (not only USB com port). Maybe using an ESP32 as a serial bridge over WiFi (https://atadiat.com/en/e-esp8266-esp32-wifi-serial-bridge-converter/) would be possible.

Additional context

Hardware Environment: Sagemcom T210-D smart meter from EVN using M-Bus Master and DLMS/COSEM via the P1 port. The unit is outside the house, but in Wifi distance. Home assistant: Running in on a server as a docker container

NECH2004 commented 11 months ago

I am sorry I cannot rewrite the code for ESP home because I am a rather poor C++ programmer. There are much better guys!

Gottfried has created a nice platform io project that should do what you want: Read data from the EVN Smartmeter T210-D, runs on an ESP32 and sends data to a MQTT server (means also Home Assistant) https://github.com/gogo1989/EVN-Smart-Meter-MQTT-Logger

A second choice could be Michaels RasPi Solution that can also send to a MQTT server https://www.michaelreitbauer.at/sagemcom-t210-d-auslesen-smart-meter-evn/

A third choice could be: https://github.com/UtilitechAS/amsreader-firmware/wiki/hardware#assembly-of-readily-available-modules EVN is also supported (see https://github.com/UtilitechAS/amsreader-firmware/wiki/Known-hardware-configurations).

oe3osb commented 2 months ago

Hi Chris, i work currently with the Raspi Version including a mbus.usb adapter. I would like to migrate to ESP32 with homeassistant. How i can work with your Smartmeter_Austria code ? Is the ESP direct connected with mbus on the KAIFA (EVN) meter ? May you have a "connection manual" how i can realize this ? You can reach me also via mail oe3osb at gmail com.

Danke Erich