I’m one of the posters in the thread in the hjemmeautomasjon forum who’s actually using wmbusmeters to read water meter reading. I just got the encryption key for the water meter at my cabin as well, so I’d really like to be able to vote twice.
If anyone has any questions regarding this, feel free to ask.
If you find a device, try setting it up with NOKEY:
meters:
|-
name=WaterMeter
driver=auto
id=123456 discovered in step 6. of the addon docs
key=NOKEY
Most devices are not encrypted, at least in Germany, i can measure heaters, water meters and even the official fire alarm system without any further setup
Hi all, I’m super interested in this topic and here in Belgium we got the Multical21 installed.
Can a short guide be made of what’s needed (HW & SW) and how to get it up & running?
Especially recommended hardware (quality vs price) and where to buy it in the EU.
I am successfully running this on Home Assistant Blue for a couple of weeks now. I purchased the M871A-USB - Wireless M-Bus USB-adapter 868 MHz from IMST (good for EU, because they are in Germany). Installed wmbusmeters as HA add-on by adding the repository according to the instructions here. The USB radio was discovered automatically by the add-on and it soon discovered my meters in the Log tab. Then it was just a matter of adding them in the wmbusmeters config like this:
You will obviously need to adjust these values based on the Log. I was lucky there is no encryption on my meters. Then I added the following to my configuration.yaml to make the entities show up in HA:
mqtt:
sensor:
- state_topic: "wmbusmeters/ColdWater"
json_attributes_topic: "wmbusmeters/ColdWater"
unit_of_measurement: "m³"
state_class: total_increasing
device_class: water
value_template: "{{ value_json.total_m3 }}"
name: Cold Water
icon: "mdi:gauge-low"
unique_id: cold_water
- state_topic: "wmbusmeters/HotWater"
json_attributes_topic: "wmbusmeters/HotWater"
unit_of_measurement: "m³"
state_class: total_increasing
device_class: water
value_template: "{{ value_json.total_m3 }}"
name: Hot Water
icon: "mdi:gauge"
unique_id: hot_water
Finally I set-up some Utility Meter helpers in the HA UI to calculate the current (hourly, 15 minutes, etc.) consumption from the increasing totals reported by the meters.
I am still trying to figure out how to make it work in the Energy dashboard, because none of the meters show up currently. I had a bug in the configuration, which is now fixed - for the meters to show up in the Energy dashboard, you have to use m³ instead of m3 as unit of measurement.
Edit: my bad damn it. Seems like HA needed a restart for the dashboard to wake up. Reloading of the “manually configured mqtt templates” wasnt enough. Thanks for the help @hubikj
This is so f-ing weird. I have the same device_class, state_class and unit_of_measurement as you, but the sensor still doesn’t show up in the energy dashboard.
I’ve managed to get my sensor that I converted to “liters” in the dashboard, but that doesnt seem to work. Has been showing 0 for över 3 hours now.
I live in Belgium too. Have bought the usb dongle @hubikj recommended.
Based on his instructions as well ones from addon creator (thanks both!) managed to install and integrate it into HA.
However, have to return the device because meters (heating radiator and water) in my building use different technology.
In Belgium, metering company ISTA provides 3 different types: radio, wmbus and pulse meters. The usb is good for second type but not useful in my case (radio based emters).
if you live in Leuven or around you can test my device before I return it back to German seller.
I have some issues running this addon, not sure what is the cause of this, I created an issue for it:
As the HA Addon does have a config, I have added everything there, but since I´m using a USB stick called rtl433, I have a feeling that it does not fetch the added meter for decoding it.
I have decrypted the telegram correctly, so I know my KEM file is correctly decrypted, and the key I´m providing is working.
can anyone tell me what im doing wrong here? im not getting anything. got My HA on a RPI4 and with!
im871a stick on a 20m usb cable right next to the Multical21 watermeter. not getting any telegrams to set up the meter
Can I ask what you changed from default config? I don’t receive any telegram in my log from meter. It have recognized my USB dongle but only got my Mozilla and my phone listed in the log. Can’t see any meters.
My device is 5-6 meters from the meter and as I read the range should be like 500 meters on the im871a-usb.
In my case “helped” to remove the default example meter, then after restart I got message No meters configured. Printing id:s of all telegrams heard! followed by all the received telegrams. Unfortunately all my meters are encrypted.
It works like a charm! You can choose between the stable and the edge version.
i personaly prefer the stable version. But if you need it, fixes and enhancemnets will go into the edge version a litle bit faster.
Thanks. I had found that shortly after asking 🫣
Now I just have to hope that I will get the access key to my water meter once it has been installed in two weeks🤞