SML_SERVER(1)

πŸ“¦
version 1.1.5 Β· 3 versions
, in ubuntu stonking

πŸ’– 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 🚨

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