-
-
Notifications
You must be signed in to change notification settings - Fork 384
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alpha 9 - APA102 LED's still fail to clear properly #1132
Comments
i guess i hit the same problem, running a esp32 with WLED which works like a charm, but hyperion has problems talking to the LEDs |
Hi All, I think i have i similar, possible related issue to this. My issue manifests itself when the "LED Device" switch if togged off, The LEDs will stay on. Happy to supply logs if that will help troubleshooting this further |
@Joeboyc2 Yes, please. |
Hey @Lord-Grey ,
I have the logging set to Debug so I guess there isn't really an error happening as such. |
@Lord-Grey I am very sorry for becoming quiet on this issue, things have been busy. The problem still persists, I will do my best to document the steps that I am taking that lead to it below, along with some logs. Brief LED Hardware OverviewI have 2 Hyperion LED Instances The first is APA102 LED's wired to the Pi The second is a WLED over the LAN The steps below cause the same issue on both instances simultaneously, although it seems very occasionally the WLED strip will recover and return to the desired source successfully, however this is not very often at all. Steps To Reproduce:
I have noticed that at this point, if I resend the colour via JSON-RPC, the LEDs will update to show the colour - so the issue might be around reverting back to the previous source, rather than clearing the source? Maybe, maybe not. ##Logs:
##System Info:
|
@flexage Thank you very much for the detailed explanation and walkthrough of the error scenario. If you set a Color effect (via JSON or UI) , only one update is send to the LEDs. When you now stream via grabbing, the new feed of updates overwrite the color set before. Given that you are using APA102 hyperion's LED refresh feature kicks in (as these devices do not maintain a stable state). Hopefully this provides you at minimum a good understanding, why your LEDs show a stable state of the last update from your grabber rather than falling back to some state happening in the past.... |
@Lord-Grey Thank you for the detailed explanation of what is happening under the hood. I can follow what you are saying, and why this is happening. My only question is, is this desired behaviour? On the other side of it, after the information you have provided I think I can implement a workaround on my Home Automation platform to reissue the solid colour command after the grabber is disabled. So thank you again for taking a look into this. |
I would agree that the current presentation, showing a color in the source list and not getting back to it, is counter intuitive. |
@Lord-Grey @flexage |
@Paulchen-Panther Thanks for the Test. |
Hi Guys, I attempted to look through the code myself as i feel this might be something to do with the power off mechanism, but it really didn't find much :( |
@Paulchen-Panther thank you for investigating this issue against the file device, your findings confirmed the behaviour I was expecting to see, namely that when taking away a higher priority source, it will return to a lesser priority source, if one is active. @Lord-Grey Did your investigations around the Color Update and Device Latchtime reveal anything? Are there any steps I can take on my end to assist? |
Fixed by #1361 |
@Lord-Grey @Paulchen-Panther Thank you to all involved for the work on producing a fix for this issue 🎉 I have several Hyperion installations around my house, but it was only the installation on my main living room tv that had apa102's connected, and suffered from this issue. As the issue had taken quite some time to identify and resolve (Sept 2020 to Nov 2021) I had moved the main living room tv over to HyperHDR after not experiencing the same issue when testing with it. I somehow missed the release in November 2021, so was unaware that a fix had been released until having just seen a github notification about this months release. So I just wanted to apologise for being late in thanking you for the fix! I see the last 2 releases have been substantial ones - I am eager to test them out! Thanks again! 🙏 |
Bug report
I reported an issue previously during Alpha 8 about APA-102 LED's retaining what looked like their last frame when clearing an effect/colour/source (Issue #1007).
Sorry, it looks like I confirmed this as fixed to soon...
I ended up staying on Alpha 6 for a while as it was the most stable for me, but recently I have been trying Alpha 9.
I am still getting the last frame of the video effect/color/protobuffer output 'sticking' on my LED's when the source is cleared.
I checked the "Refresh Time" on the LED Device, as you mentioned on the old issue, and it was set to 5000 - must have been a default, potentially from a very old (pre-alpha) version, I had to enable expert settings to find it. I tried setting it to 0 but it didn't have an effect on the problem.
Steps to reproduce
See old issue #1007
What is expected?
See old issue #1007
What is actually happening?
See old issue #1007
System
The text was updated successfully, but these errors were encountered: