I have come across an odd situation with unit conversion. We have flow meters which report in m³/h, and Mango is configured to convert to gal/min for display. The meter itself can be configured to display in gal/min, even though the data cannot be reported in any other units. This was previously addressed in another post (https://forum.mango-os.com/topic/4388/are-values-in-converted-unit-available-to-scripts), and the workaround provided by @phildunlap has been working fine, until recently when we replaced the unit with a MangoGT. Then we noticed the display (and more critically, our scripts) was off.
The result is the local display is wrong, along with scripts which use the converted units. However, the data is published (persistent TCP) and the receiving unit (cloud instance) is displaying the gal/min correctly, in agreement with the display on the device.
For example, as I debug one of the scripts, it reads the metric flow at
2.2167255878448486 m³/h; the device and the Mango instance receiving the published data display an accurate
9.76 gal/min. However, Mango's rendered value is a mysterious
FWIW the gateway device is a MangoGT running version 3.7.7
The cloud instance is also running Mango version 3.7.7
Any other details that might be useful?