Skip to main content

Using community plugins

The Pioreactor comes with a large set of functionality and behaviour to accomplish most projects. For example, continuous culturing, optical density reading, and stable temperatures are available out-of-the-box. However, the specifics and range of how people use bioreactors goes far beyond what we could ever cover. That's why Pioreactor has added a platform so that community members can make their own extensions and share them with others. We call these plugins. (Below is how to install plugins - if you are looking to create your own plugins, see here.)

Installing plugins

From your Pioreactor's interface, the "Plugins" button on the left navigation bar will display all your currently installed plugins, and some recommended plugins. We also encourage you to explore our forums for more plugins created by the community.

Plugin page in the Pioreactor UI. The page shows a list of plugins, with a description of the plugin under each one.

You can also use the "Install plugin by name" button in the top-right to install a plugin that is not featured on this page.

Plugin page in the Pioreactor UI. The "install plugin by name" is highlighted.

Automations installed via plugins

Some plugins add new automations to your Pioreactor. After installing, new dosing, LED, or temperature automations will be available in the list of automations available to you.

The UI of an automation installed via a plugin. The plugin is highlighted in the dropdown. The UI of an automation installed via a plugin, with the automation's settings displayed.

Activities installed via plugins

Some plugins add new activities to your Pioreactor. After installation, an activity's state and settings will show up on each Pioreactor's card. Below, we've installed the pioreactor-air-bubbler plugin:

The Pioreactor card with the newly installed activity displayed.

Managing on/off and settings are done just like any other job, in the Manage dialog:

The list of activities, that now includes the activity installed via a plugin (highlighted). The list of settings of activities, and specific settings for the new activity are highlighted.

Uninstalling plugins

You can uninstall plugins from the same page, too. These will remove the action on the Pioreactor's card, but won't delete the section in your config.ini. Also, if a SQL table was installed with the plugin, the table will not be deleted.

I don't have internet access - how can I install the plugin?

  1. First, get the latest .whl file here onto any computer that can SSH into the Pioreactor.
  2. To get this .whl file onto a Pioreactor, use either scp, WinSCP, or FileZilla. Note: if you upload the .whl file to your leader Pioreactor first, you can distribute the .whl file to all your workers with pios cp <location of .whl file>
  3. Once the .whl file is on the Pioreactor, use the following to install the plugin:
    pio plugin install <name-of-plugin> --source <location of .whl file>
    For example:
    pio plugins install pioreactor-air-bubbler --source ~/pioreactor_air_bubbler-0.3.1-py3-none-any.whl

Alternative: putting Python files in the the plugins folder

An alternative way to install a plugin is to place a Python file in the /home/pioreactor/.pioreactor/plugins directory on the Raspberry Pi. This is good for one-off scripts or plugins you are demoing or testing. See more about writing and distributing plugins.