EricHigdon / OctoPrint-RGB_status

Adds RGB LED support to OctoPrint with the ability to choose effects based on the current status of your printer
33 stars 12 forks source link

Only 1st LED shows Print progress #12

Closed NeKoMuck closed 5 years ago

NeKoMuck commented 5 years ago

While using the Print Progress Function, only the first LED of my strip is changing the colour. All other 59 LED still using the base color.

All other Functions of the Plugin seems to be working.

EricHigdon commented 5 years ago

@nekomuck can you please share your OctoPrint.log file?

NeKoMuck commented 5 years ago

@EricHigdon Here it is...

octoprint.log

NeKoMuck commented 5 years ago

I'am using a WS2812B Stripe. LED type is set to WS2812, because there is no WS2812B option in your plugin. Maybe this is the problem ?

The octoprint.log seems to count more than the 60 LEDs, i have set. Is that correct ?

I have made a complete new installation of Octoprint and RGB Status, but the problem is still available.

EricHigdon commented 5 years ago

Ws2812 should be fine. If the other effects are working, that’s certainly not the problem.

I’d guess it’s a problem with my algorithm. You have 60 leds? What happens if you set the number of leds to 10 in the settings?

EricHigdon commented 5 years ago

I've confirmed that this is not working properly for larger numbers of LEDs.

NeKoMuck commented 5 years ago

Thank you for your Feedback. Good to know, its not my fault. I hope you will find the problem. I appreciate your plugin.

Using only 10 LED works perfect:

IMG-3218

IMG-3224

EricHigdon commented 5 years ago

This should be fixed with 7cfe918. Once I’ve done some more testing, I’ll release.

NeKoMuck commented 5 years ago

It would be great, when the LED turn off after a (self)defined time, when the Job has finished.

EricHigdon commented 5 years ago

@NeKoMuck when the print completes, the leds go back to the idle effect, so you could accomplish something like that by setting the idle effect to a solid color and the color to black.

NeKoMuck commented 5 years ago

I set the idle color to solid black, but the LED still shining green. I will try it again tomorrow.

idle effect color

EricHigdon commented 5 years ago

Fixed in 7cfe918

@NeKoMuck If you confirm that when your print is finished, the idle effect does not start, please open a new issue.