SSMCD / bluetti2mqtt

Home Assistant Add-on for bluetti_mqtt
Apache License 2.0
32 stars 9 forks source link

Help here is my error log #45

Open ceredoandy opened 5 months ago

ceredoandy commented 5 months ago

s6-rc: info: service s6rc-oneshot-runner: starting s6-rc: info: service s6rc-oneshot-runner successfully started s6-rc: info: service fix-attrs: starting s6-rc: info: service fix-attrs successfully started s6-rc: info: service legacy-cont-init: starting cont-init: info: running /etc/cont-init.d/00-banner.sh


Add-on: Bluetti to MQTT MQTT bridge between Bluetti and Home Assistant

Add-on version: 1.4.1 You are running the latest version of this add-on. System: Home Assistant OS 12.1 (amd64 / qemux86-64) Home Assistant Core: 2024.3.1 Home Assistant Supervisor: 2024.03.0

Please, share the above information when looking for help or support in, e.g., GitHub, forums or the Discord chat.

cont-init: info: /etc/cont-init.d/00-banner.sh exited 0 cont-init: info: running /etc/cont-init.d/01-log-level.sh cont-init: info: /etc/cont-init.d/01-log-level.sh exited 0 s6-rc: info: service legacy-cont-init successfully started s6-rc: info: service legacy-services: starting s6-rc: info: service legacy-services successfully started [18:59:35] INFO: Reading configuration settings... [18:59:36] INFO: Debug mode is enabled. [18:59:36] INFO: Starting bluetti-mqtt... 2024-03-14 18:59:37 DEBUG Using selector: EpollSelector Scanning.... 2024-03-14 18:59:37 DEBUG initial properties: {'/org/bluez': {'org.freedesktop.DBus.Introspectable': {}, 'org.bluez.AgentManager1': {}, 'org.bluez.ProfileManager1': {}}} Traceback (most recent call last): File "/usr/local/bin/bluetti-mqtt", line 8, in sys.exit(main()) File "/usr/local/lib/python3.10/site-packages/bluetti_mqtt/server_cli.py", line 156, in main cli.execute() File "/usr/local/lib/python3.10/site-packages/bluetti_mqtt/server_cli.py", line 68, in execute asyncio.run(scan_devices()) File "/usr/local/lib/python3.10/asyncio/runners.py", line 44, in run return loop.run_until_complete(main) File "/usr/local/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete return future.result() File "/usr/local/lib/python3.10/site-packages/bluetti_mqtt/bluetooth/init.py", line 17, in scan_devices devices = await BleakScanner.discover() File "/usr/local/lib/python3.10/site-packages/bleak/init.py", line 242, in discover async with cls(**kwargs) as scanner: File "/usr/local/lib/python3.10/site-packages/bleak/init.py", line 152, in aenter await self._backend.start() File "/usr/local/lib/python3.10/site-packages/bleak/backends/bluezdbus/scanner.py", line 179, in start adapter_path = manager.get_default_adapter() File "/usr/local/lib/python3.10/site-packages/bleak/backends/bluezdbus/manager.py", line 299, in get_default_adapter raise BleakError("No Bluetooth adapters found.") bleak.exc.BleakError: No Bluetooth adapters found. s6-rc: info: service legacy-services: stopping s6-rc: info: service legacy-services successfully stopped s6-rc: info: service legacy-cont-init: stopping s6-rc: info: service legacy-cont-init successfully stopped s6-rc: info: service fix-attrs: stopping s6-rc: info: service fix-attrs successfully stopped s6-rc: info: service s6rc-oneshot-runner: stopping s6-rc: info: service s6rc-oneshot-runner successfully stopped

ceredoandy commented 5 months ago

please help I am new to ha and mqtt