Open Source Smart Meter with focus on privacy - you remain the master of your data.
J-A-U on master
dependencies (compare)
www.github.com' doesn't match requested host name
raw.github.com'.[Aug 09 14:50:22][mtr0] Config.daemon: 0
[Aug 09 14:50:22][mtr0] Config.local: 0
[Aug 09 14:50:22][chn0] Logging thread started
[Aug 09 14:50:22][mtr1] Meter for protocol 'sml' is disabled. Skipping.
[Aug 09 14:50:22][mtr2] Meter for protocol 's0' is disabled. Skipping.
[Aug 09 14:50:22][mtr3] Meter for protocol 'd0' is disabled. Skipping.
[Aug 09 14:50:22][mtr4] Meter for protocol 'random' is disabled. Skipping.
[Aug 09 14:50:22][mtr5] Meter for protocol 'file' is disabled. Skipping.
[Aug 09 14:50:22][mtr6] Meter for protocol 'exec' is disabled. Skipping.
[Aug 09 14:50:22][mtr7] Meter for protocol 'fluksov2' is disabled. Skipping.
[Aug 09 14:50:22][mtr8] Meter for protocol 'w1t' is disabled. Skipping.
[Aug 09 14:50:22][] Startup done.
[Aug 09 14:50:22][chn0] Start logging thread for volkszaehler-api. Running as daemon: no
[Aug 09 14:50:22][chn0] Using default volkszaehler api.
[Aug 09 14:50:24][mtr0] Got 7 new readings from meter:
[Aug 09 14:50:24][mtr0] Reading: id=1-0:1.8.0*255/ObisIdentifier:1-0:1.8.0*255 value=10482356.40 ts=1596977424681
[Aug 09 14:50:24][mtr0] Reading: id=1-0:1.8.1*255/ObisIdentifier:1-0:1.8.1*255 value=10481349.10 ts=1596977424681
[Aug 09 14:50:24][mtr0] Reading: id=1-0:1.8.2*255/ObisIdentifier:1-0:1.8.2*255 value=1007.30 ts=1596977424681
[Aug 09 14:50:24][mtr0] Reading: id=1-0:16.7.0*255/ObisIdentifier:1-0:16.7.0*255 value=49.00 ts=1596977424681
[Aug 09 14:50:24][mtr0] Reading: id=1-0:36.7.0*255/ObisIdentifier:1-0:36.7.0*255 value=41.00 ts=1596977424681
[Aug 09 14:50:24][mtr0] Reading: id=1-0:56.7.0*255/ObisIdentifier:1-0:56.7.0*255 value=1.00 ts=1596977424681
[Aug 09 14:50:24][mtr0] Reading: id=1-0:76.7.0*255/ObisIdentifier:1-0:76.7.0*255 value=6.00 ts=1596977424681
[Aug 09 14:50:24][chn0] Adding reading to queue (value=10482356.40 ts=1596977424681)
[Aug 09 14:50:24][push] added to uuid a8968e20-da3e-11ea-9fe6-016f84c2367f
[Aug 09 14:50:24][push] push: { "data": [ { "uuid": "a8968e20-da3e-11ea-9fe6-016f84c2367f", "tuples": [ [ 1596977424681, 10482356.4 ] ] } ] }
[Aug 09 14:50:24][push] CURL Request to http://127.0.0.1:5582 succeeded with code: 200
[Aug 09 14:50:24][push] send ok to url http://127.0.0.1:5582
[Aug 09 14:50:27][mtr0] Got 7 new readings from meter:
[Aug 09 14:50:27][mtr0] Reading: id=1-0:1.8.0*255/ObisIdentifier:1-0:1.8.0*255 value=10482356.50 ts=1596977427481
[Aug 09 14:50:27][mtr0] Reading: id=1-0:1.8.1*255/ObisIdentifier:1-0:1.8.1*255 value=10481349.20 ts=1596977427481
[Aug 09 14:50:27][mtr0] Reading: id=1-0:1.8.2*255/ObisIdentifier:1-0:1.8.2*255 value=1007.30 ts=1596977427481
[Aug 09 14:50:27][mtr0] Reading: id=1-0:16.7.0*255/ObisIdentifier:1-0:16.7.0*255 value=51.00 ts=1596977427481
[Aug 09 14:50:27][mtr0] Reading: id=1-0:36.7.0*255/ObisIdentifier:1-0:36.7.0*255 value=42.00 ts=1596977427481
[Aug 09 14:50:27][mtr0] Reading: id=1-0:56.7.0*255/ObisIdentifier:1-0:56.7.0*255 value=0.00 ts=1596977427481
[Aug 09 14:50:27][mtr0] Reading: id=1-0:76.7.0*255/ObisIdentifier:1-0:76.7.0*255 value=7.00 ts=1596977427481
[Aug 09 14:50:27][chn0] Adding reading to queue (value=10482356.50 ts=1596977427481)
[Aug 09 14:50:27][push] added to uuid a8968e20-da3e-11ea-9fe6-016f84c2367f
[Aug 09 14:50:27][MAX] 10482356.400000 @ 1596977424681
[Aug 09 14:50:27][push] push: { "data": [ { "uuid": "a8968e20-da3e-11ea-9fe6-016f84c2367f", "tuples": [ [ 1596977427481, 10482356.5 ] ] } ] }
[Aug 09 14:50:27][MAX] 10482356.500000 @ 1596977427481
[Aug 09 14:50:27][MAX] RESULT 10482356.500000 @ 1
hi, kennt sich jemand mit dem prüfen der CRC beim SML aus? ich versuche hier gerade was in python zu bauen. konkrete frage: über was wird die CRC gebildet? das "SML-File" abzüglich der letzten 2 bytes?
nachtrag: hab ne SML bibliothek mit CRC/File und CRC/Message implementiert und kann nun die Daten auslesen. Das hat mir extrem geholfen: http://www.stefan-weigert.de/php_loader/sml.php