Cannot connect my Allpixel

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)

What did you change since the last console output you sent? Before it was getting the device ID fine.
It looks like maybe you have something else already connecting to that port.

Have you been able to use this AllPixel previously without issue?

···

On Friday, February 8, 2019 at 7:22:17 AM UTC-5, Fabian Reingruber wrote:

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)

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)

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)

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.reingruber@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-labs-users@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.

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.

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.reingruber@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-labs-users@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.

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()

IMG_20190208_152500.jpg

···

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.

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.reingruber@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-labs-users@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.

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.

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

···

On Fri, Feb 8, 2019 at 9:54 AM Fabian Reingruber fs.reingruber@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-labs-users@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.

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.

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.reingruber@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-labs-users@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.

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.

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.reingruber@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/150a3212-4244-438c-99ad-1949b3cc3b8b%40googlegroups.com.

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

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.

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.

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

···

On Fri, Feb 8, 2019 at 11:34 AM Fabian Reingruber fs.reingruber@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-labs-users@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.

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.

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.reingruber@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-labs-users@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.