While trying to adjust the temperature or color of the mug, I get this error. I'm on MacOs, running Python 3.7. Can you guide me towards where I should look to debug it?
Changed Color to bytearray(b'\x18\x18\x18\xff')
.
Exception in callback PeripheralDelegate.did_write_value_for_characteristic(<CBPeripheral...e = connected>, <CBCharacteri...otifying = NO>, Error Domain=...ot permitted.})
handle: <Handle PeripheralDelegate.did_write_value_for_characteristic(<CBPeripheral...e = connected>, <CBCharacteri...otifying = NO>, Error Domain=...ot permitted.})>
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/events.py", line 88, in _run
self._context.run(self._callback, *self._args)
File "/Users/n0272436/Library/Python/3.7/lib/python/site-packages/bleak/backends/corebluetooth/PeripheralDelegate.py", line 354, in did_write_value_for_characteristic
"Failed to write characteristic {}: {}".format(cUUID, error)
bleak.exc.BleakError: Failed to write characteristic FC540014-236C-4C94-8FA9-944A3E5353FA: Error Domain=CBATTErrorDomain Code=3 "Writing is not permitted." UserInfo={NSLocalizedDescription=Writing is not permitted.}
Hi,
While trying to adjust the temperature or color of the mug, I get this error. I'm on MacOs, running Python 3.7. Can you guide me towards where I should look to debug it?