I’ve just got my water meter replaced. Had a Multical21 but it’s replaced with a new itteration called FlowIQ 2200. But the old and the new one is supported in wmbusmeters.
And i got the decryption key from the utility company today, which enabled me to get it going.
So i’ve pieced together MQTT and wmbusmeters into HA so now i get m3 and m3/hour data every 16 seconds over wireless-MBUS.
So it seems to work with the iM871A-USB dongle. If you want some snippets or hints into get it working reply on this :).
Thanks
I got a cheap RTL8232 dongle and it seems to work great. I can see meter in the log files.
I don’t have the encryption key from the local company jet but I would have at this point if it’s possible some confirmation about setup information just in case if in HA everything works exactly as I understood.
As far as I understand, I need to create a MyTapWater file in the wmbusmeters.d folder to enter the settings and that’s basically all.
Did u also alter the conf file for Multical21 or I dont have a need to touch that?
I also have not used MQTT before but this probably can wait until I actually get the key for the meter.
Thanks
loglevel=normal
# Remember to change auto here to the device you are going to use in production.
device=rtlwmbus
logtelegrams=true
format=json
meterfiles=/var/lib/wmbusmeters/meter_readings
meterfilesaction=overwrite
logfile=/var/log/wmbusmeters/wmbusmeters.log
# Enable MQTT Support
shell=/usr/bin/mosquitto_pub -h localhost -t wmbusmeters/$METER_ID -m "$METER_JSON"
I figured out that actually, it is not possible to change any wmbusmeters yaml file. The only way to setup wmbusmeters is thru the configuration page in HA. There was no clear mention of that in the help files so very annoying! So I did not create any yaml configuration.
I have not figured out what is the difference between water total and water target? What does that mean, water target??
my conf is
Is there any tools out there to decrypt / brute force the data to try to find the key? My municipality won’t provide me with the decryption key. They said that with the key I could change parameters in the meter
No. Even if there were it would be no help. Brute force would only work with dictionary attack (when real words in key are used). For guessing the alphanumerical key u have to wait 1000 yrs (if lucky) or build your own quantum computer.
Talking about changing parameters in meter is of course extremely stupid. It is the same level as watching TV show u could screw up something in the studio. The technology is exactly the same (I even use basically USB TV stick) but officials are not blessed with special intelligence, and in addition, they feel power over others, which they will not relinquish under any circumstances. It took me a whole month of correspondence simply because the clerk did not understand what was being said, recommending to simply look at the meter to find out the reading. In the end, I had to threaten with the court, and luckily then I was contacted by a local Kamstrup representative who sent the necessary files. I definitely do not dare to recommend this last method because different country, different customs!
Well… The EU is one thing, but each country still has its own laws. First of all, the claim that reading the information allows the client to somehow change the reader himself is just extraordinarily stupid and wrong. The reader sends information on a radio frequency, and the client reads it on the specified frequency. Thats all! The water company reads it exactly the same way.
In recent years, the EU has strongly emphasized that customer/user data belongs to the user, and in my opinion, denying access to it is a violation of such rights. The water reader’s screen does give access to current water consumption information, but this is far from all that the reader collects and transmits. In total, Multical 21 (other models are probably different) gives the data of incoming water temperature, burst, dry, leak, flow reversed, target consumption (this month), total consumption, max flow and ambient temp. This is all data that belongs to the customer according to EU ideology, which the reader transmits to the water company, but which in this case is not shared (denied) with the customer. I see here that according to data protection rules, the customer should have the right to these data, but still, each country looks at the matter from its own perspective. Finally, each country has its own legislators, laws, and understandings of how to enforce them.
I think that in my case it was easier because they didn’t really have a particular desire to refuse, but I was just an annoyance they were trying to get rid of.
Hi!
Interesting reading. My provider will certainty not provide me any keys, they is believers that i’m going to burn down the studio for sure. But how about reading the optical circuit, does anyone of you have any experience? Its M-bus what I understood and might be possible to get data into HA, I hope.
I finally got the key from the municipality but it is not in the right format. wmbusmeters wants a key according to key=00112233445566778899AABBCCDDEEFF
but the key I got was of type ase-128-cbc, 512 characters: F4KA4g7oOk…ad1O5njwz
No this is in Sweden. Talk to the municipality or what kind of service how provide water. I wrote to my provider: “However, given that we are subject to EU law and one of the GDPR’s core principles is transparency, “Remember that those whose data you process (referred to as ‘the data subject’ in the GDPR), have the right to know exactly what data you are collecting about” .” and a couple of weeks later I got the key.
You can use this gateway too for Kamstrup Water Meters. They are all Kamstrup Multical 21 / FlowIQ water meters. Which are supported by the Kamstrup-IR gateway too.
nice that my experience was useful to someone
here, the meters are changed by law every five years. I’m already thinking with a little worry if I have to go through the whole mess again.