Hi,
I'm Felix, the author of `sml-rs` [1] (sml parser written in Rust). I'm
using the `libsml-testing` [2] repository as integration test data and
it's been very helpful while developing `sml-rs`. I found a couple of
bugs and also learned about the non-standard behavior of some models
regarding the time information. I guess that's the issue you've bee
seeing too. You can find my implementation of the workaround here [3].
I'd prefer to collect test data from meters that require workarounds in
the `libsml-testing` repository instead of in a wiki because it's easier
to integrate in automated tests this way. I'm also wondering how many of
such cases there may be. I only know that single one. If someone else on
this list knows about more, please let me know.
Best regards / Viele Grüße,
Felix
[1] https://github.com/felixwrt/sml-rs
[2] https://github.com/devZer0/libsml-testing
[3]
https://github.com/felixwrt/sml-rs/blob/5dd0bcd6b789c20a050a4865190b883517e57a59/src/parser/common.rs#L325-L333
On 28/03/2023 17:13, Thorben T. wrote:
On Sun, 19 Mar 2023 11:59:13 +0100
Michael Wyraz <[email protected]> wrote:
Heute habe ich mich mal nach weiteren SML libs umgeschaut und bin auf
Eure libsml gestoßen. Dort findet sich tatsächlich genau der gleiche
Workaround. Daher kam mir der Gedanke, solche Fälle mal zu sammeln
und dokumentieren. Was haltet ihr davon? Soll ich dazu mal in Eurem
Projekt eine Wiki-Seite anfangen? Dort würde es besser passen, als in
meinem, da ich keine reine SML-Lib entwickle sondern diese (derzeit)
nur Bestandteil meines Tools ist.
a similar discussion came up here:
https://github.com/volkszaehler/libsml/issues/103
sml-parser in rust: https://github.com/fkohlgrueber/sml-rs
and actually libsml-testing is probably already a good platform for
such an effort:
https://github.com/devZer0/libsml-testing
Viele Grüße,
Michael.
PS: beim Pulse Tibber kann man (nach Änderung eine einzelnen
Einstellung) direkt SML per HTTP abrufen. Das wäre evtl. auch für
Euer Projekt interessant.
if we have some documentation and somebody with access to the hardware,
we can surely support this in vzlogger,
consider opening a ticket at
https://github.com/volkszaehler/vzlogger/issues