Skip to main content

Turn the PWM channels into a simple on/off relay for additional hardware.

Project description

Pioreactor relay plugin

This relay plugin allows the user to turn on or off any additional hardware piece on their Pioreactor at a specific channel (as stated in the Configuration).

Installation

Install from the Pioreactor plugins web interface or the command line:

pio install-plugin pioreactor-relay-plugin    # to install directly on the Pioreactor

# OR, on the leader's command line:

pios install-plugin pioreactor-relay-plugin   # to install on all Pioreactors in a cluster

Or install through the web interface (Plugins tab). This will install the plugin on all Pioreactors within the cluster.

(Optional) Edit the following to your config.ini, or in the Configurations tab on the web interface:

[PWM]
<the PWM channel you pick>=relay

[relay.config]
hz=100
post_delay_duration=0.2
pre_delay_duration=1.5
enable_dodging_od=1

Usage

Through the command line:

pio run relay

Through the UI:

Under Manage, there will be a new Activities option called Relay. Editable settings include an "on/off" switch to allow the plugin to be toggled while active.

Plugin documentation

Documentation for plugins can be found on the Pioreactor docs.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

pioreactor_relay_plugin-0.3.1-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file pioreactor_relay_plugin-0.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for pioreactor_relay_plugin-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 327f5b3c43b0c5c84908b76e57defdb931d63c29bccb75c1a7cffb46da70ac1f
MD5 3f4a8cafb757f8cb2db33075bb640b3e
BLAKE2b-256 f15e4e35b84edb624c687e24694433366d26616a0ddc6d3b122dda924e1b994f

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