python-spotled icon indicating copy to clipboard operation
python-spotled copied to clipboard

I finally connected, but now im getting this error haha

Open The-Reeded-Edge opened this issue 1 year ago • 2 comments

traceback (most recent call last): File "/home/thescribe/Documents/spotledtest.py", line 2, in sender = spotled.LedConnection('E1:A0:BB:5D:5A:A0') File "/home/thescribe/.local/lib/python3.10/site-packages/spotled/init.py", line 771, in init self.connection.write_by_handle(0x0f, b'\x00\x00\x00\x01') # request notifications gattlib.GATTException: Characteristic value/descriptor operation failed: Attribute can't be written

I copy/pasted a couple lines of code you posted here, and i got this error.. i think its because that mac address cant be assigned to the sender variable??

edit: at least i think i connected idk.. but the error message changed from saying the bluetooth connection timed out to this when i put in the correct mac address, (the address of the led screen itself)

The-Reeded-Edge avatar Feb 25 '24 23:02 The-Reeded-Edge

I.m getting the same error as https://github.com/The-Reeded-Edge

File "/home/thescribe/.local/lib/python3.10/site-packages/spotled/init.py", line 771, in init self.connection.write_by_handle(0x0f, b'\x00\x00\x00\x01') # request notifications gattlib.GATTException: Characteristic value/descriptor operation failed: Attribute can't be written

This is with python 3.10.12, python3-gattlib and the python spotled library are installed, Kubuntu 22.04

rfreedman avatar Oct 23 '24 01:10 rfreedman

I am also experiencing this issue with a 16x32 flexible SPOTLED display. Using a RPI Zero with raspbian lite installed.

HerrForehead avatar Sep 24 '25 07:09 HerrForehead