-
Notifications
You must be signed in to change notification settings - Fork 141
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
Feature Request: Eastron-SDM-Serie: instantaneous electrical information #203
Comments
Can you provide the current behavior of libmbus with this meter as a trace? |
of course: init_slaves: debug: sending init frame #1
|
The same feature request. I saw test frames from the 630 in the course with all data in the source package. |
A quick implementation for SDM630MCT-MBUS V2 for the command mbus-serial-request-data. Add new function and call it in case a secondary address start with SDM630 You will get all informations. 22 data records |
The same issue exists for Eastron's single phase SDM220 Mbus energy meter. The regular REQ_UD2 request only causes the meter to respond with 12 energy data fields in its RSP_UD response frame(s), and I'd like to also receive the 23 Power-related data fields. So, any possible solution should not just be limited to the SDM630, but to (all?) Eastron MBus meters in general ;) Addendum 2024-03-24: The patches supplied by @vigeland seem to work! I have used these patches successfully in compiling libmus into a Docker container I'm using to read my Eastron SDM220 MBus meter. I've used the repo https://github.com/packom/mbus-httpd to build it via the Dockerfile, patching the libmbus source files before compilation starts in the build. Spawning the patched container immediately allows for readout of the instanteous power data via the meter's secondary address, notably without using the "SDM630" prefix! I'm not sure how that works, as the code and your comments seem to indicate the prefix should be required, but it "just works (TM)" without it. Adding the prefix to the secondary MBus address even results in a "Failed to receive M-Bus response frame." error... I currently have only the SDM220 on the MBus, so I'm not sure how it behaves with other (non-Eastron) meters on the same bus. |
Hello,
I use electric meters of the SDM series of the manufacturer EASTRON.
These slaves have the property to return only the meter value in standard queries.
The also available instantaneous values (voltage, current, power, frequency, etc) are not present in the response telegram.
To get the values, the query must look like in the attached protocol document chapter 6.1:
SDM630-Mbus-protocol.pdf
In the pyMeterBus project the behavior has been discussed before:
pyMeterBus
Unfortunately I can't implement the solution myself, but I would be willing to work on it for tests etc.
Greetings Alex
The text was updated successfully, but these errors were encountered: