BrewPiLess for Glycol

BrewPi is derived from BrewPi v0.2.x, which is designed for fermentation chambers made by fridges. The latest BrewPi v0.4.x has evolved to be a general temperature control unit. The code is very different from v0.2.x, and porting v0.4.x might not be an easy job. Instead, I implemented two main features that might make glycol possible: fallback sensor and adjustable minimum time.

In addition to using binary for glycol or building with “EnableGlycolSupport” defined, there are setups and settings that must be tweaked.

Setup

  • Don’t use Fridge Sensor. The “fallback” feature will use the reading from Beer Sensor as Fridge reading.
  • (optional) Use second sensor as Room Sensor to monitor glycol temperature.
  • Beer Constant or Beer Profile mode is preferred.

Settings

  • minimum times: including minCoolTimeminCoolIdleTimeminHeatTimeminHeatIdleTime,and deadTime
    All except deadTime are self-explanatory. deadTime defines the minimum idle time between heating and cooling, and the waiting time at power-up. 10 seconds seems to be good for all of the values.
  • idleRangeHidleRangeL
    The values define the temperature range to stay in idle. That is, no action will be performed if the fridge temperature(from Beer Sensor) stays in this range. The default values are 1.0, so it will start cooling when the temperature reaches 21 degree if the set temperature is 20.
  • maxHeatTimeForEst & maxCoolTimeForEst
    After cooling or heating, the algorithm expects the temperature to go lower or higher. Usually the temperature won’t go too far in glycol setup. Therefore, set a smaller value for these two, so that it won’t wait too long for detecting peaks.
  • PID settings. Kp, Ki, Kd
    If all of them are set to zero, the FridgeSet will be equal to BeerSet.
  • (optional) filter settings: fridgeFastFilt, fridgeSlowFilt, fridgeSlopeFilt, beerFastFilt, beerSlowFilt, beerSlopeFilt
    Even the data is from the same sensor, the temperature readings of beer and fridge sometimes differ. It is because that they use different filters. The temperature of fridge is volatile, while the beer temperature changes slowly. If you want them to be strictly the same, the filter parameters should be set to same same.

After setting, you can use “c” (single lower case c) to read back the setting for verification.

My testing

This is my initial test by filling 6 gallons of water in my newly purchased Spike CF10 with coil.

glycol

My test was conducted with a cooler with frozen PET bottles. The room temperature is  the temperature of water in the cooler.

I set all minimum times to 10 seconds, idleRangeH to 0.1. maxCoolTimeForEst to 30 seconds. PID parameters are left untouched. The result seems acceptable except that more PET bottles (or, a glycol chiller) are needed.

10 thoughts on “BrewPiLess for Glycol

  1. Hello Vito.

    My name’s Daniel and I live in Brasil. I’m testing Brewpiless V2.3.2 and interacting with iSpindel-BPL.5.12. Until now i’m doing some tests to simulate the main functions. iSpindel is assembled on the PCB (not yet into the big tubo) and Brewpiless with two sensors not instaled in my fridge…the system ready all data (beer temp., chamber temp, Sg)…so, the interaction with my PC and Ipad is OK!!! but, the registration of the datas finish after round 4 hours (the graph). e.g: System started at 2:00pm, all data is being recorded (two relays acting as configured). Around 6:00pm, the registration (graph) disappear from 2:00pm at around 6:00pm, but the system continue run, acting the relays and reading sensors….let me know if I need configurate something!!

    best regards,
    Daniel

  2. I don’t really understand your issue.
    If you don’t start “logging”, the log is not saved, and only a short period of logs are saved in the memory temporarily.

  3. Hello Vito
    I have a similar problem with Daniel. When I turn on logging, then after about 6-10 hours the graph stops displaying and data on virtual LCD is also not displayed. The controller itself operates, regulates the temperature and sends data to the Ubidots. Solves the problem rebooting the Brewpiless or reconnecting to the wi-fi. Installed 3 temperature sensors and iSpindel

  4. What do you mean by “LCD is also not displayed”?
    Did you reload the page?

    It is difficult to know what happened by your description. It is difficult to debug this issue given so many variables about the network environment, operating system, brewers, and etc.

  5. On lcd the following inscriptions
    “Failed toconnect to Server”
    “Controller not updating data”
    Reloading the page does not help

Leave a Reply

Your email address will not be published. Required fields are marked *