Open AndreySeleznov opened 3 years ago
Update. Btw I am on Win10. I discovered that USB Serial CH340 device settings by default had crappy 9600 bits per second. I changed it to maximum windows allows 128000. The issue almost disappeared. Now it happens very rarely.
I'm on Manjaro Linux. I had the same problem but setting baud rate to 115200 (stty -F /dev/ttyUSB0 115200) before starting prismatik didn't work. The turn off button just stop sending data, the leds never turn off. If I kill the application, the leds turn off. I have used Prismatik Psieg in the past (~half a year ago) and the button worked.
Edit: Do I have to open a new issue?
you can kinda workaround turnoff issue by setting up timeout on the microcontroller end, if no data received for X seconds - set leds to black, something like this sketch https://github.com/dmadison/Adalight-FastLED/blob/master/Arduino/LEDstream_FastLED/LEDstream_FastLED.ino#L221 (all credits to the original author)
This is to track the problem originally described in https://github.com/psieg/Lightpack/issues/178
taboo180 commented Hi psieg. Thanks so much for keeping this project alive. I just got my first LED set up and I was so pleased to see your last update was only a few weeks ago. I too am facing this same issue. If I turn off the lights rarely it's instant, most the time all the colours go away and they all default to a standard white, then, exactly 59-60 seconds later, they finally actually turn off. I have noticed that if I set the "overall brightness" to anything below 8% they all instantly turn off so I know it's possible, it just seems to be the "turn off command" takes a full minute to action. Which also means they stay on when I lock or shut down my computer for that time. The kit I have is a cheap Chinese one (that I'm 95% sure is arduino based). I am running "adalight" mode. 50ms grab interval. Win8 desktop duplication. No DX Hooking. Baud 115200 and RGB colour format.
AndreySeleznov commented I have the same setup and experience this issue as well. "adalight", 50ms, Win8 desktop duplication. No DX Hooking. Default 115200 baud, RGB color. Profiles do not seem to matter, happens with static, dynamic, capture profiles. Usually lights turn off fine when I recently turned off the lights but after some time instead of going off they go white. I discovered that more often than not, switching profile after that makes them turn off finally. Thanks for your efforts psieg! Hope you could look into this.