bluetti_mqtt icon indicating copy to clipboard operation
bluetti_mqtt copied to clipboard

-mqtt sometimes crashing

Open frarude opened this issue 2 years ago • 0 comments

sometimes I get following crash:

2022-11-23 12:53:10 ERROR Crashing with uncaught exception: Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/bluetti_mqtt/device_handler.py", line 31, in run await asyncio.gather(*(polling_tasks + pack_polling_tasks + [manager_task])) File "/usr/local/lib/python3.10/site-packages/bluetti_mqtt/bluetooth/manager.py", line 19, in run await asyncio.gather(*[c.run() for c in self.clients.values()]) File "/usr/local/lib/python3.10/site-packages/bluetti_mqtt/bluetooth/client.py", line 50, in run await self.client.start_notify( File "/usr/local/lib/python3.10/site-packages/bleak/__init__.py", line 649, in start_notify await self._backend.start_notify(characteristic, wrapped_callback, **kwargs) File "/usr/local/lib/python3.10/site-packages/bleak/backends/corebluetooth/client.py", line 360, in start_notify await self._delegate.start_notifications(characteristic.obj, callback) File "/usr/local/lib/python3.10/site-packages/bleak/backends/corebluetooth/PeripheralDelegate.py", line 212, in start_notifications raise ValueError("Characteristic notifications already started") ValueError: Characteristic notifications already started 2022-11-23 12:53:10 INFO Shutting down...

while reading from blutet ac200max. Reason: unknown Version istalled a few days ago with pip on MacOS 12.6 Monterey

frarude avatar Nov 23 '22 12:11 frarude