Skip to content
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

Only uses the first four LEDs #65

Open
SenneDeVocht opened this issue May 29, 2019 · 12 comments
Open

Only uses the first four LEDs #65

SenneDeVocht opened this issue May 29, 2019 · 12 comments

Comments

@SenneDeVocht
Copy link

SenneDeVocht commented May 29, 2019

I think every function in the app works, but only with the first four LEDs. Sometimes even just the first two! This is a bit of a problem, because my ledstrip is 120 LEDs long... I'm using a WS2812B ledstrip and the LED SPI Controller.

If someone knows what I'm doing wrong, please tell me.

@toshibochan
Copy link

This homebridge is not for addressable led controller

@Zacknetic
Copy link

How you even got this working for 4 WS2812B LEDs with this plugin is amazing.

@toshibochan
Copy link

Of 120 led in one strip only 4 turn on?

@SenneDeVocht
Copy link
Author

I'm so sorry. I just noticed this isn't the github of the magichome app... I was just browsing for my problem and came across this.

If anyone is still able to help me, you may totally do that.

@Zacknetic
Copy link

I’ll bite. Again this has nothing to do with homebridge-magichome. Keep this in mind.

What LED controller are you using?
How are you connecting your led strip to this controller?
Which specific software are you using?

Please be specific. We’ll get it figured out tho.

@SenneDeVocht
Copy link
Author

Sorry for the late reply (my email doesn't work correctly). I'm using this controller:
https://www.applamp.nl/led-spi-wifi-controller-magic-home-voor-2812-en-28.html
This app:
https://play.google.com/store/apps/details?id=com.zengge.wifi
And these LEDs:
https://www.applamp.nl/dream-color-ws-2812-rgb-digital-led-strip-5-meter.html

The connection is just a little connector that is the same on the controller and the LEDs.

If you don't know what's causing this, don't worry, this is the wrong GitHub after all.

@Zacknetic
Copy link

Zacknetic commented Jun 13, 2019

I didn’t realize magichome made controllers for individually addressable LEDs. Cool.

While I can’t help you specifically with this one problem I’ll give you some points to troubleshoot.

1.) Look in the settings of your app for adjusting the number of LEDs attached. Unlike normal LED controllers, individually addressable controllers must know ahead of time how many LEDs there are ahead of time. Look for a setting that says “number of LEDs”.

2.) You might have received the wrong type of LEDs / controller. Ensure you received what you purchased and both the controller and the strip use the same technology. I.e. WS2812. Maybe they sent you a WS2811 strip by accident.

3.) If that doesn’t work, you may need to snip the strip. The first segment might have been damaged somehow. Only do so in a designated cutting zone. You’ll see copper pads exposed with a line down the middle.

Good luck and post back with results.

@SenneDeVocht
Copy link
Author

  1. Settings were set correctly (120 LEDs)
  2. LEDs are ws2812b, controller should work for both ws2812 and ws2812b
  3. I'm guessing I have to do this if there's a bad contact, but the LEDs work perfectly with an Arduino.

Something I think I didn't tell yet: most of the times it's just the first two LEDs working, but sometimes more. It's kinda random.

@Zacknetic
Copy link

Wait wait wait. Set the led size to 5 and see what happens.

@SenneDeVocht
Copy link
Author

When I plug the ledstrip in, all leds flash, then just two stay on. When the colors update, there's a small chance four LEDs go on, but when it updates again, only the first two change.

Basically the same as before, but first there was a very small change six LEDs go on, which now doesn't happen anymore because the size is set to 5.

@SenneDeVocht
Copy link
Author

Again, I really don't want to annoy anyone with this. If it doesn't work, it doesn't work and I'll just try to make something with my esp2866.

@Zacknetic
Copy link

My thinking is that while you have 120 LEDs they might be only connected to 1 controller per say... 3 LEDs. So in the settings you’d only list 40 LEDs.

But yeah. Sounds borked

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants