Module: brewnode

Command line control of the brewery.
Author:
  • Dave Leitch

Requires

  • module:brewlog.js
  • module:brewmon.js
  • module:brewdefs.js
  • module:brewmail.js
  • module:brewdata.js
  • module:brewftp.js
  • module:tempController.js
  • module:timer.js
  • module:k2m.js
  • module:m2k.js
  • module:k2f.js
  • module:fill.js
  • module:fan.js
  • module:temp.js
  • module:pump.js
  • module:flow.js
  • module:valve.js
  • module:fan.js
  • module:weigh.js
  • module:wdog.js
  • module:i2c_mraa.js
  • module:delay.js
  • module:drain.js
  • module:clean.js
  • module:kettle.js
  • module:mashtun.js
  • module:fermenter.js
  • module:receirc.js
  • module:ferment.js

Methods


<inner> batchSparge(options)

1) Fill & heat sparge water 2) Transfer Wort to kettle 3) Heat again and transfer back to mash tun
Parameters:
Name Type Description
options brewOptions Description of the current brew.

<inner> boil(brewOptions)

Boil the kettle for desired time.
Parameters:
Name Type Description
brewOptions brewOptions Description of the current brew.

<inner> chill()

Transfer contents of Kettle to the fermenter while running cold water through the chiller.

<inner> cmd_ftp(filename)

Send brew data to my Wordpress site - brewnode.co.uk
Parameters:
Name Type Description
filename string

<inner> heatKettle(t, brewOptions)

Preheat the kettle to desired temperature.
Parameters:
Name Type Description
t number Desired temp.
brewOptions brewOptions Description of the current brew.

<inner> kettle2Fermenter()

Transfer contents of Kettle to the Fermenter

<inner> kettle2Mash(brewOptions)

Transfer contents of Kettle to the Mash Tun
Parameters:
Name Type Description
brewOptions brewOptions Description of the current brew.

<inner> mash2Kettle(brewOptions)

Transfer contents of the Mash Tun to the Kettle
Parameters:
Name Type Description
brewOptions brewOptions Description of the current brew.

<inner> pause(message, opt)

Send message to user then await on button press before proceeding.
Parameters:
Name Type Description
message String -
opt brewOptions Description of the current brew.

<inner> start(brewOptions)

Start entire system
Parameters:
Name Type Description
brewOptions brewOptions Description of the current brew.

<inner> waitOnButtonPress()

Pause the system until the button is pressed

Type Definitions


brewOptions

Brewing options
Type:
  • Object
Properties:
Name Type Description
filename string Name to use in logs
brewname string -
strikeLitres number Initial fill of kettle
strikeTemp number Liquor temp pre mash
sparge string "batch" or "none"
spargeLitres number Sparge water volume.
spargeTemp number Sparge water temperature.
mashMins number Duration of the mash
boilMins number Duration of the boil
fermentTempC number Temperature to maintain during fermentation
fermentDays number Duration of the fermentation
whirlpoolMins number delay post boil, pre chill.