Closed IzK666 closed 3 years ago
If you shutdown octoprint while the printer is idle with the lights out, the startup effect don't show up.
This is working as intended - the lights status (on/off) is persisted across restart of OctoPrint. The change here is working around this, for a specific effect, and is doing the opposite by just always enabling the lights.
It enables the lights only if the idle setting is on, not always. Otherwise, the startup effect don't run
Yes but this is still counter-intuitive, and the plugin is working as intended. If you turn the lights on again after server startup, you find the startup effect.
If you are making this change because you want the lights to turn back on when you restart OctoPrint, then instead there should be a setting for 'save lights on/off state across restarts' that you can disable. Not bypassing this feature.
If you shutdown octoprint while the printer is idle with the lights out, the startup effect don't show up. Before adding this effect I would recommend to add some single run effects that don't repeat unendless.