@fll-freak @kevin After 8hrs of single measurements, it’s still working for myself.
The solution was to use the polulu library and use setTimeout(0).
I did have some strange spikes at sunrise and these happened 5 times:
Reading a measurement… Distance (mm): 87
06:57:50.738 -> Reading a measurement… Distance (mm): 85
06:57:51.431 -> Reading a measurement… Distance (mm): 169
06:57:52.129 -> Reading a measurement… Distance (mm): 146
06:57:52.825 -> Reading a measurement… Distance (mm): 114
06:57:53.523 -> Reading a measurement… Distance (mm): 94
06:57:54.220 -> Reading a measurement… Distance (mm): 86
84 - 95 is the expected range, so everything above 110 is fairly strange, but these did appear during sunrise so I am expecting it due to the big lightning difference.
I perform 25 SingleReads with a read every 500ms and then return an average, so I can easily discard the seemingly false values and check for new ones.
Regards
