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)