This ESPHome package allows reading your water meter using an M5StickC Plus and a 6-DoF IMU Pro Mini Unit with a BMM150 triple-axis magnetometer.
Much of the magnetometer logic in this package was built from tronikos' esphome-magnetometer-water-gas-meter project. Additional help from the M5Unit-IMU-Pro-Mini repository
Since I have almost zero soldering skills, this was a far easier project than building my own circuits as tronikos did.
Hope you find this helpful