Comments (14)
@Gnizten that sounds a lot like a timing issue. Did you set the core frequency?
from octoprint-rgb_status.
I tried the new version too. Thank you a lot to put effort into this again @EricHigdon !
But it seems to me that he is playing the pattern and after playing it once, switching back to just white. I think this should be running in a loop.
Whats curious to me, that the WS2811_STRIP_GBR is preselected, whats fine. But it seems that there is no difference in selecting the WS2812_STRIP, what i think you fit the LEDs i'm using.
I also checked that the entry for the core_freq=250 in th /boot/config.txt exists, but seems to be fine for me.
edit
and some strange seem that the pi is playing an effect as soon as i open or close settings, with cancel or save makes no difference.
from octoprint-rgb_status.
@dexer12 Can you share your OctoPrint.log file?
from octoprint-rgb_status.
The hint with the core_freq was good. I took some research and it looks like the PI4 is ignoring this setting in the /boot/config.txt. Dont ask me why.
I found an issue somewhere else, where the core_freq was locked down to 250, because there was an entry in the /boot/config.txt called enable_uart=1 .
I now added this entry and the LEDs are working like expected. So i think, now the core_freq is really 250 because the activated uart forcing the PI to this.
I added the octoprint.log as txt file. Its just a new clean setup, with just rgbstatus plugin.
from octoprint-rgb_status.
@dexer12 oh. That sounds really familiar. Thanks for the info.
from octoprint-rgb_status.
I need to check this as soon as i get some time to. But is it really neccessary to set the core_freq?
As i played with plugin and the rpi_ws281x library the test script from the library seems to work fine, as i might know now, the core_freq=250 settings didn't do anything.
But i really need to check if it was working 100% or just run into the same issue.
Just trying to understand these things and behaviour.
from octoprint-rgb_status.
It is necessary to set the core frequency to 250MHz. Otherwise the timing is not consistent and you get things like the white flashing described here.
According to the UART docs, setting enable_uart_1 also sets core_freq=250. So if you did that, you don’t need the explicit core_freq setting.
from octoprint-rgb_status.
from octoprint-rgb_status.
from octoprint-rgb_status.
@Gnizten Awesome. Glad it's working out for you.
As for your performance question, the name core_freq
is a bit misleading. That setting is actually changing the GPU core frequency, not the CPU core frequency (which is set with arm_freq).
Changing the GPU frequency could affect the CPU performance because it also controls the memory bus, but the difference on the pi2 and up is minor.
That said, part of the pi4 upgrade was the better GPU and "4k Monitor Support" If you are trying to actually run octopi and high resolution graphics, you will probably have issues with setting your GPU core to half of the default of 500.
Now I just need to decide how to move forward. On the pi4, a core_freq value of 250 is ignored, because the only accepted options are 500 (default) or 600. The enable_uart=1 setting is a workaround, but I'm not sure I want to build that into the setup wizard since it is a bit hacky.
from octoprint-rgb_status.
I attempted the enable_uart fix and the LEDs did the rainbow startup a few times and then shut off. Without it they would do the same white flashing behavior. I do have the enclosure plugin installed before and I'm not sure if there's some dependency conflict that happens when enable_uart is configured. I noticed in the other issue you mentioned to run the setup wizard again but I'm not sure how to do that since there doesn't seem to be a web ui method to do it. Uninstalling the plugin and reinstalling did not yield any different results.
from octoprint-rgb_status.
@edsai Can you please share your OctoPrint.log?
from octoprint-rgb_status.
Sure. Here you go.
octoprint.log
from octoprint-rgb_status.
For some reason it's working now. I rebooted multiple times after making my settings changes to try to get it to work. I didn't do any updates but I was showing my daughter the other octoprint enclosure work I had done and all of the sudden the LEDs were working.
from octoprint-rgb_status.
Related Issues (20)
- Can't upgrade from 1.6.0 to 1.7.1 HOT 4
- Upgrading to v1.7.2 prevents Octoprint from loading HOT 1
- RGB_STATUS staying at 1.7.1 even though says update to 1.7.2 successfull HOT 7
- Not working on Pi4 HOT 4
- Installing anything/restarting Octoprint after plugin install causes Octoprint to not start up anymore, old issue still persists
- Forced to fill in details I don't know - Plugin install has broken my Octoprint! HOT 8
- (IDEA) Ability to Change "progress bar" animation HOT 5
- Look into ways to make the setup wizard less daunting
- If you hit the toggle on the navbar while printing and toggle the LEDs back on it reverts to idle HOT 2
- Support for SK6812 RGB-WW/CW
- Plugin entry under settings dissapeared
- #FeatureRequest - Timeout in Print Finished Effect Settings
- After first reboot, led is blinking/staying white HOT 1
- Plugin stuck in setup mode after upgrading OctoPrint to python 3 / group gpio for user pi not recognized HOT 8
- Integration for Home Assistant HOT 1
- Couldn't install it!
- Install is not working
- no problrm
- Installer stuck on adding PI to GPIO group. HOT 6
- Setup wizard on Pi4 stuck with set CPU freq after changing to 500
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from octoprint-rgb_status.