New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
first version of OMS based meter support #181
Conversation
…the info is only in min not even secs granularity
I fixed a hang on program termination (in non daemon mode after pressing ctrl-c) that was introduced with push data but found during tests here (thanks to @schnello). |
Do we need libmbus support in |
Would make sense (but otherwise build process will be ok but just with OMS support). Can you add it? Needed steps see above (git clone ..., ./build.sh make install) |
Glad to. I'll merge first and add install.sh then, ok? |
sure |
We're also missing a config example? I'll add one later on. Json editor should not be missed. |
I’ll add one. Had it in the first version but needed to remove as otherwise tests fail without libmbus…
Gruß Matthias |
+1 for merging this pr. libmbus is merged. |
What abt. openssl? Don't we need it too? Gruß |
openssl is already part for SML based readers. |
But there is one issue with the timestamps under investigation. I wait for merge until that's sorted out. |
Really? I dont find it in the dependencies of vzlogger, libsml or middleware. Gruß |
sorry. is needed for mysmartgrid not for SML
|
Still ok for merge? I added conf file and fixed the timestamp issue reported from @schnello. |
Still one issue with timestamps (devices seems to send packets with duplicate ones). I'll add a workaround. |
I'll merge now so that we might get more people to test it. Different meters than the one from @schnello will most likely show new effects. Just let me know in case of any problems. |
first version of OMS based meter support
As discussed in #176 see here the first version.
Thanks to @schnello for support with infos and debug host.
Currently only 4 Obis values are supported: 1.7.0, 2.7.0, 1.8.0 and 2.8.0.
For configuration use conf editor or
.
Currently only serial/tty devices and encryption mode 5 is supported.
Please don't use interval but use aggregation to reduce data rate if needed/wanted.
It requires openssl and libmbus >=0.8.0 from e.g. https://github.com/rscada/libmbus.git
(installation is easy:
Please test and let me know any feedback.