File: sml_server.1.md

package info (click to toggle)
libsml 1.1.2-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 844 kB
  • sloc: ansic: 8,435; makefile: 174; sh: 5
file content (57 lines) | stat: -rw-r--r-- 1,275 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
% SML_SERVER(1) Volkszaehler project | User Commands
% Joachim Zobel <jz-2017@heute-mogen.de>

# NAME

sml_server - makes libsml functionality available on the command line

# SYNOPSIS

**sml_server** [**-v**] [**-h**] [**-s**] _device_|_file_

# DESCRIPTION

The sml_server reads binary SML data from the given device or file. If a - is 
given, stdin is used. This data is then displayed in human readable form.

**-v**
:     This enables verbose output.

**-h**
:     This shows the help.

**-s**
:     will print the first sml message and then exit (single)

# EXAMPLES

Assuming there is a meter connected to ttyUSB0 you can display the transmitted 
data.

~~~
$ 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
...
~~~

# NOTE

The sml_server is intended as a tool for development and testing and as an 
example. It was not developed for production use.

# COPYRIGHT

The sml_server program is Copyright (C) Juri Glass, Mathias Runge, Nadim El 
Sayed and others.

# SEE ALSO

[libsml-testing](https://github.com/devZer0/libsml-testing)
is a collection of test data from real life smart meters. It also has
usage examples.