Support for Hungarian smart meters
The great thing about a standard is that it's a universal thing, which makes things so much easier. Look at USB-C for example, which is the standard interface for consumer electronic devices nowadays. It took a while to get there, but it makes life so much easier. For vendors, but certainly for consumers.
We're not quite there yet with having cross-border standards for smart meters, but the DSMR specification used in the Netherlands is used as the basis for smart meters in a few countries in Europe, using a P1 port to read data. In some countries these are open for the public, in other countries like Ireland these are sealed.
Each country has a slightly different specification to meet its unique needs, introducing minor deviations that can throw off a P1 reader based on the DSMR specification.
Recently, a user from Hungary reached out to us with a simple question: how to get the P1 Primo to work with Hungarian smart meters? The specification looks similar, however some codes and values are slightly different and it tripped up the ESPHome DSMR component.
Working closely with the user and leveraging a modified DSMR component by Attila Farago, we successfully configured the P1 Primo to harmonize with Hungarian smart meters, specifically tested on the Sanxing SX631 smart meter.
So, if you're in Hungary and eager to monitor your smart meter through the P1 port, worry not!
We've got you covered with the ESPHome code available on our GitHub page: