1. 29 Apr, 2021 5 commits
  2. 28 Apr, 2021 5 commits
    • Käppler's avatar
      co2_sensor: Reset SCD30 after startup · 8d49d71c
      Käppler authored
      Sometimes after a hard reset of the ESP the SCD30
      needs a long time until returning the first measurement.
      Resetting it after startup seems to fix this behaviour.
      8d49d71c
    • Käppler's avatar
      co2_sensor: process only reliable measurements · 9362f3f3
      Käppler authored
      Log every measurement to the serial console, but
      return only true in `processData` (thus allowing
      further processing like CSV, MQTT, LORAWAN)
      if the data is reliable, i.e.
      
      * CO2 measurements have stabilized after startup
      * CO2 != 0
      * not preparing calibration (with reduced measurement
      timesteps)
      9362f3f3
    • Käppler's avatar
      co2_sensor: Add new state INVALID (co2<=0) · bc258937
      Käppler authored
      This state is showed with red waiting LEDs.
      Previously, the state 'BOOTUP' with blue
      waiting LEDs was used to show invalid measurements.
      
      Use blue waiting LEDs now only during sensor
      acclimatization.
      bc258937
    • Käppler's avatar
      co2_sensor: wait for acclimatization after startup · 14767d76
      Käppler authored
      The SCD30 sensor has a response time of 20 s to reach
      67 % of its final reading. The first measurement
      can thus be unreliable, if the environment changed
      shortly prior to startup. Set measurement interval to the
      shortest possible value (2 s) and wait then, until the
      measurements have stabilized. Show a blue led effect in
      the meanwhile.
      14767d76
    • Käppler's avatar
      co2_sensor: set measurement interval at last · 6ad8554c
      Käppler authored
      6ad8554c
  3. 25 Apr, 2021 4 commits
  4. 24 Apr, 2021 7 commits
  5. 23 Apr, 2021 11 commits
  6. 22 Apr, 2021 1 commit
  7. 21 Apr, 2021 3 commits
  8. 20 Apr, 2021 4 commits