
Homeassistant: P1 DSMR meter

Winter is coming. Or maybe better to say “The next round of increased gas and electricity is coming”. So in order to know what is going on in the house I invested in a small P1 meter which connects to the Smartmeter, which makes it possible to see and monitor the changes instantly.
And I mean literally instantly. You get up turn on the light, boom you see within a second the wattage used going up a few watts. You turn on the microwave, boom another 900 watt added to the consumption. I like it…
Shoutout to Enri.nl
I can’t start this blog without giving a huge thank you to Henri. Henri is a dutch maker who created the little device I am using today and he sells it via marktplaats, so if you want to use one yourself, follow to link:
Alle advertenties van Henri op Marktplaats. Bekijk het aanbod van Henri en vind producten en diensten tegen…www.marktplaats.nl
The set comes with a wemos ESP 32 as well as the shield and RJ12 cable, which is an unbeatable offer for 17,50 EURO. (No advertisement, just really happy I got one 🙂 )
In case you just want to get it to work and not read everything below
- Here is the ESPHome code https://github.com/aiolos/ESPHome-config/blob/main/p1-with-gas.yaml
- Here you can buy the kit https://www.marktplaats.nl/u/henri/6273283/
- Here you can download the STL for 3d Printing a case https://enri.nl/pcb/?page=p1
DSMR
If you have read “Blackout” by Marc Elsberg you definitely know what a smart meter is, in any other case:
DSMR stands for “Dutch Smart Meter Requirements”. The current version is 5.0. It basically has set the new standard in how energy and gas providers communicate with the meters. Before DSMR and especially before DSMR v4, it was mainly all about PLC (Power Line Communication), but now it is GPRS. What it means is basically that your electricity and maybe gas provider can read the meter you use in your house directly to share the current consumption.
What it also means is that every Smart Meter has a P1. Which is simple a RJ11/RJ12 connector, so you can read the data as well.
Which data is provided?
It was actually pretty interesting to see which kind of data we get out of the box. While there is maybe more, here is the interesting stuff:

Works with esphome
If you are a Homeassitant user you most likely also use ESPhome. If that is the case you can download the esphome code from Henri’s github.
If you would like to help me buy more stuff and write nice blog posts about it consider to become a supporter on Patreon.
Become a patron of johest PD8JO today: Get access to exclusive content and experiences on the world’s largest…patreon.com
This post is always free for Patreon supporters, consider becoming a supporter