p1ngry Add-on for Home Assistant
I’ve packaged my own p1ngry application as a Home Assistant add-on. The what? p1ngry, which stands for P1 energy - I never got a marketing degree, so this was the best I could come up with.
What p1nrgy does, and I suppose mainly for the Benelux users here, is able to read and parse data from your P1 (DSMR) smart meter and publishes this real-time over to MQTT.
Please note: in the current stage I am looking for friendly-users who which to try it out and share feedback. I wouldn’t advise to immediately drop your current P1 solution and fully migrate. Your feedback is greatly appreciated!
About p1ngry
There are already excellent applications and add-ons out there that read P1 meters and forward the data to Home Assistant.
However, most of them are Python-based and interpreted, all good but in it’s core a compiled language is better at parsing a serial port. Next to that, they all came with more great features, I just wanted a passthrough: P1 → MQTT and then do my further monitoring in Home Assistant.
OK - I was also looking for my first project write an application in Go. ![]()
p1ngry is written in Go (Golang) and compiled into a single static binary.
This makes it extremely lightweight, fast, and very low on CPU and memory usage — ideal for low-resource devices such as Raspberry Pi’s and other small ARM boards.
And that’s just that: p1ngry is just a reliable P1 → MQTT pipeline.
No overhead, no background webservers, no extra ingresses: just small efficient smart meter telemetry published straight into your MQTT broker.
p1nrgy will parse all incoming data from the serial port and handle it concurrently. It will keep the latest snapshot of received data in-memory. Before publishing to MQTT, it will check (with a Go deepequal) if something has changed. If not, it will not needlessly publish new data on the topic.
Installation
- Add my add-ons repository to your Home Assistant instance.
- Install the p1ngry add-on.
- Configure the add-on. The installation documentation contains more thorough details, which also be found here at the installation instructions.
- Start the add-on.
- Done! Your smart meter data is now streaming into HA.
GitHub Repository
Add-on repository
Upstream p1nrgy project
The add-on wraps the p1nrgy Go application in a clean HA-compatible container.
DSMR Compatibility
p1ngry supports all major DSMR versions:
| DSMR Version | Baudrate | Mode |
|---|---|---|
| 2.2 / 3.x | 9600 | 7E1 |
| 4.x / 5.x | 115200 | 8N1 |
Further details are also shared in the installation instructions. ![]()
Feedback is welcome!
If you run into issues or have feature ideas (e.g. custom MQTT prefixes, different telegram intervals, or exposing metrics), just let me know!