Nice. Just a heads up when changing hardware:
As an aside, one could also move the bit shifting into the helper function and use bytes.slice(0, 4)
to pass 4 bytes rather than a single number. And one might want to limit the number of decimals. See Decode float sent by Lopy as Node - #2 by arjanvanb.