Seems to be working ok so far!

Also managed to add a constant offset to match up the value with the meter display: