|
| 1 | +--- |
| 2 | +layout: plugin |
| 3 | + |
| 4 | +id: octorelay |
| 5 | +title: OctoRelay |
| 6 | +description: A plugin to control relays or other things on the GPIO pins of your raspberry pi. For example turn the power of printer, the light or a fan ON and OFF via the web interface. |
| 7 | + |
| 8 | +authors: |
| 9 | +- Boris Burgstaller |
| 10 | +license: AGPLv3 |
| 11 | + |
| 12 | +# today's date in format YYYY-MM-DD, e.g. |
| 13 | +date: 2021-03-13 |
| 14 | + |
| 15 | +homepage: https://github.com/borisbu/OctoRelay |
| 16 | +source: https://github.com/borisbu/OctoRelay |
| 17 | +archive: https://github.com/borisbu/OctoRelay/archive/master.zip |
| 18 | + |
| 19 | +# Set this to true if your plugin uses the dependency_links setup parameter to include |
| 20 | +# library versions not yet published on pypi. SHOULD ONLY BE USED IF THERE IS NO OTHER OPTION! |
| 21 | +#follow_dependency_links: false |
| 22 | + |
| 23 | +tags: |
| 24 | +- raspberry pi |
| 25 | +- GPIO |
| 26 | +- relay |
| 27 | +- power |
| 28 | +- switch |
| 29 | + |
| 30 | +screenshots: |
| 31 | +- url: /assets/img/plugins/octorelay/screenshot.png |
| 32 | + alt: navbar customization |
| 33 | + caption: navbar customization |
| 34 | +- url: /assets/img/plugins/octorelay/settings.png |
| 35 | + alt: settings |
| 36 | + caption: settings |
| 37 | + |
| 38 | +featuredimage: /assets/img/plugins/octorelay/screenshot.png |
| 39 | + |
| 40 | +# You only need the following if your plugin requires specific OctoPrint versions or |
| 41 | +# specific operating systems to function - you can safely remove the whole |
| 42 | +# "compatibility" block if this is not the case. |
| 43 | + |
| 44 | +compatibility: |
| 45 | + |
| 46 | + # List of compatible versions |
| 47 | + # |
| 48 | + # A single version number will be interpretated as a minimum version requirement, |
| 49 | + # e.g. "1.3.1" will show the plugin as compatible to OctoPrint versions 1.3.1 and up. |
| 50 | + # More sophisticated version requirements can be modelled too by using PEP440 |
| 51 | + # compatible version specifiers. |
| 52 | + # |
| 53 | + # You can also remove the whole "octoprint" block. Removing it will default to all |
| 54 | + # OctoPrint versions being supported. |
| 55 | + |
| 56 | + octoprint: |
| 57 | + - 1.3.0 |
| 58 | + |
| 59 | + # List of compatible operating systems |
| 60 | + # |
| 61 | + # Possible values: |
| 62 | + # |
| 63 | + # - windows |
| 64 | + # - linux |
| 65 | + # - macos |
| 66 | + # - freebsd |
| 67 | + # |
| 68 | + # There are also two OS groups defined that get expanded on usage: |
| 69 | + # |
| 70 | + # - posix: linux, macos and freebsd |
| 71 | + # - nix: linux and freebsd |
| 72 | + # |
| 73 | + # You can also remove the whole "os" block. Removing it will default to all |
| 74 | + # operating systems being supported. |
| 75 | + |
| 76 | + os: |
| 77 | + - linux |
| 78 | + |
| 79 | + # Compatible Python version |
| 80 | + # |
| 81 | + # Plugins should aim for compatibility for Python 2 and 3 for now, in which case the value should be ">=2.7,<4". |
| 82 | + # |
| 83 | + # Plugins that only wish to support Python 3 should set it to ">=3,<4". |
| 84 | + # |
| 85 | + # If your plugin only supports Python 2 (worst case, not recommended for newly developed plugins since Python 2 |
| 86 | + # is EOL), leave at ">=2.7,<3" |
| 87 | + |
| 88 | + python: ">=2.7,<4" |
| 89 | + |
| 90 | +--- |
| 91 | + |
| 92 | +A plugin that adds buttons to the navigation bar to toggle GPIO pins on the Raspberry Pi. |
| 93 | +I use it with a 4 relay board, and printed this case for it: https://www.thingiverse.com/thing:2975944 |
| 94 | + |
| 95 | +Just hooked up the GPIO pins with the relay board, and now I can turn the power of the printer, the fan and the light on and foo with OctoPrint. |
0 commit comments