Module: flow

Periodically emit the flow rate and total quantity from the flow sensors.

The total quantity can be reset to zero at any time.

Every sensor has been calibrated individually. This results in each sensor storing the number of mL per pulse for each sensor.

Author:
  • Dave Leitch

Requires

  • module:brewdefs.js
  • module:brewlog.js
  • module:i2c.js
  • module:events

Classes

Flow

Members


<inner, constant> REPORT_PERIOD

Interval between flow events

Methods


<static> getStatus()

Fire the flowEvent to broadcast current status.

<static> reset()

Reset the current total flow volume

<static> stop()

Stop the flow service.