UnchartedBull / OctoDash

OctoDash is a simple, but beautiful dashboard for OctoPrint.
https://unchartedbull.github.io/OctoDash/index.html
Apache License 2.0
1.02k stars 226 forks source link

Toggle for Custom Actions #1014

Open ignis-draco opened 4 years ago

ignis-draco commented 4 years ago

Hi,

thanks in advance for your work.

It would be great if the custom actions also had a toggle function like "[!POWERTOGGLE]". I imagine it like this, that you give two commands and two colors and with one button you can do one or the other. You can see the state by the color.

So you could better switch LEDs with Octodash.

Greeting Arne

UnchartedBull commented 4 years ago

Won't be super easy, but I'll have a look at that. The two colours probably won't make it though, most likely it will be a stateless toggle or just be grey / defined colour.