Commit Graph
2 Commits
Author SHA1 Message Date
Tom Fifield 26e8b64abd Update cookie and express.
npm audit found a medium security advisory for this dependency set.
2024-05-20 08:43:44 +08:00
Tom Fifield 59416586f7 Set voltageChart min y-value to 2V
As mentioned in liamcottle/meshtastic-map#13 , voltages on
meshtastic devices are typically 3.2-4.2V .  The range on the
voltageChart y-axis from 0V to 5V reduced its usefulness as changes
within the normal operating range of devices were more difficult to
detect.

This patch changes the y-axis range to 2V to 5V. This will improve
the resolution for the areas users care about.

Note that this change is more conservative than requested in
liamcottle/meshtastic-map#13 , as it attempts to take into account
less typical voltage. A very drained battery might get around 2V,
and 5V might be reported for a USB connection.
2024-05-08 11:57:12 +08:00