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

Switching off LED #28

Closed
seppelicous opened this issue Apr 19, 2021 · 8 comments
Closed

Switching off LED #28

seppelicous opened this issue Apr 19, 2021 · 8 comments
Labels
request New feature or request solved Solved, but not yet released.
Milestone

Comments

@seppelicous
Copy link

How do I switch off the LEDs, eg end of print? Do I have to set brightness to 0 or what else?

@seppelicous seppelicous added the question Get support, ask questions label Apr 19, 2021
@cp2004
Copy link
Owner

cp2004 commented Apr 19, 2021

Currently, setting the print finished event to 0 brightness or solid colour black would achieve that. The way I managed this with WS281x LED Status was using @ commands so you could add them to gcode scripts etc. to control the lights on/off, this may come to this plugin at some point.

@cp2004
Copy link
Owner

cp2004 commented Apr 25, 2021

@seppelicous did the above answer make sense for you?

@cp2004 cp2004 added the awaiting information More information requested about the report label Apr 25, 2021
@Nawor3565
Copy link

Hi! I'm in the same boat, I would like to have the plugin make the LEDs flash for a couple seconds to alert me when a print is done, but not keep blinking perpetually. The ability to use g-code commands would be perfect for doing that (or just a checkbox option that turns off the LEDs a few seconds after the effect is triggered). Thanks!

@cp2004 cp2004 added this to the 0.2.0 milestone Apr 30, 2021
@cp2004 cp2004 removed the awaiting information More information requested about the report label May 3, 2021
@cp2004
Copy link
Owner

cp2004 commented May 15, 2021

In version 0.2.0 there will be two @ commands available:

Host @ commands can be used in GCODE scripts, custom controls or sent directly from the OctoPrint terminal to control OctoPrint. The WLED plugin reacts to commands that start with @WLED:

  • @WLED ON turns all the LEDs on
  • @WLED OFF turns all the LEDs off

These are not case sensitive.

@cp2004 cp2004 added request New feature or request solved Solved, but not yet released. and removed question Get support, ask questions labels May 15, 2021
@NovaViper
Copy link

I want to try this out for OctoDash!

@cp2004
Copy link
Owner

cp2004 commented May 20, 2021

@NovaViper I've tagged a development release as 0.2.0dev1

Install using the URL:

https://github.com/cp2004/OctoPrint-WLED/releases/download/0.2.0dev1/release.zip

Please don't report bugs with it, I'll publish a release candidate when it is ready. This is purely for experimentation, I still have known issues/not implemented things.

@cp2004
Copy link
Owner

cp2004 commented May 24, 2021

There's a release candidate available for 0.2.0rc1 if you want to give it a go. Feedback ticket #54.

@cp2004
Copy link
Owner

cp2004 commented May 29, 2021

0.2.0 has been released

@cp2004 cp2004 closed this as completed May 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
request New feature or request solved Solved, but not yet released.
Projects
None yet
Development

No branches or pull requests

4 participants