Giter Site home page Giter Site logo

Comments (26)

marrobHD avatar marrobHD commented on July 30, 2024 1

It is now working. I had to remove PSU control...

from octoprint-rgb_status.

EricHigdon avatar EricHigdon commented on July 30, 2024

@marrodHD can you share your octoprint.log? That should give me some insight into the cause of the issue.

from octoprint-rgb_status.

marrobHD avatar marrobHD commented on July 30, 2024

There I have pasted the log: https://jpst.it/1DwHR

from octoprint-rgb_status.

EricHigdon avatar EricHigdon commented on July 30, 2024

2019-03-10 17:57:14,555 - octoprint.plugins.rgb_status - ERROR - ws2811_init failed with code -11 (Selected GPIO not possible)

Seems relevant. What do you have the LED Pin setting set to?

from octoprint-rgb_status.

marrobHD avatar marrobHD commented on July 30, 2024

GPIO 13

from octoprint-rgb_status.

marrobHD avatar marrobHD commented on July 30, 2024

That are my settings:
Screenshot_8

from octoprint-rgb_status.

EricHigdon avatar EricHigdon commented on July 30, 2024

@marrobHD Try setting LED channel to 1 and restarting

from octoprint-rgb_status.

marrobHD avatar marrobHD commented on July 30, 2024

I have that before it won't work. Now the LEDs won't work like before.

from octoprint-rgb_status.

EricHigdon avatar EricHigdon commented on July 30, 2024

Are you running OctoPrint as root?
And is there a reason you don’t want to use pin 10?

from octoprint-rgb_status.

marrobHD avatar marrobHD commented on July 30, 2024

I have installed octoprint on the sdcard directly. I have used the octoprint image.

from octoprint-rgb_status.

marrobHD avatar marrobHD commented on July 30, 2024

I think that it is root right? I can use pin 10.

from octoprint-rgb_status.

EricHigdon avatar EricHigdon commented on July 30, 2024

OctoPrint does not run as root by default, and it is not recommended that you do so. If you have no other reason to use a different pin, I highly suggest sticking to 10.

from octoprint-rgb_status.

marrobHD avatar marrobHD commented on July 30, 2024

How can I run octoprint as root. How can I change that in the image that at boot octoprint automatically boot with root. Why then do not the LEDs work on the other?

from octoprint-rgb_status.

marrobHD avatar marrobHD commented on July 30, 2024

from octoprint-rgb_status.

EricHigdon avatar EricHigdon commented on July 30, 2024

@marrobHD You probably shouldn't try to run OctoPrint as root (see here).

In the image you attached, 13 would be the 4th pin from the bottom in the left column as we are looking at the BCM number.

I highly suggest switching to pin 10 since you wouldn't need to run as root. If pin 10 isn't working, make sure that you add the pi user to the gpio group, and enable SPI (see here).

You also may need to change your buffer size and core frequency (see here).

If it still isn't working after following those steps, please share your octoprint.log again after rebooting.

I'm working on adding a wizard to walk new users through this stuff since it can be complicated.

from octoprint-rgb_status.

marrobHD avatar marrobHD commented on July 30, 2024

MOSI is pin 10 right?

from octoprint-rgb_status.

EricHigdon avatar EricHigdon commented on July 30, 2024

@marrobHD Yes.

from octoprint-rgb_status.

cryoplay avatar cryoplay commented on July 30, 2024

Hello there.

I have the same Problem.
Hocked up my Strip to Pin 10.
Nothing Happens. Process turns on without a Problem but i had no light.

https://justpaste.it/6wnmc

from octoprint-rgb_status.

EricHigdon avatar EricHigdon commented on July 30, 2024

@cryoplay From your log, it looks like everything is actually working on the software side. Do you have your LEDs attached to pin 10 and the ground pin on the pi?

from octoprint-rgb_status.

marrobHD avatar marrobHD commented on July 30, 2024

It's not working

from octoprint-rgb_status.

cryoplay avatar cryoplay commented on July 30, 2024

Hi Eric.

My Problem is gone.
I forgot to hook the Strip to the ground of the Pi.
Sry. im really dump.

Now all is working perfectly.

from octoprint-rgb_status.

EricHigdon avatar EricHigdon commented on July 30, 2024

@marrobHD can you share your OctoPrint.log again?

from octoprint-rgb_status.

marrobHD avatar marrobHD commented on July 30, 2024

Here is my log: https://jpst.it/1DHLe

from octoprint-rgb_status.

EricHigdon avatar EricHigdon commented on July 30, 2024

@marrobHD It still says the "Selected GPIO not possible" are you sure you changed it to pin 10 in the settings and restarted?

from octoprint-rgb_status.

marrobHD avatar marrobHD commented on July 30, 2024

Yes http://prntscr.com/mwy5qv

from octoprint-rgb_status.

EricHigdon avatar EricHigdon commented on July 30, 2024

Is the spidev device visible on your machine?
Check using:
ls /dev/spidev0.*

from octoprint-rgb_status.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.