SML_SERVER(1)
π SML_SERVER(1) π
okay bestie, welcome to the user commands section of the manual, and today's main character is sml_server π
β¨ NAME β¨
sml_server β it takes all that libsml functionality you love and drops it right there on your command line, fr fr π«Ά
πΈ SYNOPSIS πΈ
sml_server [-v] [-h] [-s] device|file
π DESCRIPTION π
So here's the vibe: sml_server reads binary SML data from the device or the file you hand it. And like β if you pass it a -, it reads from stdin instead π. Then it shows you all that data in human readable form, which is the whole point, obviously β¨
-vβ turns on verbose output. she's chatty, we love that π¬-hβ shows the help. lost? not for long π§-sβ prints the first sml message and then dips, i.e. exits. single. one and done. periodt π
π¦ EXAMPLES π¦
okay imagine you've got a meter plugged into ttyUSB0 (iconic setup ngl) β you can straight up display the data it's transmitting. no cap:
$ sml_server /dev/ttyUSB0
129-129:199.130.3*255#ISK#
1-0:0.0.9*255#06 49 53 4b 01 0b cb 28 e6 1d #
1-0:1.8.0*255#10973297.0#Wh
1-0:1.8.1*255#10973297.0#Wh
1-0:1.8.2*255#0.0#Wh
1-0:16.7.0*255#144#W
...
look at her go ππ
β οΈ NOTE β οΈ
listen. sml_server is meant to be a tool for development and testing, and also just kind of an example, okay? It was not developed for production use. do not come for me if you run this in prod bestie, I'm literally warning you π¨
π COPYRIGHT π
The sml_server program is Copyright (C) Juri Glass, Mathias Runge, Nadim El Sayed and others. respect the icons π«‘
π SEE ALSO π
libsml-testing is a whole collection of test data from real life smart meters πΈ it also has usage examples, so if you want to see this stuff in action, go peep that. iykyk π
π AUTHORS π
Joachim Zobel jz-2017@heute-mogen.de β thank u for ur service king π«Άβ¨
aaaand that's the whole page bestie π
tysm for reading, the Volkszaehler project brought you this absolute gem of a SML_SERVER(1) manual page, so go forth, read ur meters, and slay π₯ππ
π¦ where this page comes from
- ubuntu stonking: libsml-utils 1.1.5-1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms