question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

error - BluetoothClassicService: Command failed:

See original GitHub issue

error - BluetoothClassicService: Command failed: hcitool -i hci0 cc “MAC” && hcitool -i hci0 rssi “MAC” Invalid device: No such device

My Configuration

global: instanceName: livingroom integrations: - homeAssistant - bluetoothClassic homeAssistant: mqttUrl: ‘mqtt://MY_MQTT_BROKER:1883’ mqttOptions: username: MY_USER password: MY_PASS bluetoothClassic: minRssi: -20 hciDeviceId: 0 addresses: - ‘MAC’

Environment

  • room-assistant version: 2.8.2
  • installation type: Hass.io
  • hardware: VBox
  • OS: macOS

Full Log

[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[18:17:47] INFO: Setting up Home Assistant configuration
[18:17:47] INFO: Starting room-assistant
*** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/blog/projects/avahi-compat.html>
*** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/blog/projects/avahi-compat.html>
7/5/2020, 6:17:50 PM - info - IntegrationsModule: Loading integrations: home-assistant, bluetooth-classic
7/5/2020, 6:17:50 PM - info - NestFactory: Starting Nest application...
7/5/2020, 6:17:50 PM - info - InstanceLoader: AppModule dependencies initialized
7/5/2020, 6:17:50 PM - info - InstanceLoader: ConfigModule dependencies initialized
7/5/2020, 6:17:50 PM - info - InstanceLoader: NestEmitterModule dependencies initialized
7/5/2020, 6:17:50 PM - info - InstanceLoader: IntegrationsModule dependencies initialized
7/5/2020, 6:17:50 PM - info - InstanceLoader: HttpModule dependencies initialized
7/5/2020, 6:17:50 PM - info - InstanceLoader: DiscoveryModule dependencies initialized
7/5/2020, 6:17:50 PM - info - InstanceLoader: HomeAssistantModule dependencies initialized
7/5/2020, 6:17:50 PM - info - InstanceLoader: ClusterModule dependencies initialized
7/5/2020, 6:17:50 PM - info - InstanceLoader: TerminusModule dependencies initialized
7/5/2020, 6:17:50 PM - info - InstanceLoader: ScheduleModule dependencies initialized
7/5/2020, 6:17:50 PM - info - InstanceLoader: EntitiesModule dependencies initialized
7/5/2020, 6:17:50 PM - info - InstanceLoader: BluetoothClassicModule dependencies initialized
7/5/2020, 6:17:50 PM - info - InstanceLoader: StatusModule dependencies initialized
7/5/2020, 6:17:51 PM - info - RoutesResolver: EntitiesController {/entities}:
7/5/2020, 6:17:51 PM - info - RouterExplorer: Mapped {/entities, GET} route
7/5/2020, 6:17:51 PM - info - RoutesResolver: StatusController {/status}:
7/5/2020, 6:17:51 PM - info - RouterExplorer: Mapped {/status, GET} route
7/5/2020, 6:17:51 PM - info - HomeAssistantService: Successfully connected to MQTT broker at mqtt://MY_MQQT
7/5/2020, 6:17:51 PM - info - ConfigService: Loading configuration from /usr/lib/node_modules/room-assistant/dist/config/definitions/default.js, config/default.json, config/local.json
7/5/2020, 6:17:51 PM - info - ClusterService: Starting mDNS advertisements and discovery
7/5/2020, 6:17:51 PM - info - NestApplication: Nest application successfully started
7/5/2020, 6:17:53 PM - info - ClusterService: livingroom has been elected as leader
7/5/2020, 6:17:53 PM - info - EntitiesService: Refreshing entity states
7/5/2020, 6:17:57 PM - error - BluetoothClassicService: Command failed: hcitool -i hci0 cc "MAC" && hcitool -i hci0 rssi "MAC"
Invalid device: No such device 

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Colorado4Wheelercommented, Jan 24, 2021

No, I did not! I was running classic so I just ran the instructions here and restarted RA and it fixed it! Thank you for that! I’ll do the same for BLE.

0reactions
mKeRixcommented, Aug 5, 2021

@kjell5317 Home Assistant OS is a bit special with this stuff - I honestly don’t know if USB adapters will work in the current state of the add-on, never tried. I’d recommend you open a new issue for this and I’ll see if I can try some stuff with my OS installation.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Hass.io Add-on: room-assistant - Home Assistant Community
As the error says - it's an issue with Bluetooth on your system. You can list the available Bluetooth adapters by executing hciconfig...
Read more >
room presence with any Bluetooth device (e.g. Apple Watch ...
Even running the /usr/bin/room-assistant command gives me a command not found error. It would be nice for the docs to include a starting...
Read more >
Presence Detection using Room Assistant, Home Assistant ...
To do that execute the following commands (assuming you are using ... error – BluetoothClassicService: Command failed: hcitool -i hci0 cc ...
Read more >
Zigbee2MQTT fails to start
This error occurs when another program is already using (and thus locking) the adapter. You can find out which via the following command:...
Read more >
Failed to start Bluetooth: [org.bluez.Error.NotReady] Resource ...
You can do this with the command… command. Take a look at this sample of my Docker Compose file. homeassistant: container_name: home-assistant ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found