robinvdvleuten

robinvdvleuten

I’ve been working on p1meter.dev (source: GitHub - mijnverbruik/p1meter.dev: Source behind p1meter.dev, the virtual P1 smart meter simulator · GitHub ), a small Phoenix LiveView project that provides a virtual smart meter P1 port for development and testing.

The idea is simple: if you are building software around Dutch or Belgian smart meters, home energy dashboards, DSMR parsing, P1 integrations, or TCP-based meter readers, you often need realistic telegram data. But having a physical smart meter, P1 cable, adapter, or test setup nearby is not always convenient.

p1meter.dev simulates a live DSMR 5.0 smart meter and streams telegrams over raw TCP.

You can try the live TCP stream with:

nc p1meter.dev 8080

The web interface shows a live preview of the simulated smart meter data, while the TCP endpoint emits the same kind of telegram stream that a P1 reader would receive.

The project itself is built with Phoenix LiveView. The simulated telegrams are generated using my dsmr package, which handles DSMR telegram data structures and formatting.

It is mainly useful for:

  • testing DSMR/P1 parsers without a real meter nearby

  • developing energy monitoring tools

  • experimenting with TCP-based P1 readers

  • demos, examples, and documentation

  • reproducing parser or integration issues with predictable input

The project is still intentionally small, but I’d like to keep improving it. Some things I’m considering:

  • more realistic usage patterns throughout the day

  • configurable meters or scenarios

  • support for more edge cases in telegram data

  • examples for consuming the stream from Elixir and other ecosystems

Feedback, ideas, bug reports, and contributions are very welcome.

Website:

Related DSMR package:

Repo:

Where Next? Top

Trending in Announcing Top

wojtekmach
Hey everyone! Req is an HTTP client for Elixir that I’ve been working on for quite some time. There is already a lot of HTTP clients out...
New
handnot2
Samly can be used to enable SAML 2.0 Single Sign On in a Plug/Phoenix application. This library uses Erlang esaml to provide plug enabl...
New
woylie
Flop is an Elixir library that applies filtering, ordering and pagination parameters to your Ecto queries. offset-based pagination with...
New
MRdotB
I needed to reuse React components from my Chrome extension in my Phoenix/LiveView backend. I noticed that for Svelte/Vue, there are live...
New
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New
fuelen
Hi all! I want to present a small library which provides a mix task for generating an Entity-Relationship Diagram for Ecto schemas. You...
New
anuaralfetahe
Hello Published a new library - ProcessHub! ProcessHub is a library designed to manage process distribution within the Elixir cluster. ...
New

Other Trending Topics Top

mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
AstonJ
This showed up on my feed.. anyone heard of it? Just hype? Ox Alpha is a reasoning model designed for coding, sustained ag...
New
sergio
It’s not that it’s vocabulary is too advanced. It’s something worse. I get lost trying to follow even a paragraph written by Claude. It’...
New
sorenone
Today we’re releasing Oban for Python. Not an Oban client in Python. Not a pythonx wrapper embedded in Elixir. Nope, it’s a fully operati...
New
akoutmos
@hugobarauna, Dr. Dimitrios Koutmos (my brother) and I (Alex Koutmos) have been hard at work on writing a book on how you can use Elixir ...
New
pferriby
Introductory paragraph I’ll be looking for a keen junior or someone that has a couple of years experience in the real world (so you’ve be...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews