Wireless M-BUS

Hey guys.
I got these days a new watermeter.


It seems that this device is supporting wireless M-Bus.

Which hardware can you suggest to read this smartmeter?
Should work directly with OH or perhaps push the values through MQTT.

Many thanks.

PS. Perhaps in the future my gasmeter will be also replaced by the local energy provider. I suppose there will be also a smartmeter implemented.

See here

https://github.com/xaelsouth/rtl-wmbus

I have it running simple way straight forward

Also possible

https://github.com/corny/mbus-esp32

A simple RTL-SDR USB Dongle is sufficient.
I am using a cheap DVB-T TV Dongle, but DVB-T is not available everywhere, you may have to find a dongle abroad.

Another software solution with integrated MQTT:

https://github.com/wmbusmeters/wmbusmeters

Be aware that the data is encrypted and you need a key from your water supply company.

I‘ve been using wmbusmeters with an Amber Wireless AMB8465 stick for four years in a row now and it’s the most stable software I’m running in my stack. Can highly recommend it.

Btw: At least for me (Germany / Techem) no encryption key was needed.

Interesting. So your neighbor can read your data?
:sneezing_face:

It’s hard to guess who‘s who, but yes. I can pretty much read all meters which I receive.

Hey guys. Thanks for your feedback.

Unfortunately I disposed my old DVB-T USB Stick some years ago.

I ordered now a RTL-SDR with RTL2832u-Tuner including an external antenna from a large marketplace in Asia. I expect delivery next week, send from within the EU.

In the meantime I also checked across the internet some projects for getting the data.

This is my current favorite: GitHub - wmbusmeters/wmbusmeters: Read the wired or wireless mbus protocol to acquire utility meter readings.
But also the other projects looks good to me. I will try some of them.

Offtopic:

I didn’t think this was even possible, especially in Germany (I am located there, too) where even some persisted data of digital electricity meters are secured with a pin that a new tenant is not able to read data from the previous tenant.

Imagine following scenario: during vacation times some bad guys are driving down your street once a day and gathering data from unencrypted water meters. They burglar into the homes where the water reading isn’t rising for one or two days, because they now know, no one is home.

:scream:

And they also have a list to know where they can burglar based on the meter id? They got the list from the local energy/water distributor? :zany_face:

I can confirm the same my data is also not encrypted (Germany)…even my smoke detectors have m bus functionality and they are also not encrypted…but the same thing is you don’t know who is who besides your own because you can test by pressing the test button or look at the numbers…

But honestly it’s easier to find out if someone is on vacation with the simple stone trick…(Put a stone in front of the door if it’s moved someone was in)

Signal strength is transmitted too, so easy to find out the right home …

Update. I ordered this one:

SDR Radio Receiver RTL-SDR USB Stick With Antenna Equipped With RTL2832 ADC Chip 0.5 PPM TCXO And MCX Connector Used With Most

In the meantime it has arrived. Plugged into my desktop computer. No success. Perhaps too far away from the meter. Or perhaps too late … I’ve seen on the water workers website that their meters only transmit between 7 am to 6 pm (or similar) except weekends.

Anyhow … I moved the device incl antenna to the Pi4 to it’s final location. Installed wmbusmeters via snap. (I wasn’t able to get anything using docker, I tried!!)
I get a lot of Telegrams … But only from three different ids. And for one of those ids the RSSI is the lowest in this pack. I assume that this is my watermeter even this id isn’t (partial) matching to any other number at the watermeter.

Anyhow … I wrote and called the supplier. I need to wait if someone knows more about this “smartmeter” … And perhaps I will receive the decryption key in a nearby future.

Hey guys. A new update.

Using the ordered SDR stick it was possible to read the meter value once. I don’t know what happened here… I permanently I’ve got “mac error” .. I suppose something wasn’t perfect during receiving the transmission even there are only 1.5 meter max in between.

I ordered the IMST iU891A stick and this was running directly without any issue.

I installed the wmbusmeters locally, also mosquitto_pub and can see all data within the broker.

Note: The broker is within a Docker container. I’m able to run the pub command manually but it wasn’t able from wmmeters service directly… Therefore I installed the MQTT client outside Docker, too.

Anyhow .. Now I need to create a generic MQTT thing with all the channels manually.

I have seen there is an homeassist add-on, too. Would be nice to have the part for auto-discovery, too. :smiley: