Skip to main content

CraftBeerPi4 PID Kettle Logic Plugin

Project description

CBPi4 Braumeister Smart Boil with Pump KettleLogic

This Kettle Logic can be used to run a Speidel Braumeister with CraftbeerPi4. It is based on this cbpi3 Plugin (https://github.com/cgspeck/cbpi-pidsmartboil-withpump)

Mash & Boil in single Kettle (e.g. Speidel Braumeister)

  • The Kettle logic is intended to be used in a single Kettle. It is a PID logic. PID parameters can be for instance derived from the PID AutoTune plugin (https://github.com/avollkopf/cbpi4-PIDAutoTune)
  • It runs on PID control until it reaches a specified temperature. Above that temperature it heats w/o PID logic until a specified boil temp is reached.
  • Power to run boil can be specified in the plugin
  • Pump Intervals cen be set to have a pump rest on specified intervals for a specified time (e.g. 60 seconds every 600 seconds which is a default for the Braumeister controller)

Installation:

You can install it directly via pypi.org:

  • sudo pip3 install cbpi4-BM-PID-SmartBoilWithPump

Alternatively you can install (or clone) it from the GIT Repo. In case of updates, you will find them here first:

Parameters:

Settings

  • Configurable:

    • P: Proportional - Takes current value into account
    • I: Integral - Takes past values into account
    • D: Derivative - Takes future values into account
    • SampleTime - 2 or 5 seconds -> how often the logic calculates the power setting
    • Max Pump Temp: Pump is switched off above this temperature and cannot be switched back on
    • Max Boil Output: Maximum Power during when Boil Temp is reached
    • Max Boil Temp: When Temp is reached, power is set to Max Boil Output
    • Max PID Temp: PID is switched off above this temperature
    • RestOnActiveTimer: Yes: Pump will rest only on active step timer. No: Pump rest is not dependent on mash steps
    • Rest Interval: Time interval in seconds after which Pump is switched off
    • Rest Time: Pump is switched off for specified time in seconds
  • Fixed in Code:

    • Max Output: Maximum Power (%) to be used for PID during Ramp up -> 100%

Changelog:

  • 26.05.24: (0.1.7) De(activation) of pump pause during active timer as Option. Automode will now also work w/o steps
  • 14.06.22: (0.1.6) Disable pump pause during temperature ramp -> pause will take effect only on active timer
  • 11.05.22: (0.1.5) Updated README (removed cbpi add)
  • 10.05.22: (0.1.4) removed cbpi dependency
  • 30.12.21: (0.1.3) Fixed 0 pump/rest time -> Pump will be switched on at start and off if temp is above control limit. But no pump pause is triggered
  • 01.12.21: (0.1.2) Added security feature: current kettle power is monitored continuously and overwritten in case it's different from the logic loop value
  • 21.11.21: Updated setup and Readme
  • 15.11.21: Adapted to cbpi 4.0.0.45 with actor power settings
  • 01.11.21: Merged Pull request from madhatguy and fixed some bugs
  • 15.03.21: Support for cbpi >= 4.0.0.32
  • 31.10.21: Changed logic to coroutines

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cbpi4-BM_PID_SmartBoilWithPump-0.1.7.tar.gz (18.4 kB view details)

Uploaded Source

File details

Details for the file cbpi4-BM_PID_SmartBoilWithPump-0.1.7.tar.gz.

File metadata

File hashes

Hashes for cbpi4-BM_PID_SmartBoilWithPump-0.1.7.tar.gz
Algorithm Hash digest
SHA256 2ba57e768f0e4b2955ab5ce23fdf426b8e39f18238f2e67d5c2da7ec3c9393c8
MD5 33a3bf1a6864b1104f16925abb51119f
BLAKE2b-256 83c2e9a171faf8c4c74a81bcfd15cf5c4a5f5163a19194d31be57efe741dc71d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page