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

Power off with delay #5

Closed
TheLion opened this issue Oct 8, 2018 · 6 comments
Closed

Power off with delay #5

TheLion opened this issue Oct 8, 2018 · 6 comments
Labels
enhancement New feature or request

Comments

@TheLion
Copy link

TheLion commented Oct 8, 2018

When I set the GCODE off delay for 300 seconds, it switches my switch (in my case my printer itself) in Domoticz off with the GCODE "M81 192.168.1.120 277" in the "After print job completes" GCODE script in Octoprint after 300 seconds like it should, but it even is switches off when I start a new printjob within those 5 minutes. Any way to counter that?

@jneilliii
Copy link
Owner

Currently no. Looks like I haven't integrated that option like I have in one of my other power control plugins. Let me see if I can find that from my other plugin and integrate those changes into this one. The setting that it will use is the Warn While Printing option. When that is enabled and the gcode command is sent it will check to see if the printer is in a printing state and if it is it will ignore the off command.

@jneilliii jneilliii added the enhancement New feature or request label Oct 8, 2018
@TheLion
Copy link
Author

TheLion commented Oct 8, 2018

That would be a great addition!!

@jneilliii
Copy link
Owner

I just pushed an update to a new branch that is under development. If you don't mind testing by installing using the url below in plugin manager that would be great. My initial tests seem to indicate it's working as expected.

https://github.com/jneilliii/OctoPrint-Domoticz/archive/0.0.3.zip

@TheLion
Copy link
Author

TheLion commented Oct 8, 2018

I'll test it after the current print. Currently running a 24+ hour print ;-)

@TheLion
Copy link
Author

TheLion commented Oct 30, 2018

Hi. Took some time to get back to you. Sorry about that.

It does work though.

@jneilliii
Copy link
Owner

Released version 0.0.3 that should resolve this request.

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

No branches or pull requests

2 participants