Skip to content

v0.9.1

Choose a tag to compare

@mp-se mp-se released this 01 Nov 09:14
· 3 commits to main since this release

Ingest stores what a device sends

  • Numeric values are stored as received. There are no range checks and no clamps, before or
    after a unit conversion.
  • A request is rejected with 422 only when the body cannot be parsed, a required primary value
    is missing, a number is not finite, or a unit is not an allowed value. Unit letter case is
    ignored.
  • An absent pressure unit means kPa and an absent temperature unit means C.
  • An optional field the device did not send is stored empty instead of 0. Fields that are
    accepted but not stored are ignored whatever they contain.
  • Chamber readings no longer fail on a temperature, rssi or battery outside the manual-entry
    bounds.
  • The dispatch endpoint reads a bare temperature key as the beer temperature.

Devices

  • KegMon: a volume above the vessel's capacity raises the capacity to that volume. A negative
    volume or max volume is rejected with 422 and logged with the field name.
  • Battery voltage and battery percent are stored and shown separately; neither is calculated
    from the other.
  • KegMon: the beer lookup returns the name of the batch on the tap, not the name of the keg.
  • KegMon: a beer lookup with an unknown token is recorded in the ingestion log.

Pressure

  • Negative pressure readings are accepted (-3000 to 3000 in the device unit).
  • Pressure statistics no longer clip at the old seed values.

Web

  • Readings without a battery, angle, velocity or rssi show no value instead of zero: the
    battery chart skips them and the gravity and pressure lists show a dash.

Fixes

  • Gravity and pressure ingest no longer raises when a batch has a UUID id and a log line is
    written.