die on invalid data
[air-quality] / README
1 Experiments with air quality sensors
2
3 Scripts in this directory read from sesor serial port output (which
4 is 3.3V serial connected to usb serial dongle) and store data to
5 influxdb using curl.
6
7 When receiving data from sensors, they check  header and checksum to
8 avoid sending garbage data. This also helps when you select wrong
9 serial port, beacuse script from wrong sensor won't send invalid or
10 corrupt data. Timestamp are also generated locally to mitigate any
11 network latency to influxdb (which is somewhere in the cloud, and
12 latency can vary just enough to create empty vertical stripes in
13 graphs which is ugly and incorrect).
14