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 plugins install pioreactor-relay-plugin    # to install directly on the Pioreactor

# OR, on the leader's command line:

pios plugins install 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 Distribution

pioreactor_relay_plugin-0.7.1.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pioreactor_relay_plugin-0.7.1-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file pioreactor_relay_plugin-0.7.1.tar.gz.

File metadata

  • Download URL: pioreactor_relay_plugin-0.7.1.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.0rc2

File hashes

Hashes for pioreactor_relay_plugin-0.7.1.tar.gz
Algorithm Hash digest
SHA256 04ea33d9a48bd2a42ec0630b132d0863fabd6d2b779169ccef4e3cb74835f6b2
MD5 17d38808cc6605d60811e2a6d65a6b81
BLAKE2b-256 50daa759c005780cc83c8fdabb325251ea3acfb1b8aa63da0360c233868998b9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pioreactor_relay_plugin-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4c1ab830a4b7cf63fd22958a61ad13e48bad03a7ff37eddb61e8e2f657a70b88
MD5 2271353a015847770bb9ea30f9df36cb
BLAKE2b-256 7ba785e902a8f69de671cf20d929510a5d0fcc70c31d47a89c676ebe34341b34

See more details on using hashes here.

Supported by

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