Skip to content

Commit

Permalink
Added psucontrol sub-plugin momentarygpio (#1247)
Browse files Browse the repository at this point in the history
Co-authored-by: jneilliii <[email protected]>
  • Loading branch information
irotsoma and jneilliii authored Dec 8, 2023
1 parent baa8069 commit c0f19de
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 0 deletions.
55 changes: 55 additions & 0 deletions _plugins/psucontrol_momentarygpio.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
---
layout: plugin

id: psucontrol_momentarygpio
title: OctoPrint-PSUControl-MomentaryGpio
description: A sub-plugin for PSUControl. Adds a momentary option to PSUControl power controls that sends a signal for a
brief time rather than continuous. Useful for bistable relays.
authors:
- Justin Zak
license: AGPLv3

date: 2023-12-07

homepage: https://github.com/irotsoma/OctoPrint-PSUControl-MomentaryGpio
source: https://github.com/irotsoma/OctoPrint-PSUControl-MomentaryGpio
archive: https://github.com/irotsoma/OctoPrint-PSUControl-MomentaryGpio/archive/master.zip

tags:
- relay
- bistable
- power
- psu
- control
- psucontrol
- psucontrol subplugin
- gpio

screenshots:
- url: /assets/img/plugins/psucontrol_momentarygpio/momentarygpio_screenshot.png
alt: plugin settings screenshot
caption: Settings screen for plugin
- url: /assets/img/plugins/psucontrol_momentarygpio/psucontrol_screenshot.png
alt: PSUControl settings plugin screenshot
caption: Settings screen for PSUControl plugin

featuredimage: /assets/img/plugins/psucontrol_momentarygpio/momentarygpio_screenshot.png
compatibility:
os:
- linux
python: ">=3,<4"

---

A sub-plugin for the PSUControl plugin that allows using bistable relays for power control. It implements
the same mechanisms as PSUControl, so it requires python periphery to be installed, only it pulls the GPIO
up/down only momentarily and then returns it to the default state.

### Instructions

- Set the PSUControl Switching Method to "Plugin" and select "PSUControl MomentaryGpio Plugin" from the dropdown

- Then in the PSUControl MomentaryGpio Plugin settings screen, set the appropriate GPIO Device, PIN, and pulse time in
milliseconds.

http://plugins.octoprint.org/plugin/psucontrol_momentarygpio/
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c0f19de

Please sign in to comment.