-
Notifications
You must be signed in to change notification settings - Fork 169
Extending CraftBeerPi
Lai1337 edited this page Jan 4, 2019
·
3 revisions
All plugins are in the folder /home/pi/craftbeerpi3/modules/plugins
.
Each folder is an own plugin.
If you like to create a new plugin just create a new folder under /home/pi/craftbeerp3/modules/plugins
Inside this folder create an new file called __init__.py
. This is the entry point for your code.
Inside of this file place your code.
Folder Structure
+-- craftbeerp3
| +-- modules
| +-- plugins
| +-- YourCustomPlugin <- Just create a new folder
| +-- __init__.py <- Your code goes here
| +-- ...
+-- ....
You can extend the following modules.
- Actors
- Sensors
- KettleController (Logics to control the Kettle Temperature)
- FermentationController (Logics to control the Fermentation Temperature)
- Steps
- Upload your init.py to your own GitHub repository.
- Create a README.md in your GitHub repository with a documentation for your plugin
- To publish your plugin write an email to [email protected] containing the following information (Your name, GitHub URL of your Plugin)