There are two pumps in the system. This module is used to switch them on and off. An event is emitted when the state of the pump changes.
Requires
- module:brewdefs
- module:brewlog
- module:i2c
- module:events
- module:promise
Classes
Members
OFF: number
inner
constant
I2C value used to switch OFF the pump.
ON: number
inner
constant
I2C value used to switch ON the pump.
Methods
getStatus()
static
Emit a pump event for all pumps.
Fires:
- event:pumpEvent
OFF: number inner constant
I2C value used to switch OFF the pump.
ON: number inner constant
I2C value used to switch ON the pump.