Digitale meter
Home Assistant integration via Homewizard WiFi P1-meter
https://www.homewizard.nl/homewizard-wi-fi-p1-meter
https://community.home-assistant.io/t/custom-component-homewizard-energy-wifi-p1-meter/227441
https://github.com/DCSBL/ha-homewizard-energy
Download the github zip file and extract it
Copy the homewizard_energy directory to smb://homeassistant@192.168.0.4/config/custom_components/
reboot HA
The integration is automatically recognised, just give it a name.
All sensors are automatically displayed on the lovelace page
Some links:
The specifications of the meter can be found here
https://mrwheel-docs.gitbook.io/dsmrloggerapi/integratie-met-home-assistant
https://github.com/home-assistant/core/tree/dev/homeassistant/components/dsmr
https://willem.aandewiel.nl/index.php/2019/04/09/dsmr-logger-v4-slimme-meter-uitlezer/
https://gathering.tweakers.net/forum/list_message/57287053#57287053
https://gathering.tweakers.net/forum/list_messages/1578510/88
The cable I used https://www.aliexpress.com/item/32945187155.html?spm=a2g0s.9042311.0.0.1b2d4c4dwPCiST
For the Belgian digital meter, you need the Sagemcom T210-D version.
First try with putty:
In order for putty to use the serial port, you have to run it as root, or add yourself to the dialout group.
sudo usermod -a -G dialout marc
logout and login, and check if you are in the dialout group
id marc
uid=1000(marc) gid=1000(marc) groups=1000(marc),4(adm),20(dialout),24(cdrom),27(sudo),30(dip),46(plugdev),116(lpadmin),125(sambashare),127(wireshark),133(libvirt)
P1 interface telegram
/FLU5\253769484_A --> /XXX5 Identification
0-0:96.1.4(50213) --> versie informatie
0-0:96.1.1(3153414733313030313332373136) --> M-Bus Device ID 2
0-0:1.0.0(200930105242S) --> Datum/tijd
1-0:1.8.1(000011.551*kWh) --> afname dag
1-0:1.8.2(000026.273*kWh) --> afname nacht
1-0:2.8.1(000116.881*kWh) --> injectie dag
1-0:2.8.2(000063.915*kWh) --> injectie nacht
0-0:96.14.0(0001) --> welk tarief is momenteel in voege (dag/nacht/ander....)
1-0:1.7.0(00.000*kW) --> momenteel vermogen afname
1-0:2.7.0(00.993*kW) --> momenteel vermogen injectie
1-0:32.7.0(239.2*V) --> spanning
1-0:52.7.0(240.9*V) --> spanning
1-0:72.7.0(242.2*V) --> spanning
1-0:31.7.0(000*A) --> stroom
1-0:51.7.0(001*A) --> stroom
1-0:71.7.0(003*A) --> stroom
0-0:96.3.10(1) --> staat van de aan/uit schakelaar 1=aan
0-0:17.0.0(999.9*kW) --> vermogensbeperking
1-0:31.4.0(999*A) --> stroombeperking
0-0:96.13.0() --> Consumer message code = textbericht die de netbeheerder kan doorsturen
!3DE3 --> !CRC