Gas meter from Xiaomi/Aqara door sensor (ZigBee)

I actually followed some advice elsewhere online and used my phone magnetometer sensors on and around the big blank bottom portion of the gas meter to detect the internal components moving around and had more success! Sobi went and swapped my reed sensor for a hall effect sensor (cat ZD1902) and some leads/wires. The next step is to figure out some code on the esp32 / arduino to read the sensor x y z values and pick values on the sine curves to convert to gas usage increments…

@djgrazzy firstly thanks for all the good work.
I have this all wired up and the reed switch works away from the meter however I can’t get it to register when in the case. Did the reed switch need to go into a particular end of the 3d case as there is plenty of room for movement. I had assumed as close to the last dial as possible but may be wrong. Any advice on this? Also has this stood the test of time and still running?