Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added psucontrol sub-plugin momentarygpio #1247

Merged
merged 2 commits into from
Dec 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Loading