Dear HA community.
I have setup of Home Assistant Docker 2022.3.3 container.
My meter is Iskra MT372 (very similar to MT382) installed by Sweden company, Vattenfall.
Meter’s terminals are sealed so I cannot access the internals, which leaves optical port to my only option.
Meter technical description: MT372_3-phase_meter
Reading the Energy Meter HA documentation is good, but it leaves important bits off and I struggle to set up my project.
Using a optical port with Raspberry Pi USB-FT232R serial cable → over ser2net to
Ethernet network (HA DSMR Slimme Meter integration), and DSMR 5S protocol (nothing else works).
With these variables the HA integration installs without errors, but the meter values are displayed as “unknown” at lovelace.
Ser2net .conf file:
4001:raw:600:/dev/serial/by-id/serial adapter symlink:300 NONE 1STOPBIT 8DATABITS XONXOFF LOCAL -RTSCTS
My cable works with Android OTG and ZRobo app at serial 300 baud, 7E1 settings.
Do I have wrong ser2net configuration or is my meter is incompatible?
How do you setup =]---- USB ↔ RS232 ↔ IRDA serial — ( : ) 7E1 in Linux?
(means that an even parity bit is added to the 7 data bits for a total of 8 bits between the start and stop bits)
All meter values are shown as “unknown” in HA.
Hi, sadly no with HA, not yet. There is a bit information still missing.
I used this cable with FTDI-chip Aliexpress
In HASS Core cli log I have seen error of keep-alive, so I guess the DSMR needs an active serial connection.
Payload (in hex) is still a mystery of how the DSMR 5 protocoll works, needs a sniffer that I don’t have.