Cannot connect my Allpixel

I simply exchanged the StripChannelTest with PixelPingPong… :slight_smile:

import bibliopixel

causes frame timing information to be output

bibliopixel.log.setLogLevel(bibliopixel.log.FRAME)

from bibliopixel.drivers import ChannelOrder

from bibliopixel.drivers.serial import *

Load driver for the AllPixel

from bibliopixel.drivers.serial import *

set number of pixels & LED type here

driver = Serial(num = 5, ledtype = LEDTYPE.WS2812B, c_order = ChannelOrder.RGB)

load the LEDStrip class

from bibliopixel.layout import *

led = Strip(driver)

from PixelPingPong import PixelPingPong

anim = PixelPingPong(led, max_led=30, color=(0, 0, 255), additional_pixels=5, fade_delay=2)

load channel test animation

#from bibliopixel.animation import StripChannelTest

#anim = StripChannelTest(led)

try:

run the animation

anim.run()

except KeyboardInterrupt:

Ctrl+C will exit the animation and turn the LEDs offs

led.all_off()

led.update()

···

Am Donnerstag, 21. Februar 2019 13:00:59 UTC+1 schrieb Adam Haile:

Can you send the actual file you are trying to run? I need more context.

On Thu, Feb 21, 2019 at 3:52 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Hi Adam,

You were right. All of my LEDs were broken. Probably because I had them connected to a bench power supply.

I have ordered new WS2812s and now the StripChannelTest is working.

Now if I want to run e.g. PixelPingPong instead I get this:

ImportError: cannot import name ‘Layout’ from 'bibliopixel.layout.layout’

So far I found that StripChannelTest is defined in the init and within tests.py

Do you please have a hint for me??? :slight_smile:

BR, Fabian

Am Freitag, 8. Februar 2019 19:05:24 UTC+1 schrieb Adam Haile:

c_order = ChannelOrder.RBG goes in the Serial() init, not in setLogLevel

On Fri, Feb 8, 2019 at 11:34 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Now I may have found something: With one LED connected I get bright green light.
But when I want to change the color via the suggested command: c_order = ChannelOrder.RBG it does not recognize this command:

Traceback (most recent call last):

File “”, line 1, in

File “C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.4\helpers\pydev_pydev_bundle\pydev_umd.py”, line 197, in runfile

pydev_imports.execfile(filename, global_vars, local_vars) # execute the script

File “C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.4\helpers\pydev_pydev_imps_pydev_execfile.py”, line 18, in execfile

exec(compile(contents+"\n", file, ‘exec’), glob, loc)

File “C:/Users/f.reingruber/PycharmProjects/Rainbow reloaded/Test.py”, line 3

bibliopixel.log.setLogLevel(bibliopixel.log.FRAME c_order = ChannelOrder.RBG)

^

SyntaxError: invalid syntax

Am Freitag, 8. Februar 2019 16:54:32 UTC+1 schrieb Fabian Reingruber:

I will try some other LEDs and let you know. Thank you so much for your great support! Fabian

Am Freitag, 8. Februar 2019 16:31:37 UTC+1 schrieb Adam Haile:

I’m stumped then. Most likely faulty LED. Have you tried connecting to a different LED in the chain? Those WS2812B LEDs are terrible about dying randomly

On Fri, Feb 8, 2019 at 10:28 AM Fabian Reingruber fs.rei...@gmail.com wrote:

All right :slight_smile: Yes I already did that!
So I did check V+ and GND connection in between the Capacitor and the LEDs.

DATA connection also looks good.

Am Freitag, 8. Februar 2019 16:07:47 UTC+1 schrieb Adam Haile:

Do you have a multimeter? Usually aside from voltage and current they have a continuity mode. It beeps when there’s a connection between the two probes.

On Fri, Feb 8, 2019 at 10:06 AM Fabian Reingruber fs.rei...@gmail.com wrote:

I … do not know how to do that :slight_smile:

Am Freitag, 8. Februar 2019 15:56:38 UTC+1 schrieb Adam Haile:

Are you able to confirm continuity between the AllPixel and the LEDs?

On Fri, Feb 8, 2019 at 9:54 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Hm… The solder connection seems to be fine … I connected one LED only, eleiminating the risk that the LEDs are the problem… same result

WARNING - deprecated - util.setLogLevel

WARNING - deprecated - BaseAnimation.run

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

DEBUG - animation_threading - Animation starts on main thread

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update:

Am Freitag, 8. Februar 2019 15:35:41 UTC+1 schrieb Adam Haile:

Oh… original AllPixel. Cool.
My only guess is that the data signal isn’t making it to the LEDs. I’d try disconnecting and redoing the connections. And then check that you have continuity between data on the AP and data on the first LED.

On Fri, Feb 8, 2019 at 9:30 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Yes of course!
These are type WS2812B. I have connected 46 breakout boards is a circle shaped row.

Connecting to power only, some of the LED light up in a random color.

import bibliopixel
# causes frame timing information to be output
bibliopixel.log.setLogLevel(bibliopixel.log.FRAME)

# Load driver for the AllPixel
from bibliopixel.drivers.serial import *
# set number of pixels & LED type here
driver = Serial(num = 10, ledtype = LEDTYPE.WS2812B)

# load the LEDStrip class
from bibliopixel.layout import *
led = Strip(driver)

# load channel test animation
from bibliopixel.animation import StripChannelTest
anim = StripChannelTest(led)

try:
    # run the animation
    anim.run()
except KeyboardInterrupt:
    # Ctrl+C will exit the animation and turn the LEDs offs
    led.all_off()
    led.update()

Am Freitag, 8. Februar 2019 15:20:11 UTC+1 schrieb Adam Haile:

So, yeah. You’re connecting fine. Just no output on the LEDs. What type of LEDs are you using? Did you set the correct type in the strip example script?
Can you send a picture of your LED connection to the AllPixel?

On Fri, Feb 8, 2019 at 9:05 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Ok!
I had to restart again as it seems to randomly loose connection:

WARNING - deprecated - util.setLogLevel

WARNING - deprecated - BaseAnimation.run

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

DEBUG - animation_threading - Animation starts on main thread

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

Am Freitag, 8. Februar 2019 14:38:05 UTC+1 schrieb Adam Haile:

So that shows me that it is connecting and you just aren’t getting any output on the strip.
Can you change this line:

bibliopixel.log.setLogLevel(bibliopixel.log.DEBUG)

to this:

bibliopixel.log.setLogLevel(bibliopixel.log.FRAME)

And then send me the console output you get?

On Fri, Feb 8, 2019 at 8:34 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Yes I had it up and running but this is a while ago already.
I have justv restarted everything and I am back at the previous error message:

WARNING - deprecated - util.setLogLevel

WARNING - deprecated - BaseAnimation.run

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

DEBUG - animation_threading - Animation starts on main thread

Am Freitag, 8. Februar 2019 13:31:30 UTC+1 schrieb Fabian Reingruber:

Here is the pip list:

Package Version


beautifulsoup4 4.7.1

BiblioPixel 3.4.44

BiblioPixelAnimations 3.20181225.205034

BiblioPixelTriggers 1.0.2

certifi 2018.11.29

chardet 3.0.4

Click 7.0

croniter 0.3.27

Flask 1.0.2

gitdb2 2.0.5

GitPython 2.1.11

idna 2.8

itsdangerous 1.1.0

Jinja2 2.10

loady 1.8.10

MarkupSafe 1.1.0

numpy 1.16.1

pip 19.0.1

pyserial 3.4

python-dateutil 2.8.0

PyYAML 3.13

requests 2.21.0

setuptools 40.6.2

six 1.12.0

smmap2 2.0.5

soupsieve 1.7.3

urllib3 1.24.1

Werkzeug 0.14.1

wheel 0.32.3

Am Freitag, 8. Februar 2019 13:22:17 UTC+1 schrieb Fabian Reingruber:

Hey Adam,

I am trying to reactivate my Allpixel.

Running your Strip Example I get the following response:

WARNING - deprecated - util.setLogLevel

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

WARNING - deprecated - BaseAnimation.run

DEBUG - animation_threading - Animation starts on main thread

Can you please help??

BR, Fabian


Adam:

BTW… support requests should go here -> https://groups.google.com/forum/#!forum/maniacal-labs-users

Was there any more to the console output? That looks like it connected… there’s no error. It found the device ID and Version (0 and 0 are correct for a new device). Are you just not getting any output on the LEDs?

What version of bibliopixel are you running? Please send the output of pip list


Thank you for the fast response!

I am a noob in programming so I try different approaches for hours now.

Bibliopixel is the latest version 3.4.44

The Allpixel is connected to COM3.

Right now I get this response in Pycharm:

WARNING - deprecated - util.setLogLevel

DEBUG - devices - Error getting device_id for COM3, 921600

ERROR - driver - Traceback (most recent call last):

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\driver.py”, line 87, in _connect

self.devices.find_serial_devices()

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\devices.py”, line 51, in find_serial_devices

id = self.get_device_id(port)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\devices.py”, line 126, in get_device_id

com, code, ok = io.send_packet(CMDTYPE.GETID, 0, dev, self.baudrate, 5)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\io.py”, line 11, in send_packet

com = serial.Serial(dev, baudrate=baudrate, timeout=timeout)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialwin32.py”, line 31, in init

super(Serial, self).init(*args, **kwargs)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialutil.py”, line 240, in init

self.open()

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialwin32.py”, line 62, in open

raise SerialException(“could not open port {!r}: {!r}”.format(self.portstr, ctypes.WinError()))

serial.serialutil.SerialException: could not open port ‘COM3’: FileNotFoundError(2, ‘Das System kann die angegebene Datei nicht finden.’, None, 2)

ERROR - driver - Unable to connect to the device. Please check that it is connected and the correct port is selected.

Traceback (most recent call last):

File “”, line 1, in

File “C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.4\helpers\pydev_pydev_bundle\pydev_umd.py”, line 197, in runfile

pydev_imports.execfile(filename, global_vars, local_vars) # execute the script

File “C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.4\helpers\pydev_pydev_imps_pydev_execfile.py”, line 18, in execfile

exec(compile(contents+"\n", file, ‘exec’), glob, loc)

File “C:/Users/f.reingruber/PycharmProjects/Rainbow reloaded/Test.py”, line 8, in

driver = Serial(num = 10, ledtype = LEDTYPE.WS2812B)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\driver.py”, line 62, in init

resp = self._connect()

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\driver.py”, line 129, in _connect

raise e

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\driver.py”, line 87, in _connect

self.devices.find_serial_devices()

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\devices.py”, line 51, in find_serial_devices

id = self.get_device_id(port)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\devices.py”, line 126, in get_device_id

com, code, ok = io.send_packet(CMDTYPE.GETID, 0, dev, self.baudrate, 5)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\io.py”, line 11, in send_packet

com = serial.Serial(dev, baudrate=baudrate, timeout=timeout)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialwin32.py”, line 31, in init

super(Serial, self).init(*args, **kwargs)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialutil.py”, line 240, in init

self.open()

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialwin32.py”, line 62, in open

raise SerialException(“could not open port {!r}: {!r}”.format(self.portstr, ctypes.WinError()))

serial.serialutil.SerialException: could not open port ‘COM3’: FileNotFoundError(2, ‘Das System kann die angegebene Datei nicht finden.’, None, 2)

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/a58dcdb1-c681-48fd-bcda-b0d14697e88a%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/9a08b045-4eed-4628-bba8-3e030bee4a07%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/39883aa6-e359-4704-9c48-9f3e417678a8%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/423d8163-92fb-4ec0-a1f7-a6272d651221%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/85699361-38cf-4b90-896f-1f6a4eb833da%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/150a3212-4244-438c-99ad-1949b3cc3b8b%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/eca88f4c-d457-40d1-9bb5-b891fa85b913%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/1bb659dc-8934-4cdc-9612-4565a2f5587a%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

If should be from BiblioPixelAnimations.strip.PixelPingPong import PixelPingPong

Though not sure if that’s the full reason for the error.
Can you give me the exact command you are using to run your script?

···

On Thu, Feb 21, 2019 at 8:53 AM Fabian Reingruber fs.reingruber@gmail.com wrote:

I simply exchanged the StripChannelTest with PixelPingPong… :slight_smile:

import bibliopixel

causes frame timing information to be output

bibliopixel.log.setLogLevel(bibliopixel.log.FRAME)

from bibliopixel.drivers import ChannelOrder

from bibliopixel.drivers.serial import *

Load driver for the AllPixel

from bibliopixel.drivers.serial import *

set number of pixels & LED type here

driver = Serial(num = 5, ledtype = LEDTYPE.WS2812B, c_order = ChannelOrder.RGB)

load the LEDStrip class

from bibliopixel.layout import *

led = Strip(driver)

from PixelPingPong import PixelPingPong

anim = PixelPingPong(led, max_led=30, color=(0, 0, 255), additional_pixels=5, fade_delay=2)

load channel test animation

#from bibliopixel.animation import StripChannelTest

#anim = StripChannelTest(led)

try:

run the animation

anim.run()

except KeyboardInterrupt:

Ctrl+C will exit the animation and turn the LEDs offs

led.all_off()

led.update()

Am Donnerstag, 21. Februar 2019 13:00:59 UTC+1 schrieb Adam Haile:

Can you send the actual file you are trying to run? I need more context.

On Thu, Feb 21, 2019 at 3:52 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Hi Adam,

You were right. All of my LEDs were broken. Probably because I had them connected to a bench power supply.

I have ordered new WS2812s and now the StripChannelTest is working.

Now if I want to run e.g. PixelPingPong instead I get this:

ImportError: cannot import name ‘Layout’ from 'bibliopixel.layout.layout’

So far I found that StripChannelTest is defined in the init and within tests.py

Do you please have a hint for me??? :slight_smile:

BR, Fabian

Am Freitag, 8. Februar 2019 19:05:24 UTC+1 schrieb Adam Haile:

c_order = ChannelOrder.RBG goes in the Serial() init, not in setLogLevel

On Fri, Feb 8, 2019 at 11:34 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Now I may have found something: With one LED connected I get bright green light.
But when I want to change the color via the suggested command: c_order = ChannelOrder.RBG it does not recognize this command:

Traceback (most recent call last):

File “”, line 1, in

File “C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.4\helpers\pydev_pydev_bundle\pydev_umd.py”, line 197, in runfile

pydev_imports.execfile(filename, global_vars, local_vars) # execute the script

File “C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.4\helpers\pydev_pydev_imps_pydev_execfile.py”, line 18, in execfile

exec(compile(contents+"\n", file, ‘exec’), glob, loc)

File “C:/Users/f.reingruber/PycharmProjects/Rainbow reloaded/Test.py”, line 3

bibliopixel.log.setLogLevel(bibliopixel.log.FRAME c_order = ChannelOrder.RBG)

^

SyntaxError: invalid syntax

Am Freitag, 8. Februar 2019 16:54:32 UTC+1 schrieb Fabian Reingruber:

I will try some other LEDs and let you know. Thank you so much for your great support! Fabian

Am Freitag, 8. Februar 2019 16:31:37 UTC+1 schrieb Adam Haile:

I’m stumped then. Most likely faulty LED. Have you tried connecting to a different LED in the chain? Those WS2812B LEDs are terrible about dying randomly

On Fri, Feb 8, 2019 at 10:28 AM Fabian Reingruber fs.rei...@gmail.com wrote:

All right :slight_smile: Yes I already did that!
So I did check V+ and GND connection in between the Capacitor and the LEDs.

DATA connection also looks good.

Am Freitag, 8. Februar 2019 16:07:47 UTC+1 schrieb Adam Haile:

Do you have a multimeter? Usually aside from voltage and current they have a continuity mode. It beeps when there’s a connection between the two probes.

On Fri, Feb 8, 2019 at 10:06 AM Fabian Reingruber fs.rei...@gmail.com wrote:

I … do not know how to do that :slight_smile:

Am Freitag, 8. Februar 2019 15:56:38 UTC+1 schrieb Adam Haile:

Are you able to confirm continuity between the AllPixel and the LEDs?

On Fri, Feb 8, 2019 at 9:54 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Hm… The solder connection seems to be fine … I connected one LED only, eleiminating the risk that the LEDs are the problem… same result

WARNING - deprecated - util.setLogLevel

WARNING - deprecated - BaseAnimation.run

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

DEBUG - animation_threading - Animation starts on main thread

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update:

Am Freitag, 8. Februar 2019 15:35:41 UTC+1 schrieb Adam Haile:

Oh… original AllPixel. Cool.
My only guess is that the data signal isn’t making it to the LEDs. I’d try disconnecting and redoing the connections. And then check that you have continuity between data on the AP and data on the first LED.

On Fri, Feb 8, 2019 at 9:30 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Yes of course!
These are type WS2812B. I have connected 46 breakout boards is a circle shaped row.

Connecting to power only, some of the LED light up in a random color.

import bibliopixel
# causes frame timing information to be output
bibliopixel.log.setLogLevel(bibliopixel.log.FRAME)

# Load driver for the AllPixel
from bibliopixel.drivers.serial import *
# set number of pixels & LED type here
driver = Serial(num = 10, ledtype = LEDTYPE.WS2812B)

# load the LEDStrip class
from bibliopixel.layout import *
led = Strip(driver)

# load channel test animation
from bibliopixel.animation import StripChannelTest
anim = StripChannelTest(led)

try:
    # run the animation
    anim.run()
except KeyboardInterrupt:
    # Ctrl+C will exit the animation and turn the LEDs offs
    led.all_off()
    led.update()

Am Freitag, 8. Februar 2019 15:20:11 UTC+1 schrieb Adam Haile:

So, yeah. You’re connecting fine. Just no output on the LEDs. What type of LEDs are you using? Did you set the correct type in the strip example script?
Can you send a picture of your LED connection to the AllPixel?

On Fri, Feb 8, 2019 at 9:05 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Ok!
I had to restart again as it seems to randomly loose connection:

WARNING - deprecated - util.setLogLevel

WARNING - deprecated - BaseAnimation.run

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

DEBUG - animation_threading - Animation starts on main thread

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

Am Freitag, 8. Februar 2019 14:38:05 UTC+1 schrieb Adam Haile:

So that shows me that it is connecting and you just aren’t getting any output on the strip.
Can you change this line:

bibliopixel.log.setLogLevel(bibliopixel.log.DEBUG)

to this:

bibliopixel.log.setLogLevel(bibliopixel.log.FRAME)

And then send me the console output you get?

On Fri, Feb 8, 2019 at 8:34 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Yes I had it up and running but this is a while ago already.
I have justv restarted everything and I am back at the previous error message:

WARNING - deprecated - util.setLogLevel

WARNING - deprecated - BaseAnimation.run

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

DEBUG - animation_threading - Animation starts on main thread

Am Freitag, 8. Februar 2019 13:31:30 UTC+1 schrieb Fabian Reingruber:

Here is the pip list:

Package Version


beautifulsoup4 4.7.1

BiblioPixel 3.4.44

BiblioPixelAnimations 3.20181225.205034

BiblioPixelTriggers 1.0.2

certifi 2018.11.29

chardet 3.0.4

Click 7.0

croniter 0.3.27

Flask 1.0.2

gitdb2 2.0.5

GitPython 2.1.11

idna 2.8

itsdangerous 1.1.0

Jinja2 2.10

loady 1.8.10

MarkupSafe 1.1.0

numpy 1.16.1

pip 19.0.1

pyserial 3.4

python-dateutil 2.8.0

PyYAML 3.13

requests 2.21.0

setuptools 40.6.2

six 1.12.0

smmap2 2.0.5

soupsieve 1.7.3

urllib3 1.24.1

Werkzeug 0.14.1

wheel 0.32.3

Am Freitag, 8. Februar 2019 13:22:17 UTC+1 schrieb Fabian Reingruber:

Hey Adam,

I am trying to reactivate my Allpixel.

Running your Strip Example I get the following response:

WARNING - deprecated - util.setLogLevel

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

WARNING - deprecated - BaseAnimation.run

DEBUG - animation_threading - Animation starts on main thread

Can you please help??

BR, Fabian


Adam:

BTW… support requests should go here -> https://groups.google.com/forum/#!forum/maniacal-labs-users

Was there any more to the console output? That looks like it connected… there’s no error. It found the device ID and Version (0 and 0 are correct for a new device). Are you just not getting any output on the LEDs?

What version of bibliopixel are you running? Please send the output of pip list


Thank you for the fast response!

I am a noob in programming so I try different approaches for hours now.

Bibliopixel is the latest version 3.4.44

The Allpixel is connected to COM3.

Right now I get this response in Pycharm:

WARNING - deprecated - util.setLogLevel

DEBUG - devices - Error getting device_id for COM3, 921600

ERROR - driver - Traceback (most recent call last):

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\driver.py”, line 87, in _connect

self.devices.find_serial_devices()

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\devices.py”, line 51, in find_serial_devices

id = self.get_device_id(port)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\devices.py”, line 126, in get_device_id

com, code, ok = io.send_packet(CMDTYPE.GETID, 0, dev, self.baudrate, 5)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\io.py”, line 11, in send_packet

com = serial.Serial(dev, baudrate=baudrate, timeout=timeout)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialwin32.py”, line 31, in init

super(Serial, self).init(*args, **kwargs)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialutil.py”, line 240, in init

self.open()

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialwin32.py”, line 62, in open

raise SerialException(“could not open port {!r}: {!r}”.format(self.portstr, ctypes.WinError()))

serial.serialutil.SerialException: could not open port ‘COM3’: FileNotFoundError(2, ‘Das System kann die angegebene Datei nicht finden.’, None, 2)

ERROR - driver - Unable to connect to the device. Please check that it is connected and the correct port is selected.

Traceback (most recent call last):

File “”, line 1, in

File “C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.4\helpers\pydev_pydev_bundle\pydev_umd.py”, line 197, in runfile

pydev_imports.execfile(filename, global_vars, local_vars) # execute the script

File “C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.4\helpers\pydev_pydev_imps_pydev_execfile.py”, line 18, in execfile

exec(compile(contents+"\n", file, ‘exec’), glob, loc)

File “C:/Users/f.reingruber/PycharmProjects/Rainbow reloaded/Test.py”, line 8, in

driver = Serial(num = 10, ledtype = LEDTYPE.WS2812B)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\driver.py”, line 62, in init

resp = self._connect()

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\driver.py”, line 129, in _connect

raise e

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\driver.py”, line 87, in _connect

self.devices.find_serial_devices()

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\devices.py”, line 51, in find_serial_devices

id = self.get_device_id(port)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\devices.py”, line 126, in get_device_id

com, code, ok = io.send_packet(CMDTYPE.GETID, 0, dev, self.baudrate, 5)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\io.py”, line 11, in send_packet

com = serial.Serial(dev, baudrate=baudrate, timeout=timeout)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialwin32.py”, line 31, in init

super(Serial, self).init(*args, **kwargs)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialutil.py”, line 240, in init

self.open()

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialwin32.py”, line 62, in open

raise SerialException(“could not open port {!r}: {!r}”.format(self.portstr, ctypes.WinError()))

serial.serialutil.SerialException: could not open port ‘COM3’: FileNotFoundError(2, ‘Das System kann die angegebene Datei nicht finden.’, None, 2)

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/a58dcdb1-c681-48fd-bcda-b0d14697e88a%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/9a08b045-4eed-4628-bba8-3e030bee4a07%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/39883aa6-e359-4704-9c48-9f3e417678a8%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/423d8163-92fb-4ec0-a1f7-a6272d651221%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/85699361-38cf-4b90-896f-1f6a4eb833da%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/150a3212-4244-438c-99ad-1949b3cc3b8b%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/eca88f4c-d457-40d1-9bb5-b891fa85b913%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/1bb659dc-8934-4cdc-9612-4565a2f5587a%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-labs-users@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/f81e2f53-7bac-48e9-93b4-79c75ff3ae7a%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

I run this single module in a python shell.
with your commandline I get the following:

WARNING - deprecated - util.setLogLevel

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

Traceback (most recent call last):

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\Test2.py”, line 18, in

from PixelPingPong import PixelPingPong

ModuleNotFoundError: No module named 'PixelPingPong’

···

Am Donnerstag, 21. Februar 2019 14:55:27 UTC+1 schrieb Adam Haile:

If should be from BiblioPixelAnimations.strip.PixelPingPong import PixelPingPong

Though not sure if that’s the full reason for the error.
Can you give me the exact command you are using to run your script?

On Thu, Feb 21, 2019 at 8:53 AM Fabian Reingruber fs.rei...@gmail.com wrote:

I simply exchanged the StripChannelTest with PixelPingPong… :slight_smile:

import bibliopixel

causes frame timing information to be output

bibliopixel.log.setLogLevel(bibliopixel.log.FRAME)

from bibliopixel.drivers import ChannelOrder

from bibliopixel.drivers.serial import *

Load driver for the AllPixel

from bibliopixel.drivers.serial import *

set number of pixels & LED type here

driver = Serial(num = 5, ledtype = LEDTYPE.WS2812B, c_order = ChannelOrder.RGB)

load the LEDStrip class

from bibliopixel.layout import *

led = Strip(driver)

from PixelPingPong import PixelPingPong

anim = PixelPingPong(led, max_led=30, color=(0, 0, 255), additional_pixels=5, fade_delay=2)

load channel test animation

#from bibliopixel.animation import StripChannelTest

#anim = StripChannelTest(led)

try:

run the animation

anim.run()

except KeyboardInterrupt:

Ctrl+C will exit the animation and turn the LEDs offs

led.all_off()

led.update()

Am Donnerstag, 21. Februar 2019 13:00:59 UTC+1 schrieb Adam Haile:

Can you send the actual file you are trying to run? I need more context.

On Thu, Feb 21, 2019 at 3:52 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Hi Adam,

You were right. All of my LEDs were broken. Probably because I had them connected to a bench power supply.

I have ordered new WS2812s and now the StripChannelTest is working.

Now if I want to run e.g. PixelPingPong instead I get this:

ImportError: cannot import name ‘Layout’ from 'bibliopixel.layout.layout’

So far I found that StripChannelTest is defined in the init and within tests.py

Do you please have a hint for me??? :slight_smile:

BR, Fabian

Am Freitag, 8. Februar 2019 19:05:24 UTC+1 schrieb Adam Haile:

c_order = ChannelOrder.RBG goes in the Serial() init, not in setLogLevel

On Fri, Feb 8, 2019 at 11:34 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Now I may have found something: With one LED connected I get bright green light.
But when I want to change the color via the suggested command: c_order = ChannelOrder.RBG it does not recognize this command:

Traceback (most recent call last):

File “”, line 1, in

File “C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.4\helpers\pydev_pydev_bundle\pydev_umd.py”, line 197, in runfile

pydev_imports.execfile(filename, global_vars, local_vars) # execute the script

File “C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.4\helpers\pydev_pydev_imps_pydev_execfile.py”, line 18, in execfile

exec(compile(contents+"\n", file, ‘exec’), glob, loc)

File “C:/Users/f.reingruber/PycharmProjects/Rainbow reloaded/Test.py”, line 3

bibliopixel.log.setLogLevel(bibliopixel.log.FRAME c_order = ChannelOrder.RBG)

^

SyntaxError: invalid syntax

Am Freitag, 8. Februar 2019 16:54:32 UTC+1 schrieb Fabian Reingruber:

I will try some other LEDs and let you know. Thank you so much for your great support! Fabian

Am Freitag, 8. Februar 2019 16:31:37 UTC+1 schrieb Adam Haile:

I’m stumped then. Most likely faulty LED. Have you tried connecting to a different LED in the chain? Those WS2812B LEDs are terrible about dying randomly

On Fri, Feb 8, 2019 at 10:28 AM Fabian Reingruber fs.rei...@gmail.com wrote:

All right :slight_smile: Yes I already did that!
So I did check V+ and GND connection in between the Capacitor and the LEDs.

DATA connection also looks good.

Am Freitag, 8. Februar 2019 16:07:47 UTC+1 schrieb Adam Haile:

Do you have a multimeter? Usually aside from voltage and current they have a continuity mode. It beeps when there’s a connection between the two probes.

On Fri, Feb 8, 2019 at 10:06 AM Fabian Reingruber fs.rei...@gmail.com wrote:

I … do not know how to do that :slight_smile:

Am Freitag, 8. Februar 2019 15:56:38 UTC+1 schrieb Adam Haile:

Are you able to confirm continuity between the AllPixel and the LEDs?

On Fri, Feb 8, 2019 at 9:54 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Hm… The solder connection seems to be fine … I connected one LED only, eleiminating the risk that the LEDs are the problem… same result

WARNING - deprecated - util.setLogLevel

WARNING - deprecated - BaseAnimation.run

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

DEBUG - animation_threading - Animation starts on main thread

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update:

Am Freitag, 8. Februar 2019 15:35:41 UTC+1 schrieb Adam Haile:

Oh… original AllPixel. Cool.
My only guess is that the data signal isn’t making it to the LEDs. I’d try disconnecting and redoing the connections. And then check that you have continuity between data on the AP and data on the first LED.

On Fri, Feb 8, 2019 at 9:30 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Yes of course!
These are type WS2812B. I have connected 46 breakout boards is a circle shaped row.

Connecting to power only, some of the LED light up in a random color.

import bibliopixel
# causes frame timing information to be output
bibliopixel.log.setLogLevel(bibliopixel.log.FRAME)

# Load driver for the AllPixel
from bibliopixel.drivers.serial import *
# set number of pixels & LED type here
driver = Serial(num = 10, ledtype = LEDTYPE.WS2812B)

# load the LEDStrip class
from bibliopixel.layout import *
led = Strip(driver)

# load channel test animation
from bibliopixel.animation import StripChannelTest
anim = StripChannelTest(led)

try:
    # run the animation
    anim.run()
except KeyboardInterrupt:
    # Ctrl+C will exit the animation and turn the LEDs offs
    led.all_off()
    led.update()

Am Freitag, 8. Februar 2019 15:20:11 UTC+1 schrieb Adam Haile:

So, yeah. You’re connecting fine. Just no output on the LEDs. What type of LEDs are you using? Did you set the correct type in the strip example script?
Can you send a picture of your LED connection to the AllPixel?

On Fri, Feb 8, 2019 at 9:05 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Ok!
I had to restart again as it seems to randomly loose connection:

WARNING - deprecated - util.setLogLevel

WARNING - deprecated - BaseAnimation.run

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

DEBUG - animation_threading - Animation starts on main thread

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

Am Freitag, 8. Februar 2019 14:38:05 UTC+1 schrieb Adam Haile:

So that shows me that it is connecting and you just aren’t getting any output on the strip.
Can you change this line:

bibliopixel.log.setLogLevel(bibliopixel.log.DEBUG)

to this:

bibliopixel.log.setLogLevel(bibliopixel.log.FRAME)

And then send me the console output you get?

On Fri, Feb 8, 2019 at 8:34 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Yes I had it up and running but this is a while ago already.
I have justv restarted everything and I am back at the previous error message:

WARNING - deprecated - util.setLogLevel

WARNING - deprecated - BaseAnimation.run

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

DEBUG - animation_threading - Animation starts on main thread

Am Freitag, 8. Februar 2019 13:31:30 UTC+1 schrieb Fabian Reingruber:

Here is the pip list:

Package Version


beautifulsoup4 4.7.1

BiblioPixel 3.4.44

BiblioPixelAnimations 3.20181225.205034

BiblioPixelTriggers 1.0.2

certifi 2018.11.29

chardet 3.0.4

Click 7.0

croniter 0.3.27

Flask 1.0.2

gitdb2 2.0.5

GitPython 2.1.11

idna 2.8

itsdangerous 1.1.0

Jinja2 2.10

loady 1.8.10

MarkupSafe 1.1.0

numpy 1.16.1

pip 19.0.1

pyserial 3.4

python-dateutil 2.8.0

PyYAML 3.13

requests 2.21.0

setuptools 40.6.2

six 1.12.0

smmap2 2.0.5

soupsieve 1.7.3

urllib3 1.24.1

Werkzeug 0.14.1

wheel 0.32.3

Am Freitag, 8. Februar 2019 13:22:17 UTC+1 schrieb Fabian Reingruber:

Hey Adam,

I am trying to reactivate my Allpixel.

Running your Strip Example I get the following response:

WARNING - deprecated - util.setLogLevel

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

WARNING - deprecated - BaseAnimation.run

DEBUG - animation_threading - Animation starts on main thread

Can you please help??

BR, Fabian


Adam:

BTW… support requests should go here -> https://groups.google.com/forum/#!forum/maniacal-labs-users

Was there any more to the console output? That looks like it connected… there’s no error. It found the device ID and Version (0 and 0 are correct for a new device). Are you just not getting any output on the LEDs?

What version of bibliopixel are you running? Please send the output of pip list


Thank you for the fast response!

I am a noob in programming so I try different approaches for hours now.

Bibliopixel is the latest version 3.4.44

The Allpixel is connected to COM3.

Right now I get this response in Pycharm:

WARNING - deprecated - util.setLogLevel

DEBUG - devices - Error getting device_id for COM3, 921600

ERROR - driver - Traceback (most recent call last):

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\driver.py”, line 87, in _connect

self.devices.find_serial_devices()

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\devices.py”, line 51, in find_serial_devices

id = self.get_device_id(port)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\devices.py”, line 126, in get_device_id

com, code, ok = io.send_packet(CMDTYPE.GETID, 0, dev, self.baudrate, 5)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\io.py”, line 11, in send_packet

com = serial.Serial(dev, baudrate=baudrate, timeout=timeout)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialwin32.py”, line 31, in init

super(Serial, self).init(*args, **kwargs)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialutil.py”, line 240, in init

self.open()

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialwin32.py”, line 62, in open

raise SerialException(“could not open port {!r}: {!r}”.format(self.portstr, ctypes.WinError()))

serial.serialutil.SerialException: could not open port ‘COM3’: FileNotFoundError(2, ‘Das System kann die angegebene Datei nicht finden.’, None, 2)

ERROR - driver - Unable to connect to the device. Please check that it is connected and the correct port is selected.

Traceback (most recent call last):

File “”, line 1, in

File “C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.4\helpers\pydev_pydev_bundle\pydev_umd.py”, line 197, in runfile

pydev_imports.execfile(filename, global_vars, local_vars) # execute the script

File “C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.4\helpers\pydev_pydev_imps_pydev_execfile.py”, line 18, in execfile

exec(compile(contents+"\n", file, ‘exec’), glob, loc)

File “C:/Users/f.reingruber/PycharmProjects/Rainbow reloaded/Test.py”, line 8, in

driver = Serial(num = 10, ledtype = LEDTYPE.WS2812B)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\driver.py”, line 62, in init

resp = self._connect()

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\driver.py”, line 129, in _connect

raise e

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\driver.py”, line 87, in _connect

self.devices.find_serial_devices()

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\devices.py”, line 51, in find_serial_devices

id = self.get_device_id(port)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\devices.py”, line 126, in get_device_id

com, code, ok = io.send_packet(CMDTYPE.GETID, 0, dev, self.baudrate, 5)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\io.py”, line 11, in send_packet

com = serial.Serial(dev, baudrate=baudrate, timeout=timeout)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialwin32.py”, line 31, in init

super(Serial, self).init(*args, **kwargs)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialutil.py”, line 240, in init

self.open()

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialwin32.py”, line 62, in open

raise SerialException(“could not open port {!r}: {!r}”.format(self.portstr, ctypes.WinError()))

serial.serialutil.SerialException: could not open port ‘COM3’: FileNotFoundError(2, ‘Das System kann die angegebene Datei nicht finden.’, None, 2)

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/a58dcdb1-c681-48fd-bcda-b0d14697e88a%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/9a08b045-4eed-4628-bba8-3e030bee4a07%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/39883aa6-e359-4704-9c48-9f3e417678a8%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/423d8163-92fb-4ec0-a1f7-a6272d651221%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/85699361-38cf-4b90-896f-1f6a4eb833da%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/150a3212-4244-438c-99ad-1949b3cc3b8b%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/eca88f4c-d457-40d1-9bb5-b891fa85b913%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/1bb659dc-8934-4cdc-9612-4565a2f5587a%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/f81e2f53-7bac-48e9-93b4-79c75ff3ae7a%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Yes, as noted that should be from BiblioPixelAnimations.strip.PixelPingPong import PixelPingPong

···

On Thu, Feb 21, 2019 at 9:53 AM Fabian Reingruber fs.reingruber@gmail.com wrote:

I run this single module in a python shell.
with your commandline I get the following:

WARNING - deprecated - util.setLogLevel

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

Traceback (most recent call last):

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\Test2.py”, line 18, in

from PixelPingPong import PixelPingPong

ModuleNotFoundError: No module named 'PixelPingPong’

Am Donnerstag, 21. Februar 2019 14:55:27 UTC+1 schrieb Adam Haile:

If should be from BiblioPixelAnimations.strip.PixelPingPong import PixelPingPong

Though not sure if that’s the full reason for the error.
Can you give me the exact command you are using to run your script?

On Thu, Feb 21, 2019 at 8:53 AM Fabian Reingruber fs.rei...@gmail.com wrote:

I simply exchanged the StripChannelTest with PixelPingPong… :slight_smile:

import bibliopixel

causes frame timing information to be output

bibliopixel.log.setLogLevel(bibliopixel.log.FRAME)

from bibliopixel.drivers import ChannelOrder

from bibliopixel.drivers.serial import *

Load driver for the AllPixel

from bibliopixel.drivers.serial import *

set number of pixels & LED type here

driver = Serial(num = 5, ledtype = LEDTYPE.WS2812B, c_order = ChannelOrder.RGB)

load the LEDStrip class

from bibliopixel.layout import *

led = Strip(driver)

from PixelPingPong import PixelPingPong

anim = PixelPingPong(led, max_led=30, color=(0, 0, 255), additional_pixels=5, fade_delay=2)

load channel test animation

#from bibliopixel.animation import StripChannelTest

#anim = StripChannelTest(led)

try:

run the animation

anim.run()

except KeyboardInterrupt:

Ctrl+C will exit the animation and turn the LEDs offs

led.all_off()

led.update()

Am Donnerstag, 21. Februar 2019 13:00:59 UTC+1 schrieb Adam Haile:

Can you send the actual file you are trying to run? I need more context.

On Thu, Feb 21, 2019 at 3:52 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Hi Adam,

You were right. All of my LEDs were broken. Probably because I had them connected to a bench power supply.

I have ordered new WS2812s and now the StripChannelTest is working.

Now if I want to run e.g. PixelPingPong instead I get this:

ImportError: cannot import name ‘Layout’ from 'bibliopixel.layout.layout’

So far I found that StripChannelTest is defined in the init and within tests.py

Do you please have a hint for me??? :slight_smile:

BR, Fabian

Am Freitag, 8. Februar 2019 19:05:24 UTC+1 schrieb Adam Haile:

c_order = ChannelOrder.RBG goes in the Serial() init, not in setLogLevel

On Fri, Feb 8, 2019 at 11:34 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Now I may have found something: With one LED connected I get bright green light.
But when I want to change the color via the suggested command: c_order = ChannelOrder.RBG it does not recognize this command:

Traceback (most recent call last):

File “”, line 1, in

File “C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.4\helpers\pydev_pydev_bundle\pydev_umd.py”, line 197, in runfile

pydev_imports.execfile(filename, global_vars, local_vars) # execute the script

File “C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.4\helpers\pydev_pydev_imps_pydev_execfile.py”, line 18, in execfile

exec(compile(contents+"\n", file, ‘exec’), glob, loc)

File “C:/Users/f.reingruber/PycharmProjects/Rainbow reloaded/Test.py”, line 3

bibliopixel.log.setLogLevel(bibliopixel.log.FRAME c_order = ChannelOrder.RBG)

^

SyntaxError: invalid syntax

Am Freitag, 8. Februar 2019 16:54:32 UTC+1 schrieb Fabian Reingruber:

I will try some other LEDs and let you know. Thank you so much for your great support! Fabian

Am Freitag, 8. Februar 2019 16:31:37 UTC+1 schrieb Adam Haile:

I’m stumped then. Most likely faulty LED. Have you tried connecting to a different LED in the chain? Those WS2812B LEDs are terrible about dying randomly

On Fri, Feb 8, 2019 at 10:28 AM Fabian Reingruber fs.rei...@gmail.com wrote:

All right :slight_smile: Yes I already did that!
So I did check V+ and GND connection in between the Capacitor and the LEDs.

DATA connection also looks good.

Am Freitag, 8. Februar 2019 16:07:47 UTC+1 schrieb Adam Haile:

Do you have a multimeter? Usually aside from voltage and current they have a continuity mode. It beeps when there’s a connection between the two probes.

On Fri, Feb 8, 2019 at 10:06 AM Fabian Reingruber fs.rei...@gmail.com wrote:

I … do not know how to do that :slight_smile:

Am Freitag, 8. Februar 2019 15:56:38 UTC+1 schrieb Adam Haile:

Are you able to confirm continuity between the AllPixel and the LEDs?

On Fri, Feb 8, 2019 at 9:54 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Hm… The solder connection seems to be fine … I connected one LED only, eleiminating the risk that the LEDs are the problem… same result

WARNING - deprecated - util.setLogLevel

WARNING - deprecated - BaseAnimation.run

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

DEBUG - animation_threading - Animation starts on main thread

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update:

Am Freitag, 8. Februar 2019 15:35:41 UTC+1 schrieb Adam Haile:

Oh… original AllPixel. Cool.
My only guess is that the data signal isn’t making it to the LEDs. I’d try disconnecting and redoing the connections. And then check that you have continuity between data on the AP and data on the first LED.

On Fri, Feb 8, 2019 at 9:30 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Yes of course!
These are type WS2812B. I have connected 46 breakout boards is a circle shaped row.

Connecting to power only, some of the LED light up in a random color.

import bibliopixel
# causes frame timing information to be output
bibliopixel.log.setLogLevel(bibliopixel.log.FRAME)

# Load driver for the AllPixel
from bibliopixel.drivers.serial import *
# set number of pixels & LED type here
driver = Serial(num = 10, ledtype = LEDTYPE.WS2812B)

# load the LEDStrip class
from bibliopixel.layout import *
led = Strip(driver)

# load channel test animation
from bibliopixel.animation import StripChannelTest
anim = StripChannelTest(led)

try:
    # run the animation
    anim.run()
except KeyboardInterrupt:
    # Ctrl+C will exit the animation and turn the LEDs offs
    led.all_off()
    led.update()

Am Freitag, 8. Februar 2019 15:20:11 UTC+1 schrieb Adam Haile:

So, yeah. You’re connecting fine. Just no output on the LEDs. What type of LEDs are you using? Did you set the correct type in the strip example script?
Can you send a picture of your LED connection to the AllPixel?

On Fri, Feb 8, 2019 at 9:05 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Ok!
I had to restart again as it seems to randomly loose connection:

WARNING - deprecated - util.setLogLevel

WARNING - deprecated - BaseAnimation.run

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

DEBUG - animation_threading - Animation starts on main thread

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

Am Freitag, 8. Februar 2019 14:38:05 UTC+1 schrieb Adam Haile:

So that shows me that it is connecting and you just aren’t getting any output on the strip.
Can you change this line:

bibliopixel.log.setLogLevel(bibliopixel.log.DEBUG)

to this:

bibliopixel.log.setLogLevel(bibliopixel.log.FRAME)

And then send me the console output you get?

On Fri, Feb 8, 2019 at 8:34 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Yes I had it up and running but this is a while ago already.
I have justv restarted everything and I am back at the previous error message:

WARNING - deprecated - util.setLogLevel

WARNING - deprecated - BaseAnimation.run

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

DEBUG - animation_threading - Animation starts on main thread

Am Freitag, 8. Februar 2019 13:31:30 UTC+1 schrieb Fabian Reingruber:

Here is the pip list:

Package Version


beautifulsoup4 4.7.1

BiblioPixel 3.4.44

BiblioPixelAnimations 3.20181225.205034

BiblioPixelTriggers 1.0.2

certifi 2018.11.29

chardet 3.0.4

Click 7.0

croniter 0.3.27

Flask 1.0.2

gitdb2 2.0.5

GitPython 2.1.11

idna 2.8

itsdangerous 1.1.0

Jinja2 2.10

loady 1.8.10

MarkupSafe 1.1.0

numpy 1.16.1

pip 19.0.1

pyserial 3.4

python-dateutil 2.8.0

PyYAML 3.13

requests 2.21.0

setuptools 40.6.2

six 1.12.0

smmap2 2.0.5

soupsieve 1.7.3

urllib3 1.24.1

Werkzeug 0.14.1

wheel 0.32.3

Am Freitag, 8. Februar 2019 13:22:17 UTC+1 schrieb Fabian Reingruber:

Hey Adam,

I am trying to reactivate my Allpixel.

Running your Strip Example I get the following response:

WARNING - deprecated - util.setLogLevel

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

WARNING - deprecated - BaseAnimation.run

DEBUG - animation_threading - Animation starts on main thread

Can you please help??

BR, Fabian


Adam:

BTW… support requests should go here -> https://groups.google.com/forum/#!forum/maniacal-labs-users

Was there any more to the console output? That looks like it connected… there’s no error. It found the device ID and Version (0 and 0 are correct for a new device). Are you just not getting any output on the LEDs?

What version of bibliopixel are you running? Please send the output of pip list


Thank you for the fast response!

I am a noob in programming so I try different approaches for hours now.

Bibliopixel is the latest version 3.4.44

The Allpixel is connected to COM3.

Right now I get this response in Pycharm:

WARNING - deprecated - util.setLogLevel

DEBUG - devices - Error getting device_id for COM3, 921600

ERROR - driver - Traceback (most recent call last):

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\driver.py”, line 87, in _connect

self.devices.find_serial_devices()

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\devices.py”, line 51, in find_serial_devices

id = self.get_device_id(port)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\devices.py”, line 126, in get_device_id

com, code, ok = io.send_packet(CMDTYPE.GETID, 0, dev, self.baudrate, 5)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\io.py”, line 11, in send_packet

com = serial.Serial(dev, baudrate=baudrate, timeout=timeout)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialwin32.py”, line 31, in init

super(Serial, self).init(*args, **kwargs)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialutil.py”, line 240, in init

self.open()

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialwin32.py”, line 62, in open

raise SerialException(“could not open port {!r}: {!r}”.format(self.portstr, ctypes.WinError()))

serial.serialutil.SerialException: could not open port ‘COM3’: FileNotFoundError(2, ‘Das System kann die angegebene Datei nicht finden.’, None, 2)

ERROR - driver - Unable to connect to the device. Please check that it is connected and the correct port is selected.

Traceback (most recent call last):

File “”, line 1, in

File “C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.4\helpers\pydev_pydev_bundle\pydev_umd.py”, line 197, in runfile

pydev_imports.execfile(filename, global_vars, local_vars) # execute the script

File “C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.4\helpers\pydev_pydev_imps_pydev_execfile.py”, line 18, in execfile

exec(compile(contents+"\n", file, ‘exec’), glob, loc)

File “C:/Users/f.reingruber/PycharmProjects/Rainbow reloaded/Test.py”, line 8, in

driver = Serial(num = 10, ledtype = LEDTYPE.WS2812B)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\driver.py”, line 62, in init

resp = self._connect()

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\driver.py”, line 129, in _connect

raise e

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\driver.py”, line 87, in _connect

self.devices.find_serial_devices()

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\devices.py”, line 51, in find_serial_devices

id = self.get_device_id(port)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\devices.py”, line 126, in get_device_id

com, code, ok = io.send_packet(CMDTYPE.GETID, 0, dev, self.baudrate, 5)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\io.py”, line 11, in send_packet

com = serial.Serial(dev, baudrate=baudrate, timeout=timeout)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialwin32.py”, line 31, in init

super(Serial, self).init(*args, **kwargs)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialutil.py”, line 240, in init

self.open()

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialwin32.py”, line 62, in open

raise SerialException(“could not open port {!r}: {!r}”.format(self.portstr, ctypes.WinError()))

serial.serialutil.SerialException: could not open port ‘COM3’: FileNotFoundError(2, ‘Das System kann die angegebene Datei nicht finden.’, None, 2)

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/a58dcdb1-c681-48fd-bcda-b0d14697e88a%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/9a08b045-4eed-4628-bba8-3e030bee4a07%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/39883aa6-e359-4704-9c48-9f3e417678a8%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/423d8163-92fb-4ec0-a1f7-a6272d651221%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/85699361-38cf-4b90-896f-1f6a4eb833da%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/150a3212-4244-438c-99ad-1949b3cc3b8b%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/eca88f4c-d457-40d1-9bb5-b891fa85b913%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/1bb659dc-8934-4cdc-9612-4565a2f5587a%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/f81e2f53-7bac-48e9-93b4-79c75ff3ae7a%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-labs-users@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/f8e05a4f-6ddc-4bca-b23d-a73a4f549c7d%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Okok…! I am getting closer!

import bibliopixel

causes frame timing information to be output

bibliopixel.log.setLogLevel(bibliopixel.log.FRAME)

from bibliopixel.drivers import ChannelOrder

Load driver for the AllPixel

from bibliopixel.drivers.serial import *

set number of pixels & LED type here

driver = Serial(num = 10, ledtype = LEDTYPE.WS2812B, c_order = ChannelOrder.RBG)

load the LEDStrip class

from bibliopixel.layout import *

led = Strip(driver)

from BiblioPixelAnimations.strip.PixelPingPong import PixelPingPong

#from PixelPingPong import PixelPingPong

anim = PixelPingPong(led, max_led=30, color=(0, 0, 255), additional_pixels=5, fade_delay=2)

try:

run the animation

anim.run()

except KeyboardInterrupt:

Ctrl+C will exit the animation and turn the LEDs offs

led.all_off()

led.update()

Error Message:

WARNING - deprecated - util.setLogLevel

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

Traceback (most recent call last):

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\Test2.py”, line 19, in

anim = PixelPingPong(led, max_led=30, color=(0, 0, 255), additional_pixels=5, fade_delay=2)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\BiblioPixelAnimations\strip\PixelPingPong.py”, line 27, in init

super().init(layout, 0, -1, **kwds)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\animation\strip.py”, line 10, in init

super().init(layout, **kwds)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\animation\animation.py”, line 59, in init

attributes.set_reserved(self, ‘animation’, **kwds)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\project\attributes.py”, line 9, in set_reserved

check(kwds, ‘%s %s’ % (section, value.class.name))

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\project\attributes.py”, line 5, in check

raise ValueError(‘Unknown attribute%s for %s: %s’ % (s, name, msg))

ValueError: Unknown attribute for animation PixelPingPong: "additional_pixels"

**>>> **

···

Am Donnerstag, 21. Februar 2019 15:57:19 UTC+1 schrieb Adam Haile:

Yes, as noted that should be from BiblioPixelAnimations.strip.PixelPingPong import PixelPingPong

On Thu, Feb 21, 2019 at 9:53 AM Fabian Reingruber fs.rei...@gmail.com wrote:

I run this single module in a python shell.
with your commandline I get the following:

WARNING - deprecated - util.setLogLevel

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

Traceback (most recent call last):

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\Test2.py”, line 18, in

from PixelPingPong import PixelPingPong

ModuleNotFoundError: No module named 'PixelPingPong’

Am Donnerstag, 21. Februar 2019 14:55:27 UTC+1 schrieb Adam Haile:

If should be from BiblioPixelAnimations.strip.PixelPingPong import PixelPingPong

Though not sure if that’s the full reason for the error.
Can you give me the exact command you are using to run your script?

On Thu, Feb 21, 2019 at 8:53 AM Fabian Reingruber fs.rei...@gmail.com wrote:

I simply exchanged the StripChannelTest with PixelPingPong… :slight_smile:

import bibliopixel

causes frame timing information to be output

bibliopixel.log.setLogLevel(bibliopixel.log.FRAME)

from bibliopixel.drivers import ChannelOrder

from bibliopixel.drivers.serial import *

Load driver for the AllPixel

from bibliopixel.drivers.serial import *

set number of pixels & LED type here

driver = Serial(num = 5, ledtype = LEDTYPE.WS2812B, c_order = ChannelOrder.RGB)

load the LEDStrip class

from bibliopixel.layout import *

led = Strip(driver)

from PixelPingPong import PixelPingPong

anim = PixelPingPong(led, max_led=30, color=(0, 0, 255), additional_pixels=5, fade_delay=2)

load channel test animation

#from bibliopixel.animation import StripChannelTest

#anim = StripChannelTest(led)

try:

run the animation

anim.run()

except KeyboardInterrupt:

Ctrl+C will exit the animation and turn the LEDs offs

led.all_off()

led.update()

Am Donnerstag, 21. Februar 2019 13:00:59 UTC+1 schrieb Adam Haile:

Can you send the actual file you are trying to run? I need more context.

On Thu, Feb 21, 2019 at 3:52 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Hi Adam,

You were right. All of my LEDs were broken. Probably because I had them connected to a bench power supply.

I have ordered new WS2812s and now the StripChannelTest is working.

Now if I want to run e.g. PixelPingPong instead I get this:

ImportError: cannot import name ‘Layout’ from 'bibliopixel.layout.layout’

So far I found that StripChannelTest is defined in the init and within tests.py

Do you please have a hint for me??? :slight_smile:

BR, Fabian

Am Freitag, 8. Februar 2019 19:05:24 UTC+1 schrieb Adam Haile:

c_order = ChannelOrder.RBG goes in the Serial() init, not in setLogLevel

On Fri, Feb 8, 2019 at 11:34 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Now I may have found something: With one LED connected I get bright green light.
But when I want to change the color via the suggested command: c_order = ChannelOrder.RBG it does not recognize this command:

Traceback (most recent call last):

File “”, line 1, in

File “C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.4\helpers\pydev_pydev_bundle\pydev_umd.py”, line 197, in runfile

pydev_imports.execfile(filename, global_vars, local_vars) # execute the script

File “C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.4\helpers\pydev_pydev_imps_pydev_execfile.py”, line 18, in execfile

exec(compile(contents+"\n", file, ‘exec’), glob, loc)

File “C:/Users/f.reingruber/PycharmProjects/Rainbow reloaded/Test.py”, line 3

bibliopixel.log.setLogLevel(bibliopixel.log.FRAME c_order = ChannelOrder.RBG)

^

SyntaxError: invalid syntax

Am Freitag, 8. Februar 2019 16:54:32 UTC+1 schrieb Fabian Reingruber:

I will try some other LEDs and let you know. Thank you so much for your great support! Fabian

Am Freitag, 8. Februar 2019 16:31:37 UTC+1 schrieb Adam Haile:

I’m stumped then. Most likely faulty LED. Have you tried connecting to a different LED in the chain? Those WS2812B LEDs are terrible about dying randomly

On Fri, Feb 8, 2019 at 10:28 AM Fabian Reingruber fs.rei...@gmail.com wrote:

All right :slight_smile: Yes I already did that!
So I did check V+ and GND connection in between the Capacitor and the LEDs.

DATA connection also looks good.

Am Freitag, 8. Februar 2019 16:07:47 UTC+1 schrieb Adam Haile:

Do you have a multimeter? Usually aside from voltage and current they have a continuity mode. It beeps when there’s a connection between the two probes.

On Fri, Feb 8, 2019 at 10:06 AM Fabian Reingruber fs.rei...@gmail.com wrote:

I … do not know how to do that :slight_smile:

Am Freitag, 8. Februar 2019 15:56:38 UTC+1 schrieb Adam Haile:

Are you able to confirm continuity between the AllPixel and the LEDs?

On Fri, Feb 8, 2019 at 9:54 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Hm… The solder connection seems to be fine … I connected one LED only, eleiminating the risk that the LEDs are the problem… same result

WARNING - deprecated - util.setLogLevel

WARNING - deprecated - BaseAnimation.run

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

DEBUG - animation_threading - Animation starts on main thread

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update:

Am Freitag, 8. Februar 2019 15:35:41 UTC+1 schrieb Adam Haile:

Oh… original AllPixel. Cool.
My only guess is that the data signal isn’t making it to the LEDs. I’d try disconnecting and redoing the connections. And then check that you have continuity between data on the AP and data on the first LED.

On Fri, Feb 8, 2019 at 9:30 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Yes of course!
These are type WS2812B. I have connected 46 breakout boards is a circle shaped row.

Connecting to power only, some of the LED light up in a random color.

import bibliopixel
# causes frame timing information to be output
bibliopixel.log.setLogLevel(bibliopixel.log.FRAME)

# Load driver for the AllPixel
from bibliopixel.drivers.serial import *
# set number of pixels & LED type here
driver = Serial(num = 10, ledtype = LEDTYPE.WS2812B)

# load the LEDStrip class
from bibliopixel.layout import *
led = Strip(driver)

# load channel test animation
from bibliopixel.animation import StripChannelTest
anim = StripChannelTest(led)

try:
    # run the animation
    anim.run()
except KeyboardInterrupt:
    # Ctrl+C will exit the animation and turn the LEDs offs
    led.all_off()
    led.update()

Am Freitag, 8. Februar 2019 15:20:11 UTC+1 schrieb Adam Haile:

So, yeah. You’re connecting fine. Just no output on the LEDs. What type of LEDs are you using? Did you set the correct type in the strip example script?
Can you send a picture of your LED connection to the AllPixel?

On Fri, Feb 8, 2019 at 9:05 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Ok!
I had to restart again as it seems to randomly loose connection:

WARNING - deprecated - util.setLogLevel

WARNING - deprecated - BaseAnimation.run

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

DEBUG - animation_threading - Animation starts on main thread

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

Am Freitag, 8. Februar 2019 14:38:05 UTC+1 schrieb Adam Haile:

So that shows me that it is connecting and you just aren’t getting any output on the strip.
Can you change this line:

bibliopixel.log.setLogLevel(bibliopixel.log.DEBUG)

to this:

bibliopixel.log.setLogLevel(bibliopixel.log.FRAME)

And then send me the console output you get?

On Fri, Feb 8, 2019 at 8:34 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Yes I had it up and running but this is a while ago already.
I have justv restarted everything and I am back at the previous error message:

WARNING - deprecated - util.setLogLevel

WARNING - deprecated - BaseAnimation.run

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

DEBUG - animation_threading - Animation starts on main thread

Am Freitag, 8. Februar 2019 13:31:30 UTC+1 schrieb Fabian Reingruber:

Here is the pip list:

Package Version


beautifulsoup4 4.7.1

BiblioPixel 3.4.44

BiblioPixelAnimations 3.20181225.205034

BiblioPixelTriggers 1.0.2

certifi 2018.11.29

chardet 3.0.4

Click 7.0

croniter 0.3.27

Flask 1.0.2

gitdb2 2.0.5

GitPython 2.1.11

idna 2.8

itsdangerous 1.1.0

Jinja2 2.10

loady 1.8.10

MarkupSafe 1.1.0

numpy 1.16.1

pip 19.0.1

pyserial 3.4

python-dateutil 2.8.0

PyYAML 3.13

requests 2.21.0

setuptools 40.6.2

six 1.12.0

smmap2 2.0.5

soupsieve 1.7.3

urllib3 1.24.1

Werkzeug 0.14.1

wheel 0.32.3

Am Freitag, 8. Februar 2019 13:22:17 UTC+1 schrieb Fabian Reingruber:

Hey Adam,

I am trying to reactivate my Allpixel.

Running your Strip Example I get the following response:

WARNING - deprecated - util.setLogLevel

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

WARNING - deprecated - BaseAnimation.run

DEBUG - animation_threading - Animation starts on main thread

Can you please help??

BR, Fabian


Adam:

BTW… support requests should go here -> https://groups.google.com/forum/#!forum/maniacal-labs-users

Was there any more to the console output? That looks like it connected… there’s no error. It found the device ID and Version (0 and 0 are correct for a new device). Are you just not getting any output on the LEDs?

What version of bibliopixel are you running? Please send the output of pip list


Thank you for the fast response!

I am a noob in programming so I try different approaches for hours now.

Bibliopixel is the latest version 3.4.44

The Allpixel is connected to COM3.

Right now I get this response in Pycharm:

WARNING - deprecated - util.setLogLevel

DEBUG - devices - Error getting device_id for COM3, 921600

ERROR - driver - Traceback (most recent call last):

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\driver.py”, line 87, in _connect

self.devices.find_serial_devices()

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\devices.py”, line 51, in find_serial_devices

id = self.get_device_id(port)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\devices.py”, line 126, in get_device_id

com, code, ok = io.send_packet(CMDTYPE.GETID, 0, dev, self.baudrate, 5)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\io.py”, line 11, in send_packet

com = serial.Serial(dev, baudrate=baudrate, timeout=timeout)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialwin32.py”, line 31, in init

super(Serial, self).init(*args, **kwargs)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialutil.py”, line 240, in init

self.open()

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialwin32.py”, line 62, in open

raise SerialException(“could not open port {!r}: {!r}”.format(self.portstr, ctypes.WinError()))

serial.serialutil.SerialException: could not open port ‘COM3’: FileNotFoundError(2, ‘Das System kann die angegebene Datei nicht finden.’, None, 2)

ERROR - driver - Unable to connect to the device. Please check that it is connected and the correct port is selected.

Traceback (most recent call last):

File “”, line 1, in

File “C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.4\helpers\pydev_pydev_bundle\pydev_umd.py”, line 197, in runfile

pydev_imports.execfile(filename, global_vars, local_vars) # execute the script

File “C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.4\helpers\pydev_pydev_imps_pydev_execfile.py”, line 18, in execfile

exec(compile(contents+"\n", file, ‘exec’), glob, loc)

File “C:/Users/f.reingruber/PycharmProjects/Rainbow reloaded/Test.py”, line 8, in

driver = Serial(num = 10, ledtype = LEDTYPE.WS2812B)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\driver.py”, line 62, in init

resp = self._connect()

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\driver.py”, line 129, in _connect

raise e

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\driver.py”, line 87, in _connect

self.devices.find_serial_devices()

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\devices.py”, line 51, in find_serial_devices

id = self.get_device_id(port)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\devices.py”, line 126, in get_device_id

com, code, ok = io.send_packet(CMDTYPE.GETID, 0, dev, self.baudrate, 5)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\io.py”, line 11, in send_packet

com = serial.Serial(dev, baudrate=baudrate, timeout=timeout)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialwin32.py”, line 31, in init

super(Serial, self).init(*args, **kwargs)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialutil.py”, line 240, in init

self.open()

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialwin32.py”, line 62, in open

raise SerialException(“could not open port {!r}: {!r}”.format(self.portstr, ctypes.WinError()))

serial.serialutil.SerialException: could not open port ‘COM3’: FileNotFoundError(2, ‘Das System kann die angegebene Datei nicht finden.’, None, 2)

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/a58dcdb1-c681-48fd-bcda-b0d14697e88a%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/9a08b045-4eed-4628-bba8-3e030bee4a07%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/39883aa6-e359-4704-9c48-9f3e417678a8%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/423d8163-92fb-4ec0-a1f7-a6272d651221%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/85699361-38cf-4b90-896f-1f6a4eb833da%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/150a3212-4244-438c-99ad-1949b3cc3b8b%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/eca88f4c-d457-40d1-9bb5-b891fa85b913%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/1bb659dc-8934-4cdc-9612-4565a2f5587a%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/f81e2f53-7bac-48e9-93b4-79c75ff3ae7a%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/f8e05a4f-6ddc-4bca-b23d-a73a4f549c7d%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

additional_pixels isn’t actually valid. That was a community submitted animation. No idea why that option is in the doc comment.

···

On Thu, Feb 21, 2019 at 10:09 AM Fabian Reingruber fs.reingruber@gmail.com wrote:

Okok…! I am getting closer!

import bibliopixel

causes frame timing information to be output

bibliopixel.log.setLogLevel(bibliopixel.log.FRAME)

from bibliopixel.drivers import ChannelOrder

Load driver for the AllPixel

from bibliopixel.drivers.serial import *

set number of pixels & LED type here

driver = Serial(num = 10, ledtype = LEDTYPE.WS2812B, c_order = ChannelOrder.RBG)

load the LEDStrip class

from bibliopixel.layout import *

led = Strip(driver)

from BiblioPixelAnimations.strip.PixelPingPong import PixelPingPong

#from PixelPingPong import PixelPingPong

anim = PixelPingPong(led, max_led=30, color=(0, 0, 255), additional_pixels=5, fade_delay=2)

try:

run the animation

anim.run()

except KeyboardInterrupt:

Ctrl+C will exit the animation and turn the LEDs offs

led.all_off()

led.update()

Error Message:

WARNING - deprecated - util.setLogLevel

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

Traceback (most recent call last):

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\Test2.py”, line 19, in

anim = PixelPingPong(led, max_led=30, color=(0, 0, 255), additional_pixels=5, fade_delay=2)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\BiblioPixelAnimations\strip\PixelPingPong.py”, line 27, in init

super().init(layout, 0, -1, **kwds)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\animation\strip.py”, line 10, in init

super().init(layout, **kwds)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\animation\animation.py”, line 59, in init

attributes.set_reserved(self, ‘animation’, **kwds)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\project\attributes.py”, line 9, in set_reserved

check(kwds, ‘%s %s’ % (section, value.class.name))

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\project\attributes.py”, line 5, in check

raise ValueError(‘Unknown attribute%s for %s: %s’ % (s, name, msg))

ValueError: Unknown attribute for animation PixelPingPong: "additional_pixels"

**>>> **

Am Donnerstag, 21. Februar 2019 15:57:19 UTC+1 schrieb Adam Haile:

Yes, as noted that should be from BiblioPixelAnimations.strip.PixelPingPong import PixelPingPong

On Thu, Feb 21, 2019 at 9:53 AM Fabian Reingruber fs.rei...@gmail.com wrote:

I run this single module in a python shell.
with your commandline I get the following:

WARNING - deprecated - util.setLogLevel

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

Traceback (most recent call last):

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\Test2.py”, line 18, in

from PixelPingPong import PixelPingPong

ModuleNotFoundError: No module named 'PixelPingPong’

Am Donnerstag, 21. Februar 2019 14:55:27 UTC+1 schrieb Adam Haile:

If should be from BiblioPixelAnimations.strip.PixelPingPong import PixelPingPong

Though not sure if that’s the full reason for the error.
Can you give me the exact command you are using to run your script?

On Thu, Feb 21, 2019 at 8:53 AM Fabian Reingruber fs.rei...@gmail.com wrote:

I simply exchanged the StripChannelTest with PixelPingPong… :slight_smile:

import bibliopixel

causes frame timing information to be output

bibliopixel.log.setLogLevel(bibliopixel.log.FRAME)

from bibliopixel.drivers import ChannelOrder

from bibliopixel.drivers.serial import *

Load driver for the AllPixel

from bibliopixel.drivers.serial import *

set number of pixels & LED type here

driver = Serial(num = 5, ledtype = LEDTYPE.WS2812B, c_order = ChannelOrder.RGB)

load the LEDStrip class

from bibliopixel.layout import *

led = Strip(driver)

from PixelPingPong import PixelPingPong

anim = PixelPingPong(led, max_led=30, color=(0, 0, 255), additional_pixels=5, fade_delay=2)

load channel test animation

#from bibliopixel.animation import StripChannelTest

#anim = StripChannelTest(led)

try:

run the animation

anim.run()

except KeyboardInterrupt:

Ctrl+C will exit the animation and turn the LEDs offs

led.all_off()

led.update()

Am Donnerstag, 21. Februar 2019 13:00:59 UTC+1 schrieb Adam Haile:

Can you send the actual file you are trying to run? I need more context.

On Thu, Feb 21, 2019 at 3:52 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Hi Adam,

You were right. All of my LEDs were broken. Probably because I had them connected to a bench power supply.

I have ordered new WS2812s and now the StripChannelTest is working.

Now if I want to run e.g. PixelPingPong instead I get this:

ImportError: cannot import name ‘Layout’ from 'bibliopixel.layout.layout’

So far I found that StripChannelTest is defined in the init and within tests.py

Do you please have a hint for me??? :slight_smile:

BR, Fabian

Am Freitag, 8. Februar 2019 19:05:24 UTC+1 schrieb Adam Haile:

c_order = ChannelOrder.RBG goes in the Serial() init, not in setLogLevel

On Fri, Feb 8, 2019 at 11:34 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Now I may have found something: With one LED connected I get bright green light.
But when I want to change the color via the suggested command: c_order = ChannelOrder.RBG it does not recognize this command:

Traceback (most recent call last):

File “”, line 1, in

File “C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.4\helpers\pydev_pydev_bundle\pydev_umd.py”, line 197, in runfile

pydev_imports.execfile(filename, global_vars, local_vars) # execute the script

File “C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.4\helpers\pydev_pydev_imps_pydev_execfile.py”, line 18, in execfile

exec(compile(contents+"\n", file, ‘exec’), glob, loc)

File “C:/Users/f.reingruber/PycharmProjects/Rainbow reloaded/Test.py”, line 3

bibliopixel.log.setLogLevel(bibliopixel.log.FRAME c_order = ChannelOrder.RBG)

^

SyntaxError: invalid syntax

Am Freitag, 8. Februar 2019 16:54:32 UTC+1 schrieb Fabian Reingruber:

I will try some other LEDs and let you know. Thank you so much for your great support! Fabian

Am Freitag, 8. Februar 2019 16:31:37 UTC+1 schrieb Adam Haile:

I’m stumped then. Most likely faulty LED. Have you tried connecting to a different LED in the chain? Those WS2812B LEDs are terrible about dying randomly

On Fri, Feb 8, 2019 at 10:28 AM Fabian Reingruber fs.rei...@gmail.com wrote:

All right :slight_smile: Yes I already did that!
So I did check V+ and GND connection in between the Capacitor and the LEDs.

DATA connection also looks good.

Am Freitag, 8. Februar 2019 16:07:47 UTC+1 schrieb Adam Haile:

Do you have a multimeter? Usually aside from voltage and current they have a continuity mode. It beeps when there’s a connection between the two probes.

On Fri, Feb 8, 2019 at 10:06 AM Fabian Reingruber fs.rei...@gmail.com wrote:

I … do not know how to do that :slight_smile:

Am Freitag, 8. Februar 2019 15:56:38 UTC+1 schrieb Adam Haile:

Are you able to confirm continuity between the AllPixel and the LEDs?

On Fri, Feb 8, 2019 at 9:54 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Hm… The solder connection seems to be fine … I connected one LED only, eleiminating the risk that the LEDs are the problem… same result

WARNING - deprecated - util.setLogLevel

WARNING - deprecated - BaseAnimation.run

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

DEBUG - animation_threading - Animation starts on main thread

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update:

Am Freitag, 8. Februar 2019 15:35:41 UTC+1 schrieb Adam Haile:

Oh… original AllPixel. Cool.
My only guess is that the data signal isn’t making it to the LEDs. I’d try disconnecting and redoing the connections. And then check that you have continuity between data on the AP and data on the first LED.

On Fri, Feb 8, 2019 at 9:30 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Yes of course!
These are type WS2812B. I have connected 46 breakout boards is a circle shaped row.

Connecting to power only, some of the LED light up in a random color.

import bibliopixel
# causes frame timing information to be output
bibliopixel.log.setLogLevel(bibliopixel.log.FRAME)

# Load driver for the AllPixel
from bibliopixel.drivers.serial import *
# set number of pixels & LED type here
driver = Serial(num = 10, ledtype = LEDTYPE.WS2812B)

# load the LEDStrip class
from bibliopixel.layout import *
led = Strip(driver)

# load channel test animation
from bibliopixel.animation import StripChannelTest
anim = StripChannelTest(led)

try:
    # run the animation
    anim.run()
except KeyboardInterrupt:
    # Ctrl+C will exit the animation and turn the LEDs offs
    led.all_off()
    led.update()

Am Freitag, 8. Februar 2019 15:20:11 UTC+1 schrieb Adam Haile:

So, yeah. You’re connecting fine. Just no output on the LEDs. What type of LEDs are you using? Did you set the correct type in the strip example script?
Can you send a picture of your LED connection to the AllPixel?

On Fri, Feb 8, 2019 at 9:05 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Ok!
I had to restart again as it seems to randomly loose connection:

WARNING - deprecated - util.setLogLevel

WARNING - deprecated - BaseAnimation.run

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

DEBUG - animation_threading - Animation starts on main thread

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

Am Freitag, 8. Februar 2019 14:38:05 UTC+1 schrieb Adam Haile:

So that shows me that it is connecting and you just aren’t getting any output on the strip.
Can you change this line:

bibliopixel.log.setLogLevel(bibliopixel.log.DEBUG)

to this:

bibliopixel.log.setLogLevel(bibliopixel.log.FRAME)

And then send me the console output you get?

On Fri, Feb 8, 2019 at 8:34 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Yes I had it up and running but this is a while ago already.
I have justv restarted everything and I am back at the previous error message:

WARNING - deprecated - util.setLogLevel

WARNING - deprecated - BaseAnimation.run

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

DEBUG - animation_threading - Animation starts on main thread

Am Freitag, 8. Februar 2019 13:31:30 UTC+1 schrieb Fabian Reingruber:

Here is the pip list:

Package Version


beautifulsoup4 4.7.1

BiblioPixel 3.4.44

BiblioPixelAnimations 3.20181225.205034

BiblioPixelTriggers 1.0.2

certifi 2018.11.29

chardet 3.0.4

Click 7.0

croniter 0.3.27

Flask 1.0.2

gitdb2 2.0.5

GitPython 2.1.11

idna 2.8

itsdangerous 1.1.0

Jinja2 2.10

loady 1.8.10

MarkupSafe 1.1.0

numpy 1.16.1

pip 19.0.1

pyserial 3.4

python-dateutil 2.8.0

PyYAML 3.13

requests 2.21.0

setuptools 40.6.2

six 1.12.0

smmap2 2.0.5

soupsieve 1.7.3

urllib3 1.24.1

Werkzeug 0.14.1

wheel 0.32.3

Am Freitag, 8. Februar 2019 13:22:17 UTC+1 schrieb Fabian Reingruber:

Hey Adam,

I am trying to reactivate my Allpixel.

Running your Strip Example I get the following response:

WARNING - deprecated - util.setLogLevel

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

WARNING - deprecated - BaseAnimation.run

DEBUG - animation_threading - Animation starts on main thread

Can you please help??

BR, Fabian


Adam:

BTW… support requests should go here -> https://groups.google.com/forum/#!forum/maniacal-labs-users

Was there any more to the console output? That looks like it connected… there’s no error. It found the device ID and Version (0 and 0 are correct for a new device). Are you just not getting any output on the LEDs?

What version of bibliopixel are you running? Please send the output of pip list


Thank you for the fast response!

I am a noob in programming so I try different approaches for hours now.

Bibliopixel is the latest version 3.4.44

The Allpixel is connected to COM3.

Right now I get this response in Pycharm:

WARNING - deprecated - util.setLogLevel

DEBUG - devices - Error getting device_id for COM3, 921600

ERROR - driver - Traceback (most recent call last):

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\driver.py”, line 87, in _connect

self.devices.find_serial_devices()

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\devices.py”, line 51, in find_serial_devices

id = self.get_device_id(port)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\devices.py”, line 126, in get_device_id

com, code, ok = io.send_packet(CMDTYPE.GETID, 0, dev, self.baudrate, 5)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\io.py”, line 11, in send_packet

com = serial.Serial(dev, baudrate=baudrate, timeout=timeout)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialwin32.py”, line 31, in init

super(Serial, self).init(*args, **kwargs)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialutil.py”, line 240, in init

self.open()

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialwin32.py”, line 62, in open

raise SerialException(“could not open port {!r}: {!r}”.format(self.portstr, ctypes.WinError()))

serial.serialutil.SerialException: could not open port ‘COM3’: FileNotFoundError(2, ‘Das System kann die angegebene Datei nicht finden.’, None, 2)

ERROR - driver - Unable to connect to the device. Please check that it is connected and the correct port is selected.

Traceback (most recent call last):

File “”, line 1, in

File “C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.4\helpers\pydev_pydev_bundle\pydev_umd.py”, line 197, in runfile

pydev_imports.execfile(filename, global_vars, local_vars) # execute the script

File “C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.4\helpers\pydev_pydev_imps_pydev_execfile.py”, line 18, in execfile

exec(compile(contents+"\n", file, ‘exec’), glob, loc)

File “C:/Users/f.reingruber/PycharmProjects/Rainbow reloaded/Test.py”, line 8, in

driver = Serial(num = 10, ledtype = LEDTYPE.WS2812B)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\driver.py”, line 62, in init

resp = self._connect()

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\driver.py”, line 129, in _connect

raise e

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\driver.py”, line 87, in _connect

self.devices.find_serial_devices()

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\devices.py”, line 51, in find_serial_devices

id = self.get_device_id(port)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\devices.py”, line 126, in get_device_id

com, code, ok = io.send_packet(CMDTYPE.GETID, 0, dev, self.baudrate, 5)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\io.py”, line 11, in send_packet

com = serial.Serial(dev, baudrate=baudrate, timeout=timeout)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialwin32.py”, line 31, in init

super(Serial, self).init(*args, **kwargs)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialutil.py”, line 240, in init

self.open()

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialwin32.py”, line 62, in open

raise SerialException(“could not open port {!r}: {!r}”.format(self.portstr, ctypes.WinError()))

serial.serialutil.SerialException: could not open port ‘COM3’: FileNotFoundError(2, ‘Das System kann die angegebene Datei nicht finden.’, None, 2)

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/a58dcdb1-c681-48fd-bcda-b0d14697e88a%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/9a08b045-4eed-4628-bba8-3e030bee4a07%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/39883aa6-e359-4704-9c48-9f3e417678a8%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/423d8163-92fb-4ec0-a1f7-a6272d651221%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/85699361-38cf-4b90-896f-1f6a4eb833da%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/150a3212-4244-438c-99ad-1949b3cc3b8b%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/eca88f4c-d457-40d1-9bb5-b891fa85b913%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/1bb659dc-8934-4cdc-9612-4565a2f5587a%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/f81e2f53-7bac-48e9-93b4-79c75ff3ae7a%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/f8e05a4f-6ddc-4bca-b23d-a73a4f549c7d%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-labs-users@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/45922aaa-8b30-44cc-9c56-182cd740ce7e%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Hi Adam, I am really desperate … because of my poor Python programming skills.
Can we please try one more time?

So I run this Module and 6 LEDs light up as expected:

import bibliopixel
# causes frame timing information to be output

bibliopixel.log.setLogLevel(bibliopixel.log.FRAME)

from bibliopixel.drivers import ChannelOrder

# Load driver for the AllPixel

from bibliopixel.drivers.serial import *

# set number of pixels & LED type here

driver = Serial(num = 15, ledtype = LEDTYPE.WS2812B, c_order = ChannelOrder.RGB)

# load the LEDStrip class

from bibliopixel.layout import *

led = Strip(driver)

# load channel test animation

from bibliopixel.animation import *

anim = StripChannelTest(led)

try:

# run the animation

anim.run()

except KeyboardInterrupt:

# Ctrl+C will exit the animation and turn the LEDs offs

led.all_off()

led.update()

Now if I want to run Rainbows instead of StripChannelTest - what do I have to change?

Thank you Adam!

Fabian

···

Am Donnerstag, 21. Februar 2019 16:12:24 UTC+1 schrieb Adam Haile:

additional_pixels isn’t actually valid. That was a community submitted animation. No idea why that option is in the doc comment.

On Thu, Feb 21, 2019 at 10:09 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Okok…! I am getting closer!

import bibliopixel

causes frame timing information to be output

bibliopixel.log.setLogLevel(bibliopixel.log.FRAME)

from bibliopixel.drivers import ChannelOrder

Load driver for the AllPixel

from bibliopixel.drivers.serial import *

set number of pixels & LED type here

driver = Serial(num = 10, ledtype = LEDTYPE.WS2812B, c_order = ChannelOrder.RBG)

load the LEDStrip class

from bibliopixel.layout import *

led = Strip(driver)

from BiblioPixelAnimations.strip.PixelPingPong import PixelPingPong

#from PixelPingPong import PixelPingPong

anim = PixelPingPong(led, max_led=30, color=(0, 0, 255), additional_pixels=5, fade_delay=2)

try:

run the animation

anim.run()

except KeyboardInterrupt:

Ctrl+C will exit the animation and turn the LEDs offs

led.all_off()

led.update()

Error Message:

WARNING - deprecated - util.setLogLevel

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

Traceback (most recent call last):

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\Test2.py”, line 19, in

anim = PixelPingPong(led, max_led=30, color=(0, 0, 255), additional_pixels=5, fade_delay=2)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\BiblioPixelAnimations\strip\PixelPingPong.py”, line 27, in init

super().init(layout, 0, -1, **kwds)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\animation\strip.py”, line 10, in init

super().init(layout, **kwds)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\animation\animation.py”, line 59, in init

attributes.set_reserved(self, ‘animation’, **kwds)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\project\attributes.py”, line 9, in set_reserved

check(kwds, ‘%s %s’ % (section, value.class.name))

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\project\attributes.py”, line 5, in check

raise ValueError(‘Unknown attribute%s for %s: %s’ % (s, name, msg))

ValueError: Unknown attribute for animation PixelPingPong: "additional_pixels"

**>>> **

Am Donnerstag, 21. Februar 2019 15:57:19 UTC+1 schrieb Adam Haile:

Yes, as noted that should be from BiblioPixelAnimations.strip.PixelPingPong import PixelPingPong

On Thu, Feb 21, 2019 at 9:53 AM Fabian Reingruber fs.rei...@gmail.com wrote:

I run this single module in a python shell.
with your commandline I get the following:

WARNING - deprecated - util.setLogLevel

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

Traceback (most recent call last):

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\Test2.py”, line 18, in

from PixelPingPong import PixelPingPong

ModuleNotFoundError: No module named 'PixelPingPong’

Am Donnerstag, 21. Februar 2019 14:55:27 UTC+1 schrieb Adam Haile:

If should be from BiblioPixelAnimations.strip.PixelPingPong import PixelPingPong

Though not sure if that’s the full reason for the error.
Can you give me the exact command you are using to run your script?

On Thu, Feb 21, 2019 at 8:53 AM Fabian Reingruber fs.rei...@gmail.com wrote:

I simply exchanged the StripChannelTest with PixelPingPong… :slight_smile:

import bibliopixel

causes frame timing information to be output

bibliopixel.log.setLogLevel(bibliopixel.log.FRAME)

from bibliopixel.drivers import ChannelOrder

from bibliopixel.drivers.serial import *

Load driver for the AllPixel

from bibliopixel.drivers.serial import *

set number of pixels & LED type here

driver = Serial(num = 5, ledtype = LEDTYPE.WS2812B, c_order = ChannelOrder.RGB)

load the LEDStrip class

from bibliopixel.layout import *

led = Strip(driver)

from PixelPingPong import PixelPingPong

anim = PixelPingPong(led, max_led=30, color=(0, 0, 255), additional_pixels=5, fade_delay=2)

load channel test animation

#from bibliopixel.animation import StripChannelTest

#anim = StripChannelTest(led)

try:

run the animation

anim.run()

except KeyboardInterrupt:

Ctrl+C will exit the animation and turn the LEDs offs

led.all_off()

led.update()

Am Donnerstag, 21. Februar 2019 13:00:59 UTC+1 schrieb Adam Haile:

Can you send the actual file you are trying to run? I need more context.

On Thu, Feb 21, 2019 at 3:52 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Hi Adam,

You were right. All of my LEDs were broken. Probably because I had them connected to a bench power supply.

I have ordered new WS2812s and now the StripChannelTest is working.

Now if I want to run e.g. PixelPingPong instead I get this:

ImportError: cannot import name ‘Layout’ from 'bibliopixel.layout.layout’

So far I found that StripChannelTest is defined in the init and within tests.py

Do you please have a hint for me??? :slight_smile:

BR, Fabian

Am Freitag, 8. Februar 2019 19:05:24 UTC+1 schrieb Adam Haile:

c_order = ChannelOrder.RBG goes in the Serial() init, not in setLogLevel

On Fri, Feb 8, 2019 at 11:34 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Now I may have found something: With one LED connected I get bright green light.
But when I want to change the color via the suggested command: c_order = ChannelOrder.RBG it does not recognize this command:

Traceback (most recent call last):

File “”, line 1, in

File “C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.4\helpers\pydev_pydev_bundle\pydev_umd.py”, line 197, in runfile

pydev_imports.execfile(filename, global_vars, local_vars) # execute the script

File “C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.4\helpers\pydev_pydev_imps_pydev_execfile.py”, line 18, in execfile

exec(compile(contents+"\n", file, ‘exec’), glob, loc)

File “C:/Users/f.reingruber/PycharmProjects/Rainbow reloaded/Test.py”, line 3

bibliopixel.log.setLogLevel(bibliopixel.log.FRAME c_order = ChannelOrder.RBG)

^

SyntaxError: invalid syntax

Am Freitag, 8. Februar 2019 16:54:32 UTC+1 schrieb Fabian Reingruber:

I will try some other LEDs and let you know. Thank you so much for your great support! Fabian

Am Freitag, 8. Februar 2019 16:31:37 UTC+1 schrieb Adam Haile:

I’m stumped then. Most likely faulty LED. Have you tried connecting to a different LED in the chain? Those WS2812B LEDs are terrible about dying randomly

On Fri, Feb 8, 2019 at 10:28 AM Fabian Reingruber fs.rei...@gmail.com wrote:

All right :slight_smile: Yes I already did that!
So I did check V+ and GND connection in between the Capacitor and the LEDs.

DATA connection also looks good.

Am Freitag, 8. Februar 2019 16:07:47 UTC+1 schrieb Adam Haile:

Do you have a multimeter? Usually aside from voltage and current they have a continuity mode. It beeps when there’s a connection between the two probes.

On Fri, Feb 8, 2019 at 10:06 AM Fabian Reingruber fs.rei...@gmail.com wrote:

I … do not know how to do that :slight_smile:

Am Freitag, 8. Februar 2019 15:56:38 UTC+1 schrieb Adam Haile:

Are you able to confirm continuity between the AllPixel and the LEDs?

On Fri, Feb 8, 2019 at 9:54 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Hm… The solder connection seems to be fine … I connected one LED only, eleiminating the risk that the LEDs are the problem… same result

WARNING - deprecated - util.setLogLevel

WARNING - deprecated - BaseAnimation.run

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

DEBUG - animation_threading - Animation starts on main thread

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update:

Am Freitag, 8. Februar 2019 15:35:41 UTC+1 schrieb Adam Haile:

Oh… original AllPixel. Cool.
My only guess is that the data signal isn’t making it to the LEDs. I’d try disconnecting and redoing the connections. And then check that you have continuity between data on the AP and data on the first LED.

On Fri, Feb 8, 2019 at 9:30 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Yes of course!
These are type WS2812B. I have connected 46 breakout boards is a circle shaped row.

Connecting to power only, some of the LED light up in a random color.

import bibliopixel
# causes frame timing information to be output
bibliopixel.log.setLogLevel(bibliopixel.log.FRAME)

# Load driver for the AllPixel
from bibliopixel.drivers.serial import *
# set number of pixels & LED type here
driver = Serial(num = 10, ledtype = LEDTYPE.WS2812B)

# load the LEDStrip class
from bibliopixel.layout import *
led = Strip(driver)

# load channel test animation
from bibliopixel.animation import StripChannelTest
anim = StripChannelTest(led)

try:
    # run the animation
    anim.run()
except KeyboardInterrupt:
    # Ctrl+C will exit the animation and turn the LEDs offs
    led.all_off()
    led.update()

Am Freitag, 8. Februar 2019 15:20:11 UTC+1 schrieb Adam Haile:

So, yeah. You’re connecting fine. Just no output on the LEDs. What type of LEDs are you using? Did you set the correct type in the strip example script?
Can you send a picture of your LED connection to the AllPixel?

On Fri, Feb 8, 2019 at 9:05 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Ok!
I had to restart again as it seems to randomly loose connection:

WARNING - deprecated - util.setLogLevel

WARNING - deprecated - BaseAnimation.run

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

DEBUG - animation_threading - Animation starts on main thread

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

Am Freitag, 8. Februar 2019 14:38:05 UTC+1 schrieb Adam Haile:

So that shows me that it is connecting and you just aren’t getting any output on the strip.
Can you change this line:

bibliopixel.log.setLogLevel(bibliopixel.log.DEBUG)

to this:

bibliopixel.log.setLogLevel(bibliopixel.log.FRAME)

And then send me the console output you get?

On Fri, Feb 8, 2019 at 8:34 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Yes I had it up and running but this is a while ago already.
I have justv restarted everything and I am back at the previous error message:

WARNING - deprecated - util.setLogLevel

WARNING - deprecated - BaseAnimation.run

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

DEBUG - animation_threading - Animation starts on main thread

Am Freitag, 8. Februar 2019 13:31:30 UTC+1 schrieb Fabian Reingruber:

Here is the pip list:

Package Version


beautifulsoup4 4.7.1

BiblioPixel 3.4.44

BiblioPixelAnimations 3.20181225.205034

BiblioPixelTriggers 1.0.2

certifi 2018.11.29

chardet 3.0.4

Click 7.0

croniter 0.3.27

Flask 1.0.2

gitdb2 2.0.5

GitPython 2.1.11

idna 2.8

itsdangerous 1.1.0

Jinja2 2.10

loady 1.8.10

MarkupSafe 1.1.0

numpy 1.16.1

pip 19.0.1

pyserial 3.4

python-dateutil 2.8.0

PyYAML 3.13

requests 2.21.0

setuptools 40.6.2

six 1.12.0

smmap2 2.0.5

soupsieve 1.7.3

urllib3 1.24.1

Werkzeug 0.14.1

wheel 0.32.3

Am Freitag, 8. Februar 2019 13:22:17 UTC+1 schrieb Fabian Reingruber:

Hey Adam,

I am trying to reactivate my Allpixel.

Running your Strip Example I get the following response:

WARNING - deprecated - util.setLogLevel

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

WARNING - deprecated - BaseAnimation.run

DEBUG - animation_threading - Animation starts on main thread

Can you please help??

BR, Fabian


Adam:

BTW… support requests should go here -> https://groups.google.com/forum/#!forum/maniacal-labs-users

Was there any more to the console output? That looks like it connected… there’s no error. It found the device ID and Version (0 and 0 are correct for a new device). Are you just not getting any output on the LEDs?

What version of bibliopixel are you running? Please send the output of pip list


Thank you for the fast response!

I am a noob in programming so I try different approaches for hours now.

Bibliopixel is the latest version 3.4.44

The Allpixel is connected to COM3.

Right now I get this response in Pycharm:

WARNING - deprecated - util.setLogLevel

DEBUG - devices - Error getting device_id for COM3, 921600

ERROR - driver - Traceback (most recent call last):

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\driver.py”, line 87, in _connect

self.devices.find_serial_devices()

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\devices.py”, line 51, in find_serial_devices

id = self.get_device_id(port)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\devices.py”, line 126, in get_device_id

com, code, ok = io.send_packet(CMDTYPE.GETID, 0, dev, self.baudrate, 5)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\io.py”, line 11, in send_packet

com = serial.Serial(dev, baudrate=baudrate, timeout=timeout)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialwin32.py”, line 31, in init

super(Serial, self).init(*args, **kwargs)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialutil.py”, line 240, in init

self.open()

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialwin32.py”, line 62, in open

raise SerialException(“could not open port {!r}: {!r}”.format(self.portstr, ctypes.WinError()))

serial.serialutil.SerialException: could not open port ‘COM3’: FileNotFoundError(2, ‘Das System kann die angegebene Datei nicht finden.’, None, 2)

ERROR - driver - Unable to connect to the device. Please check that it is connected and the correct port is selected.

Traceback (most recent call last):

File “”, line 1, in

File “C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.4\helpers\pydev_pydev_bundle\pydev_umd.py”, line 197, in runfile

pydev_imports.execfile(filename, global_vars, local_vars) # execute the script

File “C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.4\helpers\pydev_pydev_imps_pydev_execfile.py”, line 18, in execfile

exec(compile(contents+"\n", file, ‘exec’), glob, loc)

File “C:/Users/f.reingruber/PycharmProjects/Rainbow reloaded/Test.py”, line 8, in

driver = Serial(num = 10, ledtype = LEDTYPE.WS2812B)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\driver.py”, line 62, in init

resp = self._connect()

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\driver.py”, line 129, in _connect

raise e

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\driver.py”, line 87, in _connect

self.devices.find_serial_devices()

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\devices.py”, line 51, in find_serial_devices

id = self.get_device_id(port)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\devices.py”, line 126, in get_device_id

com, code, ok = io.send_packet(CMDTYPE.GETID, 0, dev, self.baudrate, 5)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\io.py”, line 11, in send_packet

com = serial.Serial(dev, baudrate=baudrate, timeout=timeout)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialwin32.py”, line 31, in init

super(Serial, self).init(*args, **kwargs)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialutil.py”, line 240, in init

self.open()

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialwin32.py”, line 62, in open

raise SerialException(“could not open port {!r}: {!r}”.format(self.portstr, ctypes.WinError()))

serial.serialutil.SerialException: could not open port ‘COM3’: FileNotFoundError(2, ‘Das System kann die angegebene Datei nicht finden.’, None, 2)

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/a58dcdb1-c681-48fd-bcda-b0d14697e88a%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/9a08b045-4eed-4628-bba8-3e030bee4a07%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/39883aa6-e359-4704-9c48-9f3e417678a8%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/423d8163-92fb-4ec0-a1f7-a6272d651221%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/85699361-38cf-4b90-896f-1f6a4eb833da%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/150a3212-4244-438c-99ad-1949b3cc3b8b%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/eca88f4c-d457-40d1-9bb5-b891fa85b913%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/1bb659dc-8934-4cdc-9612-4565a2f5587a%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/f81e2f53-7bac-48e9-93b4-79c75ff3ae7a%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/f8e05a4f-6ddc-4bca-b23d-a73a4f549c7d%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/45922aaa-8b30-44cc-9c56-182cd740ce7e%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Same as the other animation. from BiblioPixelAnimations.strip.Rainbows import RainbowCycle then use the anim = RainbowCycle(<your params>) animation init

···

On Fri, Feb 22, 2019 at 11:10 AM Fabian Reingruber fs.reingruber@gmail.com wrote:

Hi Adam, I am really desperate … because of my poor Python programming skills.
Can we please try one more time?

So I run this Module and 6 LEDs light up as expected:

import bibliopixel
# causes frame timing information to be output

bibliopixel.log.setLogLevel(bibliopixel.log.FRAME)

from bibliopixel.drivers import ChannelOrder

# Load driver for the AllPixel

from bibliopixel.drivers.serial import *

# set number of pixels & LED type here

driver = Serial(num = 15, ledtype = LEDTYPE.WS2812B, c_order = ChannelOrder.RGB)

# load the LEDStrip class

from bibliopixel.layout import *

led = Strip(driver)

# load channel test animation

from bibliopixel.animation import *

anim = StripChannelTest(led)

try:

# run the animation

anim.run()

except KeyboardInterrupt:

# Ctrl+C will exit the animation and turn the LEDs offs

led.all_off()

led.update()

Now if I want to run Rainbows instead of StripChannelTest - what do I have to change?

Thank you Adam!

Fabian

Am Donnerstag, 21. Februar 2019 16:12:24 UTC+1 schrieb Adam Haile:

additional_pixels isn’t actually valid. That was a community submitted animation. No idea why that option is in the doc comment.

On Thu, Feb 21, 2019 at 10:09 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Okok…! I am getting closer!

import bibliopixel

causes frame timing information to be output

bibliopixel.log.setLogLevel(bibliopixel.log.FRAME)

from bibliopixel.drivers import ChannelOrder

Load driver for the AllPixel

from bibliopixel.drivers.serial import *

set number of pixels & LED type here

driver = Serial(num = 10, ledtype = LEDTYPE.WS2812B, c_order = ChannelOrder.RBG)

load the LEDStrip class

from bibliopixel.layout import *

led = Strip(driver)

from BiblioPixelAnimations.strip.PixelPingPong import PixelPingPong

#from PixelPingPong import PixelPingPong

anim = PixelPingPong(led, max_led=30, color=(0, 0, 255), additional_pixels=5, fade_delay=2)

try:

run the animation

anim.run()

except KeyboardInterrupt:

Ctrl+C will exit the animation and turn the LEDs offs

led.all_off()

led.update()

Error Message:

WARNING - deprecated - util.setLogLevel

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

Traceback (most recent call last):

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\Test2.py”, line 19, in

anim = PixelPingPong(led, max_led=30, color=(0, 0, 255), additional_pixels=5, fade_delay=2)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\BiblioPixelAnimations\strip\PixelPingPong.py”, line 27, in init

super().init(layout, 0, -1, **kwds)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\animation\strip.py”, line 10, in init

super().init(layout, **kwds)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\animation\animation.py”, line 59, in init

attributes.set_reserved(self, ‘animation’, **kwds)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\project\attributes.py”, line 9, in set_reserved

check(kwds, ‘%s %s’ % (section, value.class.name))

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\project\attributes.py”, line 5, in check

raise ValueError(‘Unknown attribute%s for %s: %s’ % (s, name, msg))

ValueError: Unknown attribute for animation PixelPingPong: "additional_pixels"

**>>> **

Am Donnerstag, 21. Februar 2019 15:57:19 UTC+1 schrieb Adam Haile:

Yes, as noted that should be from BiblioPixelAnimations.strip.PixelPingPong import PixelPingPong

On Thu, Feb 21, 2019 at 9:53 AM Fabian Reingruber fs.rei...@gmail.com wrote:

I run this single module in a python shell.
with your commandline I get the following:

WARNING - deprecated - util.setLogLevel

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

Traceback (most recent call last):

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\Test2.py”, line 18, in

from PixelPingPong import PixelPingPong

ModuleNotFoundError: No module named 'PixelPingPong’

Am Donnerstag, 21. Februar 2019 14:55:27 UTC+1 schrieb Adam Haile:

If should be from BiblioPixelAnimations.strip.PixelPingPong import PixelPingPong

Though not sure if that’s the full reason for the error.
Can you give me the exact command you are using to run your script?

On Thu, Feb 21, 2019 at 8:53 AM Fabian Reingruber fs.rei...@gmail.com wrote:

I simply exchanged the StripChannelTest with PixelPingPong… :slight_smile:

import bibliopixel

causes frame timing information to be output

bibliopixel.log.setLogLevel(bibliopixel.log.FRAME)

from bibliopixel.drivers import ChannelOrder

from bibliopixel.drivers.serial import *

Load driver for the AllPixel

from bibliopixel.drivers.serial import *

set number of pixels & LED type here

driver = Serial(num = 5, ledtype = LEDTYPE.WS2812B, c_order = ChannelOrder.RGB)

load the LEDStrip class

from bibliopixel.layout import *

led = Strip(driver)

from PixelPingPong import PixelPingPong

anim = PixelPingPong(led, max_led=30, color=(0, 0, 255), additional_pixels=5, fade_delay=2)

load channel test animation

#from bibliopixel.animation import StripChannelTest

#anim = StripChannelTest(led)

try:

run the animation

anim.run()

except KeyboardInterrupt:

Ctrl+C will exit the animation and turn the LEDs offs

led.all_off()

led.update()

Am Donnerstag, 21. Februar 2019 13:00:59 UTC+1 schrieb Adam Haile:

Can you send the actual file you are trying to run? I need more context.

On Thu, Feb 21, 2019 at 3:52 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Hi Adam,

You were right. All of my LEDs were broken. Probably because I had them connected to a bench power supply.

I have ordered new WS2812s and now the StripChannelTest is working.

Now if I want to run e.g. PixelPingPong instead I get this:

ImportError: cannot import name ‘Layout’ from 'bibliopixel.layout.layout’

So far I found that StripChannelTest is defined in the init and within tests.py

Do you please have a hint for me??? :slight_smile:

BR, Fabian

Am Freitag, 8. Februar 2019 19:05:24 UTC+1 schrieb Adam Haile:

c_order = ChannelOrder.RBG goes in the Serial() init, not in setLogLevel

On Fri, Feb 8, 2019 at 11:34 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Now I may have found something: With one LED connected I get bright green light.
But when I want to change the color via the suggested command: c_order = ChannelOrder.RBG it does not recognize this command:

Traceback (most recent call last):

File “”, line 1, in

File “C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.4\helpers\pydev_pydev_bundle\pydev_umd.py”, line 197, in runfile

pydev_imports.execfile(filename, global_vars, local_vars) # execute the script

File “C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.4\helpers\pydev_pydev_imps_pydev_execfile.py”, line 18, in execfile

exec(compile(contents+"\n", file, ‘exec’), glob, loc)

File “C:/Users/f.reingruber/PycharmProjects/Rainbow reloaded/Test.py”, line 3

bibliopixel.log.setLogLevel(bibliopixel.log.FRAME c_order = ChannelOrder.RBG)

^

SyntaxError: invalid syntax

Am Freitag, 8. Februar 2019 16:54:32 UTC+1 schrieb Fabian Reingruber:

I will try some other LEDs and let you know. Thank you so much for your great support! Fabian

Am Freitag, 8. Februar 2019 16:31:37 UTC+1 schrieb Adam Haile:

I’m stumped then. Most likely faulty LED. Have you tried connecting to a different LED in the chain? Those WS2812B LEDs are terrible about dying randomly

On Fri, Feb 8, 2019 at 10:28 AM Fabian Reingruber fs.rei...@gmail.com wrote:

All right :slight_smile: Yes I already did that!
So I did check V+ and GND connection in between the Capacitor and the LEDs.

DATA connection also looks good.

Am Freitag, 8. Februar 2019 16:07:47 UTC+1 schrieb Adam Haile:

Do you have a multimeter? Usually aside from voltage and current they have a continuity mode. It beeps when there’s a connection between the two probes.

On Fri, Feb 8, 2019 at 10:06 AM Fabian Reingruber fs.rei...@gmail.com wrote:

I … do not know how to do that :slight_smile:

Am Freitag, 8. Februar 2019 15:56:38 UTC+1 schrieb Adam Haile:

Are you able to confirm continuity between the AllPixel and the LEDs?

On Fri, Feb 8, 2019 at 9:54 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Hm… The solder connection seems to be fine … I connected one LED only, eleiminating the risk that the LEDs are the problem… same result

WARNING - deprecated - util.setLogLevel

WARNING - deprecated - BaseAnimation.run

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

DEBUG - animation_threading - Animation starts on main thread

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update:

Am Freitag, 8. Februar 2019 15:35:41 UTC+1 schrieb Adam Haile:

Oh… original AllPixel. Cool.
My only guess is that the data signal isn’t making it to the LEDs. I’d try disconnecting and redoing the connections. And then check that you have continuity between data on the AP and data on the first LED.

On Fri, Feb 8, 2019 at 9:30 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Yes of course!
These are type WS2812B. I have connected 46 breakout boards is a circle shaped row.

Connecting to power only, some of the LED light up in a random color.

import bibliopixel
# causes frame timing information to be output
bibliopixel.log.setLogLevel(bibliopixel.log.FRAME)

# Load driver for the AllPixel
from bibliopixel.drivers.serial import *
# set number of pixels & LED type here
driver = Serial(num = 10, ledtype = LEDTYPE.WS2812B)

# load the LEDStrip class
from bibliopixel.layout import *
led = Strip(driver)

# load channel test animation
from bibliopixel.animation import StripChannelTest
anim = StripChannelTest(led)

try:
    # run the animation
    anim.run()
except KeyboardInterrupt:
    # Ctrl+C will exit the animation and turn the LEDs offs
    led.all_off()
    led.update()

Am Freitag, 8. Februar 2019 15:20:11 UTC+1 schrieb Adam Haile:

So, yeah. You’re connecting fine. Just no output on the LEDs. What type of LEDs are you using? Did you set the correct type in the strip example script?
Can you send a picture of your LED connection to the AllPixel?

On Fri, Feb 8, 2019 at 9:05 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Ok!
I had to restart again as it seems to randomly loose connection:

WARNING - deprecated - util.setLogLevel

WARNING - deprecated - BaseAnimation.run

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

DEBUG - animation_threading - Animation starts on main thread

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

Am Freitag, 8. Februar 2019 14:38:05 UTC+1 schrieb Adam Haile:

So that shows me that it is connecting and you just aren’t getting any output on the strip.
Can you change this line:

bibliopixel.log.setLogLevel(bibliopixel.log.DEBUG)

to this:

bibliopixel.log.setLogLevel(bibliopixel.log.FRAME)

And then send me the console output you get?

On Fri, Feb 8, 2019 at 8:34 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Yes I had it up and running but this is a while ago already.
I have justv restarted everything and I am back at the previous error message:

WARNING - deprecated - util.setLogLevel

WARNING - deprecated - BaseAnimation.run

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

DEBUG - animation_threading - Animation starts on main thread

Am Freitag, 8. Februar 2019 13:31:30 UTC+1 schrieb Fabian Reingruber:

Here is the pip list:

Package Version


beautifulsoup4 4.7.1

BiblioPixel 3.4.44

BiblioPixelAnimations 3.20181225.205034

BiblioPixelTriggers 1.0.2

certifi 2018.11.29

chardet 3.0.4

Click 7.0

croniter 0.3.27

Flask 1.0.2

gitdb2 2.0.5

GitPython 2.1.11

idna 2.8

itsdangerous 1.1.0

Jinja2 2.10

loady 1.8.10

MarkupSafe 1.1.0

numpy 1.16.1

pip 19.0.1

pyserial 3.4

python-dateutil 2.8.0

PyYAML 3.13

requests 2.21.0

setuptools 40.6.2

six 1.12.0

smmap2 2.0.5

soupsieve 1.7.3

urllib3 1.24.1

Werkzeug 0.14.1

wheel 0.32.3

Am Freitag, 8. Februar 2019 13:22:17 UTC+1 schrieb Fabian Reingruber:

Hey Adam,

I am trying to reactivate my Allpixel.

Running your Strip Example I get the following response:

WARNING - deprecated - util.setLogLevel

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

WARNING - deprecated - BaseAnimation.run

DEBUG - animation_threading - Animation starts on main thread

Can you please help??

BR, Fabian


Adam:

BTW… support requests should go here -> https://groups.google.com/forum/#!forum/maniacal-labs-users

Was there any more to the console output? That looks like it connected… there’s no error. It found the device ID and Version (0 and 0 are correct for a new device). Are you just not getting any output on the LEDs?

What version of bibliopixel are you running? Please send the output of pip list


Thank you for the fast response!

I am a noob in programming so I try different approaches for hours now.

Bibliopixel is the latest version 3.4.44

The Allpixel is connected to COM3.

Right now I get this response in Pycharm:

WARNING - deprecated - util.setLogLevel

DEBUG - devices - Error getting device_id for COM3, 921600

ERROR - driver - Traceback (most recent call last):

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\driver.py”, line 87, in _connect

self.devices.find_serial_devices()

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\devices.py”, line 51, in find_serial_devices

id = self.get_device_id(port)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\devices.py”, line 126, in get_device_id

com, code, ok = io.send_packet(CMDTYPE.GETID, 0, dev, self.baudrate, 5)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\io.py”, line 11, in send_packet

com = serial.Serial(dev, baudrate=baudrate, timeout=timeout)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialwin32.py”, line 31, in init

super(Serial, self).init(*args, **kwargs)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialutil.py”, line 240, in init

self.open()

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialwin32.py”, line 62, in open

raise SerialException(“could not open port {!r}: {!r}”.format(self.portstr, ctypes.WinError()))

serial.serialutil.SerialException: could not open port ‘COM3’: FileNotFoundError(2, ‘Das System kann die angegebene Datei nicht finden.’, None, 2)

ERROR - driver - Unable to connect to the device. Please check that it is connected and the correct port is selected.

Traceback (most recent call last):

File “”, line 1, in

File “C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.4\helpers\pydev_pydev_bundle\pydev_umd.py”, line 197, in runfile

pydev_imports.execfile(filename, global_vars, local_vars) # execute the script

File “C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.4\helpers\pydev_pydev_imps_pydev_execfile.py”, line 18, in execfile

exec(compile(contents+"\n", file, ‘exec’), glob, loc)

File “C:/Users/f.reingruber/PycharmProjects/Rainbow reloaded/Test.py”, line 8, in

driver = Serial(num = 10, ledtype = LEDTYPE.WS2812B)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\driver.py”, line 62, in init

resp = self._connect()

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\driver.py”, line 129, in _connect

raise e

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\driver.py”, line 87, in _connect

self.devices.find_serial_devices()

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\devices.py”, line 51, in find_serial_devices

id = self.get_device_id(port)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\devices.py”, line 126, in get_device_id

com, code, ok = io.send_packet(CMDTYPE.GETID, 0, dev, self.baudrate, 5)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\io.py”, line 11, in send_packet

com = serial.Serial(dev, baudrate=baudrate, timeout=timeout)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialwin32.py”, line 31, in init

super(Serial, self).init(*args, **kwargs)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialutil.py”, line 240, in init

self.open()

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialwin32.py”, line 62, in open

raise SerialException(“could not open port {!r}: {!r}”.format(self.portstr, ctypes.WinError()))

serial.serialutil.SerialException: could not open port ‘COM3’: FileNotFoundError(2, ‘Das System kann die angegebene Datei nicht finden.’, None, 2)

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/a58dcdb1-c681-48fd-bcda-b0d14697e88a%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/9a08b045-4eed-4628-bba8-3e030bee4a07%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/39883aa6-e359-4704-9c48-9f3e417678a8%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/423d8163-92fb-4ec0-a1f7-a6272d651221%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/85699361-38cf-4b90-896f-1f6a4eb833da%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/150a3212-4244-438c-99ad-1949b3cc3b8b%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/eca88f4c-d457-40d1-9bb5-b891fa85b913%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/1bb659dc-8934-4cdc-9612-4565a2f5587a%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/f81e2f53-7bac-48e9-93b4-79c75ff3ae7a%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/f8e05a4f-6ddc-4bca-b23d-a73a4f549c7d%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/45922aaa-8b30-44cc-9c56-182cd740ce7e%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-labs-users@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/4d9bf511-3bc8-4792-b473-1e30eb9979ed%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Back again :slight_smile:

import bibliopixel
# causes frame timing information to be output
bibliopixel.log.setLogLevel(bibliopixel.log.FRAME)

from bibliopixel.drivers import ChannelOrder
from BiblioPixelAnimations.strip.Rainbows import RainbowCycle

# Load driver for the AllPixel
from bibliopixel.drivers.serial import *
# set number of pixels & LED type here
driver = Serial(num = 5, ledtype = LEDTYPE.WS2812B, c_order = ChannelOrder.RBG)

# load the LEDStrip class
from bibliopixel.layout import *
led = Strip(driver)

anim = RainbowCycle(led)

try:
    # run the animation
    anim.run()
except KeyboardInterrupt:
    # Ctrl+C will exit the animation and turn the LEDs offs
    led.all_off()
    led.update()

–> Process finished with exit code 0 °_°

···

Am Freitag, 22. Februar 2019 17:13:38 UTC+1 schrieb Adam Haile:

Same as the other animation. from BiblioPixelAnimations.strip.Rainbows import RainbowCycle then use the anim = RainbowCycle(<your params>) animation init

On Fri, Feb 22, 2019 at 11:10 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Hi Adam, I am really desperate … because of my poor Python programming skills.
Can we please try one more time?

So I run this Module and 6 LEDs light up as expected:

import bibliopixel
# causes frame timing information to be output

bibliopixel.log.setLogLevel(bibliopixel.log.FRAME)

from bibliopixel.drivers import ChannelOrder

# Load driver for the AllPixel

from bibliopixel.drivers.serial import *

# set number of pixels & LED type here

driver = Serial(num = 15, ledtype = LEDTYPE.WS2812B, c_order = ChannelOrder.RGB)

# load the LEDStrip class

from bibliopixel.layout import *

led = Strip(driver)

# load channel test animation

from bibliopixel.animation import *

anim = StripChannelTest(led)

try:

# run the animation

anim.run()

except KeyboardInterrupt:

# Ctrl+C will exit the animation and turn the LEDs offs

led.all_off()

led.update()

Now if I want to run Rainbows instead of StripChannelTest - what do I have to change?

Thank you Adam!

Fabian

Am Donnerstag, 21. Februar 2019 16:12:24 UTC+1 schrieb Adam Haile:

additional_pixels isn’t actually valid. That was a community submitted animation. No idea why that option is in the doc comment.

On Thu, Feb 21, 2019 at 10:09 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Okok…! I am getting closer!

import bibliopixel

causes frame timing information to be output

bibliopixel.log.setLogLevel(bibliopixel.log.FRAME)

from bibliopixel.drivers import ChannelOrder

Load driver for the AllPixel

from bibliopixel.drivers.serial import *

set number of pixels & LED type here

driver = Serial(num = 10, ledtype = LEDTYPE.WS2812B, c_order = ChannelOrder.RBG)

load the LEDStrip class

from bibliopixel.layout import *

led = Strip(driver)

from BiblioPixelAnimations.strip.PixelPingPong import PixelPingPong

#from PixelPingPong import PixelPingPong

anim = PixelPingPong(led, max_led=30, color=(0, 0, 255), additional_pixels=5, fade_delay=2)

try:

run the animation

anim.run()

except KeyboardInterrupt:

Ctrl+C will exit the animation and turn the LEDs offs

led.all_off()

led.update()

Error Message:

WARNING - deprecated - util.setLogLevel

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

Traceback (most recent call last):

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\Test2.py”, line 19, in

anim = PixelPingPong(led, max_led=30, color=(0, 0, 255), additional_pixels=5, fade_delay=2)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\BiblioPixelAnimations\strip\PixelPingPong.py”, line 27, in init

super().init(layout, 0, -1, **kwds)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\animation\strip.py”, line 10, in init

super().init(layout, **kwds)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\animation\animation.py”, line 59, in init

attributes.set_reserved(self, ‘animation’, **kwds)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\project\attributes.py”, line 9, in set_reserved

check(kwds, ‘%s %s’ % (section, value.class.name))

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\project\attributes.py”, line 5, in check

raise ValueError(‘Unknown attribute%s for %s: %s’ % (s, name, msg))

ValueError: Unknown attribute for animation PixelPingPong: "additional_pixels"

**>>> **

Am Donnerstag, 21. Februar 2019 15:57:19 UTC+1 schrieb Adam Haile:

Yes, as noted that should be from BiblioPixelAnimations.strip.PixelPingPong import PixelPingPong

On Thu, Feb 21, 2019 at 9:53 AM Fabian Reingruber fs.rei...@gmail.com wrote:

I run this single module in a python shell.
with your commandline I get the following:

WARNING - deprecated - util.setLogLevel

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

Traceback (most recent call last):

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\Test2.py”, line 18, in

from PixelPingPong import PixelPingPong

ModuleNotFoundError: No module named 'PixelPingPong’

Am Donnerstag, 21. Februar 2019 14:55:27 UTC+1 schrieb Adam Haile:

If should be from BiblioPixelAnimations.strip.PixelPingPong import PixelPingPong

Though not sure if that’s the full reason for the error.
Can you give me the exact command you are using to run your script?

On Thu, Feb 21, 2019 at 8:53 AM Fabian Reingruber fs.rei...@gmail.com wrote:

I simply exchanged the StripChannelTest with PixelPingPong… :slight_smile:

import bibliopixel

causes frame timing information to be output

bibliopixel.log.setLogLevel(bibliopixel.log.FRAME)

from bibliopixel.drivers import ChannelOrder

from bibliopixel.drivers.serial import *

Load driver for the AllPixel

from bibliopixel.drivers.serial import *

set number of pixels & LED type here

driver = Serial(num = 5, ledtype = LEDTYPE.WS2812B, c_order = ChannelOrder.RGB)

load the LEDStrip class

from bibliopixel.layout import *

led = Strip(driver)

from PixelPingPong import PixelPingPong

anim = PixelPingPong(led, max_led=30, color=(0, 0, 255), additional_pixels=5, fade_delay=2)

load channel test animation

#from bibliopixel.animation import StripChannelTest

#anim = StripChannelTest(led)

try:

run the animation

anim.run()

except KeyboardInterrupt:

Ctrl+C will exit the animation and turn the LEDs offs

led.all_off()

led.update()

Am Donnerstag, 21. Februar 2019 13:00:59 UTC+1 schrieb Adam Haile:

Can you send the actual file you are trying to run? I need more context.

On Thu, Feb 21, 2019 at 3:52 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Hi Adam,

You were right. All of my LEDs were broken. Probably because I had them connected to a bench power supply.

I have ordered new WS2812s and now the StripChannelTest is working.

Now if I want to run e.g. PixelPingPong instead I get this:

ImportError: cannot import name ‘Layout’ from 'bibliopixel.layout.layout’

So far I found that StripChannelTest is defined in the init and within tests.py

Do you please have a hint for me??? :slight_smile:

BR, Fabian

Am Freitag, 8. Februar 2019 19:05:24 UTC+1 schrieb Adam Haile:

c_order = ChannelOrder.RBG goes in the Serial() init, not in setLogLevel

On Fri, Feb 8, 2019 at 11:34 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Now I may have found something: With one LED connected I get bright green light.
But when I want to change the color via the suggested command: c_order = ChannelOrder.RBG it does not recognize this command:

Traceback (most recent call last):

File “”, line 1, in

File “C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.4\helpers\pydev_pydev_bundle\pydev_umd.py”, line 197, in runfile

pydev_imports.execfile(filename, global_vars, local_vars) # execute the script

File “C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.4\helpers\pydev_pydev_imps_pydev_execfile.py”, line 18, in execfile

exec(compile(contents+"\n", file, ‘exec’), glob, loc)

File “C:/Users/f.reingruber/PycharmProjects/Rainbow reloaded/Test.py”, line 3

bibliopixel.log.setLogLevel(bibliopixel.log.FRAME c_order = ChannelOrder.RBG)

^

SyntaxError: invalid syntax

Am Freitag, 8. Februar 2019 16:54:32 UTC+1 schrieb Fabian Reingruber:

I will try some other LEDs and let you know. Thank you so much for your great support! Fabian

Am Freitag, 8. Februar 2019 16:31:37 UTC+1 schrieb Adam Haile:

I’m stumped then. Most likely faulty LED. Have you tried connecting to a different LED in the chain? Those WS2812B LEDs are terrible about dying randomly

On Fri, Feb 8, 2019 at 10:28 AM Fabian Reingruber fs.rei...@gmail.com wrote:

All right :slight_smile: Yes I already did that!
So I did check V+ and GND connection in between the Capacitor and the LEDs.

DATA connection also looks good.

Am Freitag, 8. Februar 2019 16:07:47 UTC+1 schrieb Adam Haile:

Do you have a multimeter? Usually aside from voltage and current they have a continuity mode. It beeps when there’s a connection between the two probes.

On Fri, Feb 8, 2019 at 10:06 AM Fabian Reingruber fs.rei...@gmail.com wrote:

I … do not know how to do that :slight_smile:

Am Freitag, 8. Februar 2019 15:56:38 UTC+1 schrieb Adam Haile:

Are you able to confirm continuity between the AllPixel and the LEDs?

On Fri, Feb 8, 2019 at 9:54 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Hm… The solder connection seems to be fine … I connected one LED only, eleiminating the risk that the LEDs are the problem… same result

WARNING - deprecated - util.setLogLevel

WARNING - deprecated - BaseAnimation.run

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

DEBUG - animation_threading - Animation starts on main thread

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update:

Am Freitag, 8. Februar 2019 15:35:41 UTC+1 schrieb Adam Haile:

Oh… original AllPixel. Cool.
My only guess is that the data signal isn’t making it to the LEDs. I’d try disconnecting and redoing the connections. And then check that you have continuity between data on the AP and data on the first LED.

On Fri, Feb 8, 2019 at 9:30 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Yes of course!
These are type WS2812B. I have connected 46 breakout boards is a circle shaped row.

Connecting to power only, some of the LED light up in a random color.

import bibliopixel
# causes frame timing information to be output
bibliopixel.log.setLogLevel(bibliopixel.log.FRAME)

# Load driver for the AllPixel
from bibliopixel.drivers.serial import *
# set number of pixels & LED type here
driver = Serial(num = 10, ledtype = LEDTYPE.WS2812B)

# load the LEDStrip class
from bibliopixel.layout import *
led = Strip(driver)

# load channel test animation
from bibliopixel.animation import StripChannelTest
anim = StripChannelTest(led)

try:
    # run the animation
    anim.run()
except KeyboardInterrupt:
    # Ctrl+C will exit the animation and turn the LEDs offs
    led.all_off()
    led.update()

Am Freitag, 8. Februar 2019 15:20:11 UTC+1 schrieb Adam Haile:

So, yeah. You’re connecting fine. Just no output on the LEDs. What type of LEDs are you using? Did you set the correct type in the strip example script?
Can you send a picture of your LED connection to the AllPixel?

On Fri, Feb 8, 2019 at 9:05 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Ok!
I had to restart again as it seems to randomly loose connection:

WARNING - deprecated - util.setLogLevel

WARNING - deprecated - BaseAnimation.run

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

DEBUG - animation_threading - Animation starts on main thread

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

Am Freitag, 8. Februar 2019 14:38:05 UTC+1 schrieb Adam Haile:

So that shows me that it is connecting and you just aren’t getting any output on the strip.
Can you change this line:

bibliopixel.log.setLogLevel(bibliopixel.log.DEBUG)

to this:

bibliopixel.log.setLogLevel(bibliopixel.log.FRAME)

And then send me the console output you get?

On Fri, Feb 8, 2019 at 8:34 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Yes I had it up and running but this is a while ago already.
I have justv restarted everything and I am back at the previous error message:

WARNING - deprecated - util.setLogLevel

WARNING - deprecated - BaseAnimation.run

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

DEBUG - animation_threading - Animation starts on main thread

Am Freitag, 8. Februar 2019 13:31:30 UTC+1 schrieb Fabian Reingruber:

Here is the pip list:

Package Version


beautifulsoup4 4.7.1

BiblioPixel 3.4.44

BiblioPixelAnimations 3.20181225.205034

BiblioPixelTriggers 1.0.2

certifi 2018.11.29

chardet 3.0.4

Click 7.0

croniter 0.3.27

Flask 1.0.2

gitdb2 2.0.5

GitPython 2.1.11

idna 2.8

itsdangerous 1.1.0

Jinja2 2.10

loady 1.8.10

MarkupSafe 1.1.0

numpy 1.16.1

pip 19.0.1

pyserial 3.4

python-dateutil 2.8.0

PyYAML 3.13

requests 2.21.0

setuptools 40.6.2

six 1.12.0

smmap2 2.0.5

soupsieve 1.7.3

urllib3 1.24.1

Werkzeug 0.14.1

wheel 0.32.3

Am Freitag, 8. Februar 2019 13:22:17 UTC+1 schrieb Fabian Reingruber:

Hey Adam,

I am trying to reactivate my Allpixel.

Running your Strip Example I get the following response:

WARNING - deprecated - util.setLogLevel

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

WARNING - deprecated - BaseAnimation.run

DEBUG - animation_threading - Animation starts on main thread

Can you please help??

BR, Fabian


Adam:

BTW… support requests should go here -> https://groups.google.com/forum/#!forum/maniacal-labs-users

Was there any more to the console output? That looks like it connected… there’s no error. It found the device ID and Version (0 and 0 are correct for a new device). Are you just not getting any output on the LEDs?

What version of bibliopixel are you running? Please send the output of pip list


Thank you for the fast response!

I am a noob in programming so I try different approaches for hours now.

Bibliopixel is the latest version 3.4.44

The Allpixel is connected to COM3.

Right now I get this response in Pycharm:

WARNING - deprecated - util.setLogLevel

DEBUG - devices - Error getting device_id for COM3, 921600

ERROR - driver - Traceback (most recent call last):

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\driver.py”, line 87, in _connect

self.devices.find_serial_devices()

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\devices.py”, line 51, in find_serial_devices

id = self.get_device_id(port)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\devices.py”, line 126, in get_device_id

com, code, ok = io.send_packet(CMDTYPE.GETID, 0, dev, self.baudrate, 5)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\io.py”, line 11, in send_packet

com = serial.Serial(dev, baudrate=baudrate, timeout=timeout)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialwin32.py”, line 31, in init

super(Serial, self).init(*args, **kwargs)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialutil.py”, line 240, in init

self.open()

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialwin32.py”, line 62, in open

raise SerialException(“could not open port {!r}: {!r}”.format(self.portstr, ctypes.WinError()))

serial.serialutil.SerialException: could not open port ‘COM3’: FileNotFoundError(2, ‘Das System kann die angegebene Datei nicht finden.’, None, 2)

ERROR - driver - Unable to connect to the device. Please check that it is connected and the correct port is selected.

Traceback (most recent call last):

File “”, line 1, in

File “C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.4\helpers\pydev_pydev_bundle\pydev_umd.py”, line 197, in runfile

pydev_imports.execfile(filename, global_vars, local_vars) # execute the script

File “C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.4\helpers\pydev_pydev_imps_pydev_execfile.py”, line 18, in execfile

exec(compile(contents+"\n", file, ‘exec’), glob, loc)

File “C:/Users/f.reingruber/PycharmProjects/Rainbow reloaded/Test.py”, line 8, in

driver = Serial(num = 10, ledtype = LEDTYPE.WS2812B)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\driver.py”, line 62, in init

resp = self._connect()

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\driver.py”, line 129, in _connect

raise e

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\driver.py”, line 87, in _connect

self.devices.find_serial_devices()

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\devices.py”, line 51, in find_serial_devices

id = self.get_device_id(port)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\devices.py”, line 126, in get_device_id

com, code, ok = io.send_packet(CMDTYPE.GETID, 0, dev, self.baudrate, 5)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\io.py”, line 11, in send_packet

com = serial.Serial(dev, baudrate=baudrate, timeout=timeout)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialwin32.py”, line 31, in init

super(Serial, self).init(*args, **kwargs)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialutil.py”, line 240, in init

self.open()

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialwin32.py”, line 62, in open

raise SerialException(“could not open port {!r}: {!r}”.format(self.portstr, ctypes.WinError()))

serial.serialutil.SerialException: could not open port ‘COM3’: FileNotFoundError(2, ‘Das System kann die angegebene Datei nicht finden.’, None, 2)

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/a58dcdb1-c681-48fd-bcda-b0d14697e88a%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/9a08b045-4eed-4628-bba8-3e030bee4a07%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/39883aa6-e359-4704-9c48-9f3e417678a8%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/423d8163-92fb-4ec0-a1f7-a6272d651221%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/85699361-38cf-4b90-896f-1f6a4eb833da%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/150a3212-4244-438c-99ad-1949b3cc3b8b%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/eca88f4c-d457-40d1-9bb5-b891fa85b913%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/1bb659dc-8934-4cdc-9612-4565a2f5587a%40googlegroups.com.

For more options, visit https://groups.go

It just immediately exists without doing anything?
Can you give me the full console output from calling the script to exit?

···

On Thu, Mar 7, 2019 at 5:00 AM Fabian Reingruber fs.reingruber@gmail.com wrote:

Back again :slight_smile:

import bibliopixel
# causes frame timing information to be output
bibliopixel.log.setLogLevel(bibliopixel.log.FRAME)

from bibliopixel.drivers import ChannelOrder
from BiblioPixelAnimations.strip.Rainbows import RainbowCycle

# Load driver for the AllPixel
from bibliopixel.drivers.serial import *
# set number of pixels & LED type here
driver = Serial(num = 5, ledtype = LEDTYPE.WS2812B, c_order = ChannelOrder.RBG)

# load the LEDStrip class
from bibliopixel.layout import *
led = Strip(driver)

anim = RainbowCycle(led)

try:
    # run the animation
    anim.run()
except KeyboardInterrupt:
    # Ctrl+C will exit the animation and turn the LEDs offs
    led.all_off()
    led.update()

–> Process finished with exit code 0 °_°

Am Freitag, 22. Februar 2019 17:13:38 UTC+1 schrieb Adam Haile:

Same as the other animation. from BiblioPixelAnimations.strip.Rainbows import RainbowCycle then use the anim = RainbowCycle(<your params>) animation init

On Fri, Feb 22, 2019 at 11:10 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Hi Adam, I am really desperate … because of my poor Python programming skills.
Can we please try one more time?

So I run this Module and 6 LEDs light up as expected:

import bibliopixel
# causes frame timing information to be output

bibliopixel.log.setLogLevel(bibliopixel.log.FRAME)

from bibliopixel.drivers import ChannelOrder

# Load driver for the AllPixel

from bibliopixel.drivers.serial import *

# set number of pixels & LED type here

driver = Serial(num = 15, ledtype = LEDTYPE.WS2812B, c_order = ChannelOrder.RGB)

# load the LEDStrip class

from bibliopixel.layout import *

led = Strip(driver)

# load channel test animation

from bibliopixel.animation import *

anim = StripChannelTest(led)

try:

# run the animation

anim.run()

except KeyboardInterrupt:

# Ctrl+C will exit the animation and turn the LEDs offs

led.all_off()

led.update()

Now if I want to run Rainbows instead of StripChannelTest - what do I have to change?

Thank you Adam!

Fabian

Am Donnerstag, 21. Februar 2019 16:12:24 UTC+1 schrieb Adam Haile:

additional_pixels isn’t actually valid. That was a community submitted animation. No idea why that option is in the doc comment.

On Thu, Feb 21, 2019 at 10:09 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Okok…! I am getting closer!

import bibliopixel

causes frame timing information to be output

bibliopixel.log.setLogLevel(bibliopixel.log.FRAME)

from bibliopixel.drivers import ChannelOrder

Load driver for the AllPixel

from bibliopixel.drivers.serial import *

set number of pixels & LED type here

driver = Serial(num = 10, ledtype = LEDTYPE.WS2812B, c_order = ChannelOrder.RBG)

load the LEDStrip class

from bibliopixel.layout import *

led = Strip(driver)

from BiblioPixelAnimations.strip.PixelPingPong import PixelPingPong

#from PixelPingPong import PixelPingPong

anim = PixelPingPong(led, max_led=30, color=(0, 0, 255), additional_pixels=5, fade_delay=2)

try:

run the animation

anim.run()

except KeyboardInterrupt:

Ctrl+C will exit the animation and turn the LEDs offs

led.all_off()

led.update()

Error Message:

WARNING - deprecated - util.setLogLevel

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

Traceback (most recent call last):

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\Test2.py”, line 19, in

anim = PixelPingPong(led, max_led=30, color=(0, 0, 255), additional_pixels=5, fade_delay=2)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\BiblioPixelAnimations\strip\PixelPingPong.py”, line 27, in init

super().init(layout, 0, -1, **kwds)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\animation\strip.py”, line 10, in init

super().init(layout, **kwds)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\animation\animation.py”, line 59, in init

attributes.set_reserved(self, ‘animation’, **kwds)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\project\attributes.py”, line 9, in set_reserved

check(kwds, ‘%s %s’ % (section, value.class.name))

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\project\attributes.py”, line 5, in check

raise ValueError(‘Unknown attribute%s for %s: %s’ % (s, name, msg))

ValueError: Unknown attribute for animation PixelPingPong: "additional_pixels"

**>>> **

Am Donnerstag, 21. Februar 2019 15:57:19 UTC+1 schrieb Adam Haile:

Yes, as noted that should be from BiblioPixelAnimations.strip.PixelPingPong import PixelPingPong

On Thu, Feb 21, 2019 at 9:53 AM Fabian Reingruber fs.rei...@gmail.com wrote:

I run this single module in a python shell.
with your commandline I get the following:

WARNING - deprecated - util.setLogLevel

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

Traceback (most recent call last):

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\Test2.py”, line 18, in

from PixelPingPong import PixelPingPong

ModuleNotFoundError: No module named 'PixelPingPong’

Am Donnerstag, 21. Februar 2019 14:55:27 UTC+1 schrieb Adam Haile:

If should be from BiblioPixelAnimations.strip.PixelPingPong import PixelPingPong

Though not sure if that’s the full reason for the error.
Can you give me the exact command you are using to run your script?

On Thu, Feb 21, 2019 at 8:53 AM Fabian Reingruber fs.rei...@gmail.com wrote:

I simply exchanged the StripChannelTest with PixelPingPong… :slight_smile:

import bibliopixel

causes frame timing information to be output

bibliopixel.log.setLogLevel(bibliopixel.log.FRAME)

from bibliopixel.drivers import ChannelOrder

from bibliopixel.drivers.serial import *

Load driver for the AllPixel

from bibliopixel.drivers.serial import *

set number of pixels & LED type here

driver = Serial(num = 5, ledtype = LEDTYPE.WS2812B, c_order = ChannelOrder.RGB)

load the LEDStrip class

from bibliopixel.layout import *

led = Strip(driver)

from PixelPingPong import PixelPingPong

anim = PixelPingPong(led, max_led=30, color=(0, 0, 255), additional_pixels=5, fade_delay=2)

load channel test animation

#from bibliopixel.animation import StripChannelTest

#anim = StripChannelTest(led)

try:

run the animation

anim.run()

except KeyboardInterrupt:

Ctrl+C will exit the animation and turn the LEDs offs

led.all_off()

led.update()

Am Donnerstag, 21. Februar 2019 13:00:59 UTC+1 schrieb Adam Haile:

Can you send the actual file you are trying to run? I need more context.

On Thu, Feb 21, 2019 at 3:52 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Hi Adam,

You were right. All of my LEDs were broken. Probably because I had them connected to a bench power supply.

I have ordered new WS2812s and now the StripChannelTest is working.

Now if I want to run e.g. PixelPingPong instead I get this:

ImportError: cannot import name ‘Layout’ from 'bibliopixel.layout.layout’

So far I found that StripChannelTest is defined in the init and within tests.py

Do you please have a hint for me??? :slight_smile:

BR, Fabian

Am Freitag, 8. Februar 2019 19:05:24 UTC+1 schrieb Adam Haile:

c_order = ChannelOrder.RBG goes in the Serial() init, not in setLogLevel

On Fri, Feb 8, 2019 at 11:34 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Now I may have found something: With one LED connected I get bright green light.
But when I want to change the color via the suggested command: c_order = ChannelOrder.RBG it does not recognize this command:

Traceback (most recent call last):

File “”, line 1, in

File “C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.4\helpers\pydev_pydev_bundle\pydev_umd.py”, line 197, in runfile

pydev_imports.execfile(filename, global_vars, local_vars) # execute the script

File “C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.4\helpers\pydev_pydev_imps_pydev_execfile.py”, line 18, in execfile

exec(compile(contents+"\n", file, ‘exec’), glob, loc)

File “C:/Users/f.reingruber/PycharmProjects/Rainbow reloaded/Test.py”, line 3

bibliopixel.log.setLogLevel(bibliopixel.log.FRAME c_order = ChannelOrder.RBG)

^

SyntaxError: invalid syntax

Am Freitag, 8. Februar 2019 16:54:32 UTC+1 schrieb Fabian Reingruber:

I will try some other LEDs and let you know. Thank you so much for your great support! Fabian

Am Freitag, 8. Februar 2019 16:31:37 UTC+1 schrieb Adam Haile:

I’m stumped then. Most likely faulty LED. Have you tried connecting to a different LED in the chain? Those WS2812B LEDs are terrible about dying randomly

On Fri, Feb 8, 2019 at 10:28 AM Fabian Reingruber fs.rei...@gmail.com wrote:

All right :slight_smile: Yes I already did that!
So I did check V+ and GND connection in between the Capacitor and the LEDs.

DATA connection also looks good.

Am Freitag, 8. Februar 2019 16:07:47 UTC+1 schrieb Adam Haile:

Do you have a multimeter? Usually aside from voltage and current they have a continuity mode. It beeps when there’s a connection between the two probes.

On Fri, Feb 8, 2019 at 10:06 AM Fabian Reingruber fs.rei...@gmail.com wrote:

I … do not know how to do that :slight_smile:

Am Freitag, 8. Februar 2019 15:56:38 UTC+1 schrieb Adam Haile:

Are you able to confirm continuity between the AllPixel and the LEDs?

On Fri, Feb 8, 2019 at 9:54 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Hm… The solder connection seems to be fine … I connected one LED only, eleiminating the risk that the LEDs are the problem… same result

WARNING - deprecated - util.setLogLevel

WARNING - deprecated - BaseAnimation.run

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

DEBUG - animation_threading - Animation starts on main thread

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update:

Am Freitag, 8. Februar 2019 15:35:41 UTC+1 schrieb Adam Haile:

Oh… original AllPixel. Cool.
My only guess is that the data signal isn’t making it to the LEDs. I’d try disconnecting and redoing the connections. And then check that you have continuity between data on the AP and data on the first LED.

On Fri, Feb 8, 2019 at 9:30 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Yes of course!
These are type WS2812B. I have connected 46 breakout boards is a circle shaped row.

Connecting to power only, some of the LED light up in a random color.

import bibliopixel
# causes frame timing information to be output
bibliopixel.log.setLogLevel(bibliopixel.log.FRAME)

# Load driver for the AllPixel
from bibliopixel.drivers.serial import *
# set number of pixels & LED type here
driver = Serial(num = 10, ledtype = LEDTYPE.WS2812B)

# load the LEDStrip class
from bibliopixel.layout import *
led = Strip(driver)

# load channel test animation
from bibliopixel.animation import StripChannelTest
anim = StripChannelTest(led)

try:
    # run the animation
    anim.run()
except KeyboardInterrupt:
    # Ctrl+C will exit the animation and turn the LEDs offs
    led.all_off()
    led.update()

Am Freitag, 8. Februar 2019 15:20:11 UTC+1 schrieb Adam Haile:

So, yeah. You’re connecting fine. Just no output on the LEDs. What type of LEDs are you using? Did you set the correct type in the strip example script?
Can you send a picture of your LED connection to the AllPixel?

On Fri, Feb 8, 2019 at 9:05 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Ok!
I had to restart again as it seems to randomly loose connection:

WARNING - deprecated - util.setLogLevel

WARNING - deprecated - BaseAnimation.run

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

DEBUG - animation_threading - Animation starts on main thread

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

Am Freitag, 8. Februar 2019 14:38:05 UTC+1 schrieb Adam Haile:

So that shows me that it is connecting and you just aren’t getting any output on the strip.
Can you change this line:

bibliopixel.log.setLogLevel(bibliopixel.log.DEBUG)

to this:

bibliopixel.log.setLogLevel(bibliopixel.log.FRAME)

And then send me the console output you get?

On Fri, Feb 8, 2019 at 8:34 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Yes I had it up and running but this is a while ago already.
I have justv restarted everything and I am back at the previous error message:

WARNING - deprecated - util.setLogLevel

WARNING - deprecated - BaseAnimation.run

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

DEBUG - animation_threading - Animation starts on main thread

Am Freitag, 8. Februar 2019 13:31:30 UTC+1 schrieb Fabian Reingruber:

Here is the pip list:

Package Version


beautifulsoup4 4.7.1

BiblioPixel 3.4.44

BiblioPixelAnimations 3.20181225.205034

BiblioPixelTriggers 1.0.2

certifi 2018.11.29

chardet 3.0.4

Click 7.0

croniter 0.3.27

Flask 1.0.2

gitdb2 2.0.5

GitPython 2.1.11

idna 2.8

itsdangerous 1.1.0

Jinja2 2.10

loady 1.8.10

MarkupSafe 1.1.0

numpy 1.16.1

pip 19.0.1

pyserial 3.4

python-dateutil 2.8.0

PyYAML 3.13

requests 2.21.0

setuptools 40.6.2

six 1.12.0

smmap2 2.0.5

soupsieve 1.7.3

urllib3 1.24.1

Werkzeug 0.14.1

wheel 0.32.3

Am Freitag, 8. Februar 2019 13:22:17 UTC+1 schrieb Fabian Reingruber:

Hey Adam,

I am trying to reactivate my Allpixel.

Running your Strip Example I get the following response:

WARNING - deprecated - util.setLogLevel

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

WARNING - deprecated - BaseAnimation.run

DEBUG - animation_threading - Animation starts on main thread

Can you please help??

BR, Fabian


Adam:

BTW… support requests should go here -> https://groups.google.com/forum/#!forum/maniacal-labs-users

Was there any more to the console output? That looks like it connected… there’s no error. It found the device ID and Version (0 and 0 are correct for a new device). Are you just not getting any output on the LEDs?

What version of bibliopixel are you running? Please send the output of pip list


Thank you for the fast response!

I am a noob in programming so I try different approaches for hours now.

Bibliopixel is the latest version 3.4.44

The Allpixel is connected to COM3.

Right now I get this response in Pycharm:

WARNING - deprecated - util.setLogLevel

DEBUG - devices - Error getting device_id for COM3, 921600

ERROR - driver - Traceback (most recent call last):

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\driver.py”, line 87, in _connect

self.devices.find_serial_devices()

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\devices.py”, line 51, in find_serial_devices

id = self.get_device_id(port)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\devices.py”, line 126, in get_device_id

com, code, ok = io.send_packet(CMDTYPE.GETID, 0, dev, self.baudrate, 5)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\io.py”, line 11, in send_packet

com = serial.Serial(dev, baudrate=baudrate, timeout=timeout)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialwin32.py”, line 31, in init

super(Serial, self).init(*args, **kwargs)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialutil.py”, line 240, in init

self.open()

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialwin32.py”, line 62, in open

raise SerialException(“could not open port {!r}: {!r}”.format(self.portstr, ctypes.WinError()))

serial.serialutil.SerialException: could not open port ‘COM3’: FileNotFoundError(2, ‘Das System kann die angegebene Datei nicht finden.’, None, 2)

ERROR - driver - Unable to connect to the device. Please check that it is connected and the correct port is selected.

Traceback (most recent call last):

File “”, line 1, in

File “C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.4\helpers\pydev_pydev_bundle\pydev_umd.py”, line 197, in runfile

pydev_imports.execfile(filename, global_vars, local_vars) # execute the script

File “C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.4\helpers\pydev_pydev_imps_pydev_execfile.py”, line 18, in execfile

exec(compile(contents+"\n", file, ‘exec’), glob, loc)

File “C:/Users/f.reingruber/PycharmProjects/Rainbow reloaded/Test.py”, line 8, in

driver = Serial(num = 10, ledtype = LEDTYPE.WS2812B)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\driver.py”, line 62, in init

resp = self._connect()

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\driver.py”, line 129, in _connect

raise e

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\driver.py”, line 87, in _connect

self.devices.find_serial_devices()

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\devices.py”, line 51, in find_serial_devices

id = self.get_device_id(port)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\devices.py”, line 126, in get_device_id

com, code, ok = io.send_packet(CMDTYPE.GETID, 0, dev, self.baudrate, 5)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\io.py”, line 11, in send_packet

com = serial.Serial(dev, baudrate=baudrate, timeout=timeout)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialwin32.py”, line 31, in init

super(Serial, self).init(*args, **kwargs)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialutil.py”, line 240, in init

self.open()

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialwin32.py”, line 62, in open

raise SerialException(“could not open port {!r}: {!r}”.format(self.portstr, ctypes.WinError()))

serial.serialutil.SerialException: could not open port ‘COM3’: FileNotFoundError(2, ‘Das System kann die angegebene Datei nicht finden.’, None, 2)

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/a58dcdb1-c681-48fd-bcda-b0d14697e88a%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/9a08b045-4eed-4628-bba8-3e030bee4a07%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/39883aa6-e359-4704-9c48-9f3e417678a8%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/423d8163-92fb-4ec0-a1f7-a6272d651221%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/85699361-38cf-4b90-896f-1f6a4eb833da%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/150a3212-4244-438c-99ad-1949b3cc3b8b%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/eca88f4c-d457-40d1-9bb5-b891fa85b913%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/1bb659dc-8934-4cdc-9612-4565a2f5587a%40googlegroups.com.

For more options, visit https://groups.go

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-labs-users@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/8a359ce2-8891-4173-8938-4adf8e286c24%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

I only run the part I sent you… works for the Striptest. °_°
And the only response is --> Process finished with exit code 0

···

Am Donnerstag, 7. März 2019 13:29:35 UTC+1 schrieb Adam Haile:

It just immediately exists without doing anything?
Can you give me the full console output from calling the script to exit?

On Thu, Mar 7, 2019 at 5:00 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Back again :slight_smile:

import bibliopixel
# causes frame timing information to be output
bibliopixel.log.setLogLevel(bibliopixel.log.FRAME)

from bibliopixel.drivers import ChannelOrder
from BiblioPixelAnimations.strip.Rainbows import RainbowCycle

# Load driver for the AllPixel
from bibliopixel.drivers.serial import *
# set number of pixels & LED type here
driver = Serial(num = 5, ledtype = LEDTYPE.WS2812B, c_order = ChannelOrder.RBG)

# load the LEDStrip class
from bibliopixel.layout import *
led = Strip(driver)

anim = RainbowCycle(led)

try:
    # run the animation
    anim.run()
except KeyboardInterrupt:
    # Ctrl+C will exit the animation and turn the LEDs offs
    led.all_off()
    led.update()

–> Process finished with exit code 0 °_°

Am Freitag, 22. Februar 2019 17:13:38 UTC+1 schrieb Adam Haile:

Same as the other animation. from BiblioPixelAnimations.strip.Rainbows import RainbowCycle then use the anim = RainbowCycle(<your params>) animation init

On Fri, Feb 22, 2019 at 11:10 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Hi Adam, I am really desperate … because of my poor Python programming skills.
Can we please try one more time?

So I run this Module and 6 LEDs light up as expected:

import bibliopixel
# causes frame timing information to be output

bibliopixel.log.setLogLevel(bibliopixel.log.FRAME)

from bibliopixel.drivers import ChannelOrder

# Load driver for the AllPixel

from bibliopixel.drivers.serial import *

# set number of pixels & LED type here

driver = Serial(num = 15, ledtype = LEDTYPE.WS2812B, c_order = ChannelOrder.RGB)

# load the LEDStrip class

from bibliopixel.layout import *

led = Strip(driver)

# load channel test animation

from bibliopixel.animation import *

anim = StripChannelTest(led)

try:

# run the animation

anim.run()

except KeyboardInterrupt:

# Ctrl+C will exit the animation and turn the LEDs offs

led.all_off()

led.update()

Now if I want to run Rainbows instead of StripChannelTest - what do I have to change?

Thank you Adam!

Fabian

Am Donnerstag, 21. Februar 2019 16:12:24 UTC+1 schrieb Adam Haile:

additional_pixels isn’t actually valid. That was a community submitted animation. No idea why that option is in the doc comment.

On Thu, Feb 21, 2019 at 10:09 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Okok…! I am getting closer!

import bibliopixel

causes frame timing information to be output

bibliopixel.log.setLogLevel(bibliopixel.log.FRAME)

from bibliopixel.drivers import ChannelOrder

Load driver for the AllPixel

from bibliopixel.drivers.serial import *

set number of pixels & LED type here

driver = Serial(num = 10, ledtype = LEDTYPE.WS2812B, c_order = ChannelOrder.RBG)

load the LEDStrip class

from bibliopixel.layout import *

led = Strip(driver)

from BiblioPixelAnimations.strip.PixelPingPong import PixelPingPong

#from PixelPingPong import PixelPingPong

anim = PixelPingPong(led, max_led=30, color=(0, 0, 255), additional_pixels=5, fade_delay=2)

try:

run the animation

anim.run()

except KeyboardInterrupt:

Ctrl+C will exit the animation and turn the LEDs offs

led.all_off()

led.update()

Error Message:

WARNING - deprecated - util.setLogLevel

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

Traceback (most recent call last):

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\Test2.py”, line 19, in

anim = PixelPingPong(led, max_led=30, color=(0, 0, 255), additional_pixels=5, fade_delay=2)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\BiblioPixelAnimations\strip\PixelPingPong.py”, line 27, in init

super().init(layout, 0, -1, **kwds)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\animation\strip.py”, line 10, in init

super().init(layout, **kwds)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\animation\animation.py”, line 59, in init

attributes.set_reserved(self, ‘animation’, **kwds)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\project\attributes.py”, line 9, in set_reserved

check(kwds, ‘%s %s’ % (section, value.class.name))

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\project\attributes.py”, line 5, in check

raise ValueError(‘Unknown attribute%s for %s: %s’ % (s, name, msg))

ValueError: Unknown attribute for animation PixelPingPong: "additional_pixels"

**>>> **

Am Donnerstag, 21. Februar 2019 15:57:19 UTC+1 schrieb Adam Haile:

Yes, as noted that should be from BiblioPixelAnimations.strip.PixelPingPong import PixelPingPong

On Thu, Feb 21, 2019 at 9:53 AM Fabian Reingruber fs.rei...@gmail.com wrote:

I run this single module in a python shell.
with your commandline I get the following:

WARNING - deprecated - util.setLogLevel

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

Traceback (most recent call last):

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\Test2.py”, line 18, in

from PixelPingPong import PixelPingPong

ModuleNotFoundError: No module named 'PixelPingPong’

Am Donnerstag, 21. Februar 2019 14:55:27 UTC+1 schrieb Adam Haile:

If should be from BiblioPixelAnimations.strip.PixelPingPong import PixelPingPong

Though not sure if that’s the full reason for the error.
Can you give me the exact command you are using to run your script?

On Thu, Feb 21, 2019 at 8:53 AM Fabian Reingruber fs.rei...@gmail.com wrote:

I simply exchanged the StripChannelTest with PixelPingPong… :slight_smile:

import bibliopixel

causes frame timing information to be output

bibliopixel.log.setLogLevel(bibliopixel.log.FRAME)

from bibliopixel.drivers import ChannelOrder

from bibliopixel.drivers.serial import *

Load driver for the AllPixel

from bibliopixel.drivers.serial import *

set number of pixels & LED type here

driver = Serial(num = 5, ledtype = LEDTYPE.WS2812B, c_order = ChannelOrder.RGB)

load the LEDStrip class

from bibliopixel.layout import *

led = Strip(driver)

from PixelPingPong import PixelPingPong

anim = PixelPingPong(led, max_led=30, color=(0, 0, 255), additional_pixels=5, fade_delay=2)

load channel test animation

#from bibliopixel.animation import StripChannelTest

#anim = StripChannelTest(led)

try:

run the animation

anim.run()

except KeyboardInterrupt:

Ctrl+C will exit the animation and turn the LEDs offs

led.all_off()

led.update()

Am Donnerstag, 21. Februar 2019 13:00:59 UTC+1 schrieb Adam Haile:

Can you send the actual file you are trying to run? I need more context.

On Thu, Feb 21, 2019 at 3:52 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Hi Adam,

You were right. All of my LEDs were broken. Probably because I had them connected to a bench power supply.

I have ordered new WS2812s and now the StripChannelTest is working.

Now if I want to run e.g. PixelPingPong instead I get this:

ImportError: cannot import name ‘Layout’ from 'bibliopixel.layout.layout’

So far I found that StripChannelTest is defined in the init and within tests.py

Do you please have a hint for me??? :slight_smile:

BR, Fabian

Am Freitag, 8. Februar 2019 19:05:24 UTC+1 schrieb Adam Haile:

c_order = ChannelOrder.RBG goes in the Serial() init, not in setLogLevel

On Fri, Feb 8, 2019 at 11:34 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Now I may have found something: With one LED connected I get bright green light.
But when I want to change the color via the suggested command: c_order = ChannelOrder.RBG it does not recognize this command:

Traceback (most recent call last):

File “”, line 1, in

File “C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.4\helpers\pydev_pydev_bundle\pydev_umd.py”, line 197, in runfile

pydev_imports.execfile(filename, global_vars, local_vars) # execute the script

File “C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.4\helpers\pydev_pydev_imps_pydev_execfile.py”, line 18, in execfile

exec(compile(contents+"\n", file, ‘exec’), glob, loc)

File “C:/Users/f.reingruber/PycharmProjects/Rainbow reloaded/Test.py”, line 3

bibliopixel.log.setLogLevel(bibliopixel.log.FRAME c_order = ChannelOrder.RBG)

^

SyntaxError: invalid syntax

Am Freitag, 8. Februar 2019 16:54:32 UTC+1 schrieb Fabian Reingruber:

I will try some other LEDs and let you know. Thank you so much for your great support! Fabian

Am Freitag, 8. Februar 2019 16:31:37 UTC+1 schrieb Adam Haile:

I’m stumped then. Most likely faulty LED. Have you tried connecting to a different LED in the chain? Those WS2812B LEDs are terrible about dying randomly

On Fri, Feb 8, 2019 at 10:28 AM Fabian Reingruber fs.rei...@gmail.com wrote:

All right :slight_smile: Yes I already did that!
So I did check V+ and GND connection in between the Capacitor and the LEDs.

DATA connection also looks good.

Am Freitag, 8. Februar 2019 16:07:47 UTC+1 schrieb Adam Haile:

Do you have a multimeter? Usually aside from voltage and current they have a continuity mode. It beeps when there’s a connection between the two probes.

On Fri, Feb 8, 2019 at 10:06 AM Fabian Reingruber fs.rei...@gmail.com wrote:

I … do not know how to do that :slight_smile:

Am Freitag, 8. Februar 2019 15:56:38 UTC+1 schrieb Adam Haile:

Are you able to confirm continuity between the AllPixel and the LEDs?

On Fri, Feb 8, 2019 at 9:54 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Hm… The solder connection seems to be fine … I connected one LED only, eleiminating the risk that the LEDs are the problem… same result

WARNING - deprecated - util.setLogLevel

WARNING - deprecated - BaseAnimation.run

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

DEBUG - animation_threading - Animation starts on main thread

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update:

Am Freitag, 8. Februar 2019 15:35:41 UTC+1 schrieb Adam Haile:

Oh… original AllPixel. Cool.
My only guess is that the data signal isn’t making it to the LEDs. I’d try disconnecting and redoing the connections. And then check that you have continuity between data on the AP and data on the first LED.

On Fri, Feb 8, 2019 at 9:30 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Yes of course!
These are type WS2812B. I have connected 46 breakout boards is a circle shaped row.

Connecting to power only, some of the LED light up in a random color.

import bibliopixel
# causes frame timing information to be output
bibliopixel.log.setLogLevel(bibliopixel.log.FRAME)

# Load driver for the AllPixel
from bibliopixel.drivers.serial import *
# set number of pixels & LED type here
driver = Serial(num = 10, ledtype = LEDTYPE.WS2812B)

# load the LEDStrip class
from bibliopixel.layout import *
led = Strip(driver)

# load channel test animation
from bibliopixel.animation import StripChannelTest
anim = StripChannelTest(led)

try:
    # run the animation
    anim.run()
except KeyboardInterrupt:
    # Ctrl+C will exit the animation and turn the LEDs offs
    led.all_off()
    led.update()

Am Freitag, 8. Februar 2019 15:20:11 UTC+1 schrieb Adam Haile:

So, yeah. You’re connecting fine. Just no output on the LEDs. What type of LEDs are you using? Did you set the correct type in the strip example script?
Can you send a picture of your LED connection to the AllPixel?

On Fri, Feb 8, 2019 at 9:05 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Ok!
I had to restart again as it seems to randomly loose connection:

WARNING - deprecated - util.setLogLevel

WARNING - deprecated - BaseAnimation.run

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

DEBUG - animation_threading - Animation starts on main thread

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

Am Freitag, 8. Februar 2019 14:38:05 UTC+1 schrieb Adam Haile:

So that shows me that it is connecting and you just aren’t getting any output on the strip.
Can you change this line:

bibliopixel.log.setLogLevel(bibliopixel.log.DEBUG)

to this:

bibliopixel.log.setLogLevel(bibliopixel.log.FRAME)

And then send me the console output you get?

On Fri, Feb 8, 2019 at 8:34 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Yes I had it up and running but this is a while ago already.
I have justv restarted everything and I am back at the previous error message:

WARNING - deprecated - util.setLogLevel

WARNING - deprecated - BaseAnimation.run

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

DEBUG - animation_threading - Animation starts on main thread

Am Freitag, 8. Februar 2019 13:31:30 UTC+1 schrieb Fabian Reingruber:

Here is the pip list:

Package Version


beautifulsoup4 4.7.1

BiblioPixel 3.4.44

BiblioPixelAnimations 3.20181225.205034

BiblioPixelTriggers 1.0.2

certifi 2018.11.29

chardet 3.0.4

Click 7.0

croniter 0.3.27

Flask 1.0.2

gitdb2 2.0.5

GitPython 2.1.11

idna 2.8

itsdangerous 1.1.0

Jinja2 2.10

loady 1.8.10

MarkupSafe 1.1.0

numpy 1.16.1

pip 19.0.1

pyserial 3.4

python-dateutil 2.8.0

PyYAML 3.13

requests 2.21.0

setuptools 40.6.2

six 1.12.0

smmap2 2.0.5

soupsieve 1.7.3

urllib3 1.24.1

Werkzeug 0.14.1

wheel 0.32.3

Am Freitag, 8. Februar 2019 13:22:17 UTC+1 schrieb Fabian Reingruber:

Hey Adam,

I am trying to reactivate my Allpixel.

Running your Strip Example I get the following response:

WARNING - deprecated - util.setLogLevel

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

WARNING - deprecated - BaseAnimation.run

DEBUG - animation_threading - Animation starts on main thread

Can you please help??

BR, Fabian


Adam:

BTW… support requests should go here -> https://groups.google.com/forum/#!forum/maniacal-labs-users

Was there any more to the console output? That looks like it connected… there’s no error. It found the device ID and Version (0 and 0 are correct for a new device). Are you just not getting any output on the LEDs?

What version of bibliopixel are you running? Please send the output of pip list


Thank you for the fast response!

I am a noob in programming so I try different approaches for hours now.

Bibliopixel is the latest version 3.4.44

The Allpixel is connected to COM3.

Right now I get this response in Pycharm:

WARNING - deprecated - util.setLogLevel

DEBUG - devices - Error getting device_id for COM3, 921600

ERROR - driver - Traceback (most recent call last):

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\driver.py”, line 87, in _connect

self.devices.find_serial_devices()

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\devices.py”, line 51, in find_serial_devices

id = self.get_device_id(port)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\devices.py”, line 126, in get_device_id

com, code, ok = io.send_packet(CMDTYPE.GETID, 0, dev, self.baudrate, 5)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\io.py”, line 11, in send_packet

com = serial.Serial(dev, baudrate=baudrate, timeout=timeout)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialwin32.py”, line 31, in init

super(Serial, self).init(*args, **kwargs)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialutil.py”, line 240, in init

self.open()

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialwin32.py”, line 62, in open

raise SerialException(“could not open port {!r}: {!r}”.format(self.portstr, ctypes.WinError()))

serial.serialutil.SerialException: could not open port ‘COM3’: FileNotFoundError(2, ‘Das System kann die angegebene Datei nicht finden.’, None, 2)

ERROR - driver - Unable to connect to the device. Please check that it is connected and the correct port is selected.

Traceback (most recent call last):

File “”, line 1, in

File “C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.4\helpers\pydev_pydev_bundle\pydev_umd.py”, line 197, in runfile

pydev_imports.execfile(filename, global_vars, local_vars) # execute the script

File “C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.4\helpers\pydev_pydev_imps_pydev_execfile.py”, line 18, in execfile

exec(compile(contents+"\n", file, ‘exec’), glob, loc)

File “C:/Users/f.reingruber/PycharmProjects/Rainbow reloaded/Test.py”, line 8, in

driver = Serial(num = 10, ledtype = LEDTYPE.WS2812B)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\driver.py”, line 62, in init

resp = self._connect()

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\driver.py”, line 129, in _connect

raise e

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\driver.py”, line 87, in _connect

self.devices.find_serial_devices()

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\devices.py”, line 51, in find_serial_devices

id = self.get_device_id(port)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\devices.py”, line 126, in get_device_id

com, code, ok = io.send_packet(CMDTYPE.GETID, 0, dev, self.baudrate, 5)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\io.py”, line 11, in send_packet

com = serial.Serial(dev, baudrate=baudrate, timeout=timeout)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialwin32.py”, line 31, in init

super(Serial, self).init(*args, **kwargs)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialutil.py”, line 240, in init

self.open()

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialwin32.py”, line 62, in open

raise SerialException(“could not open port {!r}: {!r}”.format(self.portstr, ctypes.WinError()))

serial.serialutil.SerialException: could not open port ‘COM3’: FileNotFoundError(2, ‘Das System kann die angegebene Datei nicht finden.’, None, 2)

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/a58dcdb1-c681-48fd-bcda-b0d14697e88a%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/9a08b045-4eed-4628-bba8-3e030bee4a07%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/39883aa6-e359-4704-9c48-9f3e417678a8%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/423d8163-92fb-4ec0-a1f7-a6272d651221%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/85699361-38cf-4b90-896f-1f6a4eb833da%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Can you give me the exact command you are using to run that script?
Not trying to be dense, just the response you are seeing doesn’t really make sense under any normal context so I want to be extra sure you are running it right.

···

On Thu, Mar 7, 2019 at 10:29 AM Fabian Reingruber fs.reingruber@gmail.com wrote:

I only run the part I sent you… works for the Striptest. °_°
And the only response is --> Process finished with exit code 0

Am Donnerstag, 7. März 2019 13:29:35 UTC+1 schrieb Adam Haile:

It just immediately exists without doing anything?
Can you give me the full console output from calling the script to exit?

On Thu, Mar 7, 2019 at 5:00 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Back again :slight_smile:

import bibliopixel
# causes frame timing information to be output
bibliopixel.log.setLogLevel(bibliopixel.log.FRAME)

from bibliopixel.drivers import ChannelOrder
from BiblioPixelAnimations.strip.Rainbows import RainbowCycle

# Load driver for the AllPixel
from bibliopixel.drivers.serial import *
# set number of pixels & LED type here
driver = Serial(num = 5, ledtype = LEDTYPE.WS2812B, c_order = ChannelOrder.RBG)

# load the LEDStrip class
from bibliopixel.layout import *
led = Strip(driver)

anim = RainbowCycle(led)

try:
    # run the animation
    anim.run()
except KeyboardInterrupt:
    # Ctrl+C will exit the animation and turn the LEDs offs
    led.all_off()
    led.update()

–> Process finished with exit code 0 °_°

Am Freitag, 22. Februar 2019 17:13:38 UTC+1 schrieb Adam Haile:

Same as the other animation. from BiblioPixelAnimations.strip.Rainbows import RainbowCycle then use the anim = RainbowCycle(<your params>) animation init

On Fri, Feb 22, 2019 at 11:10 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Hi Adam, I am really desperate … because of my poor Python programming skills.
Can we please try one more time?

So I run this Module and 6 LEDs light up as expected:

import bibliopixel
# causes frame timing information to be output

bibliopixel.log.setLogLevel(bibliopixel.log.FRAME)

from bibliopixel.drivers import ChannelOrder

# Load driver for the AllPixel

from bibliopixel.drivers.serial import *

# set number of pixels & LED type here

driver = Serial(num = 15, ledtype = LEDTYPE.WS2812B, c_order = ChannelOrder.RGB)

# load the LEDStrip class

from bibliopixel.layout import *

led = Strip(driver)

# load channel test animation

from bibliopixel.animation import *

anim = StripChannelTest(led)

try:

# run the animation

anim.run()

except KeyboardInterrupt:

# Ctrl+C will exit the animation and turn the LEDs offs

led.all_off()

led.update()

Now if I want to run Rainbows instead of StripChannelTest - what do I have to change?

Thank you Adam!

Fabian

Am Donnerstag, 21. Februar 2019 16:12:24 UTC+1 schrieb Adam Haile:

additional_pixels isn’t actually valid. That was a community submitted animation. No idea why that option is in the doc comment.

On Thu, Feb 21, 2019 at 10:09 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Okok…! I am getting closer!

import bibliopixel

causes frame timing information to be output

bibliopixel.log.setLogLevel(bibliopixel.log.FRAME)

from bibliopixel.drivers import ChannelOrder

Load driver for the AllPixel

from bibliopixel.drivers.serial import *

set number of pixels & LED type here

driver = Serial(num = 10, ledtype = LEDTYPE.WS2812B, c_order = ChannelOrder.RBG)

load the LEDStrip class

from bibliopixel.layout import *

led = Strip(driver)

from BiblioPixelAnimations.strip.PixelPingPong import PixelPingPong

#from PixelPingPong import PixelPingPong

anim = PixelPingPong(led, max_led=30, color=(0, 0, 255), additional_pixels=5, fade_delay=2)

try:

run the animation

anim.run()

except KeyboardInterrupt:

Ctrl+C will exit the animation and turn the LEDs offs

led.all_off()

led.update()

Error Message:

WARNING - deprecated - util.setLogLevel

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

Traceback (most recent call last):

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\Test2.py”, line 19, in

anim = PixelPingPong(led, max_led=30, color=(0, 0, 255), additional_pixels=5, fade_delay=2)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\BiblioPixelAnimations\strip\PixelPingPong.py”, line 27, in init

super().init(layout, 0, -1, **kwds)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\animation\strip.py”, line 10, in init

super().init(layout, **kwds)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\animation\animation.py”, line 59, in init

attributes.set_reserved(self, ‘animation’, **kwds)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\project\attributes.py”, line 9, in set_reserved

check(kwds, ‘%s %s’ % (section, value.class.name))

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\project\attributes.py”, line 5, in check

raise ValueError(‘Unknown attribute%s for %s: %s’ % (s, name, msg))

ValueError: Unknown attribute for animation PixelPingPong: "additional_pixels"

**>>> **

Am Donnerstag, 21. Februar 2019 15:57:19 UTC+1 schrieb Adam Haile:

Yes, as noted that should be from BiblioPixelAnimations.strip.PixelPingPong import PixelPingPong

On Thu, Feb 21, 2019 at 9:53 AM Fabian Reingruber fs.rei...@gmail.com wrote:

I run this single module in a python shell.
with your commandline I get the following:

WARNING - deprecated - util.setLogLevel

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

Traceback (most recent call last):

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\Test2.py”, line 18, in

from PixelPingPong import PixelPingPong

ModuleNotFoundError: No module named 'PixelPingPong’

Am Donnerstag, 21. Februar 2019 14:55:27 UTC+1 schrieb Adam Haile:

If should be from BiblioPixelAnimations.strip.PixelPingPong import PixelPingPong

Though not sure if that’s the full reason for the error.
Can you give me the exact command you are using to run your script?

On Thu, Feb 21, 2019 at 8:53 AM Fabian Reingruber fs.rei...@gmail.com wrote:

I simply exchanged the StripChannelTest with PixelPingPong… :slight_smile:

import bibliopixel

causes frame timing information to be output

bibliopixel.log.setLogLevel(bibliopixel.log.FRAME)

from bibliopixel.drivers import ChannelOrder

from bibliopixel.drivers.serial import *

Load driver for the AllPixel

from bibliopixel.drivers.serial import *

set number of pixels & LED type here

driver = Serial(num = 5, ledtype = LEDTYPE.WS2812B, c_order = ChannelOrder.RGB)

load the LEDStrip class

from bibliopixel.layout import *

led = Strip(driver)

from PixelPingPong import PixelPingPong

anim = PixelPingPong(led, max_led=30, color=(0, 0, 255), additional_pixels=5, fade_delay=2)

load channel test animation

#from bibliopixel.animation import StripChannelTest

#anim = StripChannelTest(led)

try:

run the animation

anim.run()

except KeyboardInterrupt:

Ctrl+C will exit the animation and turn the LEDs offs

led.all_off()

led.update()

Am Donnerstag, 21. Februar 2019 13:00:59 UTC+1 schrieb Adam Haile:

Can you send the actual file you are trying to run? I need more context.

On Thu, Feb 21, 2019 at 3:52 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Hi Adam,

You were right. All of my LEDs were broken. Probably because I had them connected to a bench power supply.

I have ordered new WS2812s and now the StripChannelTest is working.

Now if I want to run e.g. PixelPingPong instead I get this:

ImportError: cannot import name ‘Layout’ from 'bibliopixel.layout.layout’

So far I found that StripChannelTest is defined in the init and within tests.py

Do you please have a hint for me??? :slight_smile:

BR, Fabian

Am Freitag, 8. Februar 2019 19:05:24 UTC+1 schrieb Adam Haile:

c_order = ChannelOrder.RBG goes in the Serial() init, not in setLogLevel

On Fri, Feb 8, 2019 at 11:34 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Now I may have found something: With one LED connected I get bright green light.
But when I want to change the color via the suggested command: c_order = ChannelOrder.RBG it does not recognize this command:

Traceback (most recent call last):

File “”, line 1, in

File “C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.4\helpers\pydev_pydev_bundle\pydev_umd.py”, line 197, in runfile

pydev_imports.execfile(filename, global_vars, local_vars) # execute the script

File “C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.4\helpers\pydev_pydev_imps_pydev_execfile.py”, line 18, in execfile

exec(compile(contents+"\n", file, ‘exec’), glob, loc)

File “C:/Users/f.reingruber/PycharmProjects/Rainbow reloaded/Test.py”, line 3

bibliopixel.log.setLogLevel(bibliopixel.log.FRAME c_order = ChannelOrder.RBG)

^

SyntaxError: invalid syntax

Am Freitag, 8. Februar 2019 16:54:32 UTC+1 schrieb Fabian Reingruber:

I will try some other LEDs and let you know. Thank you so much for your great support! Fabian

Am Freitag, 8. Februar 2019 16:31:37 UTC+1 schrieb Adam Haile:

I’m stumped then. Most likely faulty LED. Have you tried connecting to a different LED in the chain? Those WS2812B LEDs are terrible about dying randomly

On Fri, Feb 8, 2019 at 10:28 AM Fabian Reingruber fs.rei...@gmail.com wrote:

All right :slight_smile: Yes I already did that!
So I did check V+ and GND connection in between the Capacitor and the LEDs.

DATA connection also looks good.

Am Freitag, 8. Februar 2019 16:07:47 UTC+1 schrieb Adam Haile:

Do you have a multimeter? Usually aside from voltage and current they have a continuity mode. It beeps when there’s a connection between the two probes.

On Fri, Feb 8, 2019 at 10:06 AM Fabian Reingruber fs.rei...@gmail.com wrote:

I … do not know how to do that :slight_smile:

Am Freitag, 8. Februar 2019 15:56:38 UTC+1 schrieb Adam Haile:

Are you able to confirm continuity between the AllPixel and the LEDs?

On Fri, Feb 8, 2019 at 9:54 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Hm… The solder connection seems to be fine … I connected one LED only, eleiminating the risk that the LEDs are the problem… same result

WARNING - deprecated - util.setLogLevel

WARNING - deprecated - BaseAnimation.run

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

DEBUG - animation_threading - Animation starts on main thread

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update:

Am Freitag, 8. Februar 2019 15:35:41 UTC+1 schrieb Adam Haile:

Oh… original AllPixel. Cool.
My only guess is that the data signal isn’t making it to the LEDs. I’d try disconnecting and redoing the connections. And then check that you have continuity between data on the AP and data on the first LED.

On Fri, Feb 8, 2019 at 9:30 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Yes of course!
These are type WS2812B. I have connected 46 breakout boards is a circle shaped row.

Connecting to power only, some of the LED light up in a random color.

import bibliopixel
# causes frame timing information to be output
bibliopixel.log.setLogLevel(bibliopixel.log.FRAME)

# Load driver for the AllPixel
from bibliopixel.drivers.serial import *
# set number of pixels & LED type here
driver = Serial(num = 10, ledtype = LEDTYPE.WS2812B)

# load the LEDStrip class
from bibliopixel.layout import *
led = Strip(driver)

# load channel test animation
from bibliopixel.animation import StripChannelTest
anim = StripChannelTest(led)

try:
    # run the animation
    anim.run()
except KeyboardInterrupt:
    # Ctrl+C will exit the animation and turn the LEDs offs
    led.all_off()
    led.update()

Am Freitag, 8. Februar 2019 15:20:11 UTC+1 schrieb Adam Haile:

So, yeah. You’re connecting fine. Just no output on the LEDs. What type of LEDs are you using? Did you set the correct type in the strip example script?
Can you send a picture of your LED connection to the AllPixel?

On Fri, Feb 8, 2019 at 9:05 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Ok!
I had to restart again as it seems to randomly loose connection:

WARNING - deprecated - util.setLogLevel

WARNING - deprecated - BaseAnimation.run

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

DEBUG - animation_threading - Animation starts on main thread

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

FRAME - animation - 0ms/1000fps / Frame: 0ms / Update: 0ms

Am Freitag, 8. Februar 2019 14:38:05 UTC+1 schrieb Adam Haile:

So that shows me that it is connecting and you just aren’t getting any output on the strip.
Can you change this line:

bibliopixel.log.setLogLevel(bibliopixel.log.DEBUG)

to this:

bibliopixel.log.setLogLevel(bibliopixel.log.FRAME)

And then send me the console output you get?

On Fri, Feb 8, 2019 at 8:34 AM Fabian Reingruber fs.rei...@gmail.com wrote:

Yes I had it up and running but this is a while ago already.
I have justv restarted everything and I am back at the previous error message:

WARNING - deprecated - util.setLogLevel

WARNING - deprecated - BaseAnimation.run

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

DEBUG - animation_threading - Animation starts on main thread

Am Freitag, 8. Februar 2019 13:31:30 UTC+1 schrieb Fabian Reingruber:

Here is the pip list:

Package Version


beautifulsoup4 4.7.1

BiblioPixel 3.4.44

BiblioPixelAnimations 3.20181225.205034

BiblioPixelTriggers 1.0.2

certifi 2018.11.29

chardet 3.0.4

Click 7.0

croniter 0.3.27

Flask 1.0.2

gitdb2 2.0.5

GitPython 2.1.11

idna 2.8

itsdangerous 1.1.0

Jinja2 2.10

loady 1.8.10

MarkupSafe 1.1.0

numpy 1.16.1

pip 19.0.1

pyserial 3.4

python-dateutil 2.8.0

PyYAML 3.13

requests 2.21.0

setuptools 40.6.2

six 1.12.0

smmap2 2.0.5

soupsieve 1.7.3

urllib3 1.24.1

Werkzeug 0.14.1

wheel 0.32.3

Am Freitag, 8. Februar 2019 13:22:17 UTC+1 schrieb Fabian Reingruber:

Hey Adam,

I am trying to reactivate my Allpixel.

Running your Strip Example I get the following response:

WARNING - deprecated - util.setLogLevel

INFO - devices - Using COM Port: COM3, Device ID: 0, Device Ver: 0

WARNING - deprecated - BaseAnimation.run

DEBUG - animation_threading - Animation starts on main thread

Can you please help??

BR, Fabian


Adam:

BTW… support requests should go here -> https://groups.google.com/forum/#!forum/maniacal-labs-users

Was there any more to the console output? That looks like it connected… there’s no error. It found the device ID and Version (0 and 0 are correct for a new device). Are you just not getting any output on the LEDs?

What version of bibliopixel are you running? Please send the output of pip list


Thank you for the fast response!

I am a noob in programming so I try different approaches for hours now.

Bibliopixel is the latest version 3.4.44

The Allpixel is connected to COM3.

Right now I get this response in Pycharm:

WARNING - deprecated - util.setLogLevel

DEBUG - devices - Error getting device_id for COM3, 921600

ERROR - driver - Traceback (most recent call last):

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\driver.py”, line 87, in _connect

self.devices.find_serial_devices()

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\devices.py”, line 51, in find_serial_devices

id = self.get_device_id(port)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\devices.py”, line 126, in get_device_id

com, code, ok = io.send_packet(CMDTYPE.GETID, 0, dev, self.baudrate, 5)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\io.py”, line 11, in send_packet

com = serial.Serial(dev, baudrate=baudrate, timeout=timeout)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialwin32.py”, line 31, in init

super(Serial, self).init(*args, **kwargs)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialutil.py”, line 240, in init

self.open()

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialwin32.py”, line 62, in open

raise SerialException(“could not open port {!r}: {!r}”.format(self.portstr, ctypes.WinError()))

serial.serialutil.SerialException: could not open port ‘COM3’: FileNotFoundError(2, ‘Das System kann die angegebene Datei nicht finden.’, None, 2)

ERROR - driver - Unable to connect to the device. Please check that it is connected and the correct port is selected.

Traceback (most recent call last):

File “”, line 1, in

File “C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.4\helpers\pydev_pydev_bundle\pydev_umd.py”, line 197, in runfile

pydev_imports.execfile(filename, global_vars, local_vars) # execute the script

File “C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.4\helpers\pydev_pydev_imps_pydev_execfile.py”, line 18, in execfile

exec(compile(contents+"\n", file, ‘exec’), glob, loc)

File “C:/Users/f.reingruber/PycharmProjects/Rainbow reloaded/Test.py”, line 8, in

driver = Serial(num = 10, ledtype = LEDTYPE.WS2812B)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\driver.py”, line 62, in init

resp = self._connect()

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\driver.py”, line 129, in _connect

raise e

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\driver.py”, line 87, in _connect

self.devices.find_serial_devices()

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\devices.py”, line 51, in find_serial_devices

id = self.get_device_id(port)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\devices.py”, line 126, in get_device_id

com, code, ok = io.send_packet(CMDTYPE.GETID, 0, dev, self.baudrate, 5)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bibliopixel\drivers\serial\io.py”, line 11, in send_packet

com = serial.Serial(dev, baudrate=baudrate, timeout=timeout)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialwin32.py”, line 31, in init

super(Serial, self).init(*args, **kwargs)

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialutil.py”, line 240, in init

self.open()

File “C:\Users\f.reingruber\AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\serialwin32.py”, line 62, in open

raise SerialException(“could not open port {!r}: {!r}”.format(self.portstr, ctypes.WinError()))

serial.serialutil.SerialException: could not open port ‘COM3’: FileNotFoundError(2, ‘Das System kann die angegebene Datei nicht finden.’, None, 2)

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/a58dcdb1-c681-48fd-bcda-b0d14697e88a%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/9a08b045-4eed-4628-bba8-3e030bee4a07%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/39883aa6-e359-4704-9c48-9f3e417678a8%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/423d8163-92fb-4ec0-a1f7-a6272d651221%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/85699361-38cf-4b90-896f-1f6a4eb833da%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-labs-users@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/312c8096-6ad9-4d5d-b4a7-eb4002b63134%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.