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

Feature request: Automatic On/Off sensing #2

Open
LupoLoopy opened this issue Apr 8, 2022 · 1 comment
Open

Feature request: Automatic On/Off sensing #2

LupoLoopy opened this issue Apr 8, 2022 · 1 comment

Comments

@LupoLoopy
Copy link

Hi!

Great plugin - very intuitive and works as needed, bar automation.

In an ideal world, I'd love it if this plugin was capable of turning a relay off upon print completion.

Would be great if the backend of this was ported into a child plugin for PSU control, or alternatively the automation/running detection features from that plugin ported into your plug-in.

Couldn't think of a way to reach out better than GitHub. Feel free to close this issue post-haste if it's beyond your appetite for developing this tool further.

Thanks

@abudden
Copy link
Owner

abudden commented Apr 8, 2022

Hi Craig,

Thanks for the feedback.

It does indeed sound like a good idea that this would be done, but I think it's probably beyond my abilities (or possibly just beyond what I've got time to do). I don't really have a need for turning a relay off at the end of a print (I just use it to control some lights, which I turn on/off manually when I want to look in on a webcam). I originally used GCODE System Commands to run a command line script to turn stuff on / off, but I wanted to have a button in OctoApp and that meant it needed to be a plugin.

I'll leave this open in case anyone (e.g. you 😊) wants to contribute any code to add this capability; alternatively I'm happy to help talk through porting it into a new plugin if you want to have a go. This was my first (and, so far, last!) ever attempt at a plugin for OctoPrint and it was mostly just a mish-mash of the two projects linked at the bottom of the README. As such it may be easier to base a PSU control child plugin on those source projects rather than basing it on mine.

All the best,

Al

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants