Skip to main content

CraftBeerPi4 PID Kettle Control Plugin

Project description

Craftbeerpi4 Kettle Logic Plugin

PID Logic with boil threshold.

If the target Temperature is above a configurable threshold the PID will be ignored and heater is switched on to the max output value. This is helpful if you use the same kettle for mashing and boiling.

Once the boil threshold temperature is reached, the boil will be done with the max boil output power

Installation:

You can install it directly via pypi.org:

  • sudo pip3 install cbpi4-PIDBoil

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

Afterwards you will need to activate the plugin:

  • cbpi add cbpi4-PIDBoil

  • cbpi >= 4.0.0.45 from my fork is required. The setup will check, if this repo is installed

Parameters

PIDBoil Settings

  • P - proportional value
  • I - integral value
  • D - derivative value
  • SampleTime - 2 or 5 seconds -> how often the logic calculates the power setting
  • max output - heater power which is set above boil threshold
  • Boil Threshold - Above this temperature the heater will be set to Max Boil Output Power (default: 98°C / 208F)
  • Max Boil Output - Power (%) that is used above Boil Threshold Temperature (default: 100%)

Changelog

  • 01.12.21: (0.0.6) If current kettle power is different from kettle logic. logic will overrule kettle power setting
  • 21.11.21: (0.0.5) Adapted to cbpi4 4.0.0.45 to accomodate actor power settings incl. the PWM Actor.
  • 13.10.21: (0.0.4) Added Power setting for Boil
  • 13.10.21: (0.0.3) Improvement of actor toggling in case of 0% or 100% heating
  • 12.10.21: (0.0.2) Bug fixing MashStep Automode Issue
  • 19.08.21: (0.0.1) Initial commit

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-PIDBoil-0.0.6.tar.gz (182.7 kB view details)

Uploaded Source

File details

Details for the file cbpi4-PIDBoil-0.0.6.tar.gz.

File metadata

  • Download URL: cbpi4-PIDBoil-0.0.6.tar.gz
  • Upload date:
  • Size: 182.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.4.2 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

File hashes

Hashes for cbpi4-PIDBoil-0.0.6.tar.gz
Algorithm Hash digest
SHA256 e397206d727dca20ea555325873a80e8ab898462fd533e6069e99685867fa237
MD5 36ed76a9787066a2a28132d208de5fa0
BLAKE2b-256 f9299c88f7992437f5501160fd392c121ac1549669cc5f0cf3b81b7aae24af51

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