gigibu5 / OctoLight

24 stars 34 forks source link

Suggestion: Real-Time state of the light output and native support for physical button. #31

Open Wyzed17 opened 3 years ago

Wyzed17 commented 3 years ago

Hi there!

I found this plugin very handy, works just fine, pretty and simple. But however I think I've found an issue. I actually run some scripts to switch the light via GCODE, or in the Printoid App. I've noticed that when I switch the light by this ways, the icon in the navbar is not updated, so if you try to swicht it after this, it simply does nothing.

Not a big deal, you could just click once to "reach" the real state of the light, and then click once more to actually toggle it. But if this could be implemented I think it's a plus in the overall work of the plugin.

I've seen another guy posted a rework where he add support for a physical button via GPIO. That could be interesting to have natively. Sometimes I just want to switch it manually when I'm in front of the printer. I could use another plugin for that but... Maybe it's more convenient to have all the light features in the same plugin.

Cheers!