vzlogger icon indicating copy to clipboard operation
vzlogger copied to clipboard

Integration Wasserzähler / Integration Water Metering

Open slemke76 opened this issue 9 months ago • 3 comments

Hallo,

I have an M-Bus Water Mereting installed on my site (https://process.honeywell.com/us/en/products/utilities/water/digital-metering/mbus/falcon-mj-pulse-mbus).

I guess the "OBIS Value Group A = 8: Water" is actually not implemented? Or is this wrong?

I already payed around a bit - with the libmbus tools I get the water consumtion corretly:

`root@raspberrypi:/var/log/vzlogger# mbus-serial-request-data -d -b 2400 /dev/ttyAMA3 1 init_slaves: debug: sending init frame #1 [2024-05-09 21:30:06Z] SEND (005): 10 40 FD 3D 16 [2024-05-09 21:30:06Z] RECV (001): E5 init_slaves: debug: sending init frame #2 [2024-05-09 21:30:06Z] SEND (005): 10 40 FD 3D 16 [2024-05-09 21:30:06Z] SEND (005): 10 5B 01 5C 16 [2024-05-09 21:30:07Z] RECV (087): [...] mbus_frame_print: Dumping M-Bus frame [type 4, 87 bytes]: [...]

<SlaveInformation>
    <Id>.....</Id>
    <Manufacturer>ELR</Manufacturer>
    <Version>178</Version>
    <ProductName></ProductName>
    <Medium>Water</Medium>
    <AccessNumber>21</AccessNumber>
    <Status>00</Status>
    <Signature>0000</Signature>
</SlaveInformation>

<DataRecord id="0">
    <Function>Instantaneous value</Function>
    <StorageNumber>0</StorageNumber>
    <Unit>Volume (m m^3)</Unit>
    <Value>111717</Value>
    <Timestamp>2024-05-09T21:30:07Z</Timestamp>
</DataRecord>

[...] ` I tried some configs for vzlogger, but without any success. A encryption key is not needed (see libmbus), but without vzlogger does not start.

"meters": [ { "enabled": true, "allowskip": false, "interval": -1, "aggtime": -1, "aggfixedinterval": false, "protocol": "oms", "device": "/dev/ttyAMA3", "dump_file": "/var/log/vzlogger/dumpfile.log", "baudrate": 2400, "baudrate_read": 2400, "parity": "8n1", "wait_sync": "off", "read_timeout": 60, "baudrate_change_delay": 400, "key": "********************************", "mbus_debug": true, "use_local_time": false } ]

Is there a interest in implementing the whole thing? I would be happy to help, but currently have actually no starting point. It would be possible to set up access to the system...

Regards, Sebastian

slemke76 avatar May 09 '24 21:05 slemke76