Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why do I have a bluetooth device called "undefined" ? #136

Closed
B-Hartley opened this issue Mar 9, 2020 · 2 comments
Closed

Why do I have a bluetooth device called "undefined" ? #136

B-Hartley opened this issue Mar 9, 2020 · 2 comments

Comments

@B-Hartley
Copy link

Describe the bug
A few times when runnings, I seem to end up with a bluetooth device called "undefined"
Sometimes I see it in the MQTT data.
Sometimes I see it in the logs.

[Nest] 30489   - 03/09/2020, 8:53:52 PM   [BluetoothClassicService] Querying for RSSI of undefined using hcitool
[Nest] 30489   - 03/09/2020, 8:53:57 PM   [BluetoothClassicService] Command failed: hcitool -i hci0 cc "undefined" && hcitool -i hci0 rssi "undefined"
Can't create connection: Input/output error
Get connection info failed: No such file or directory

config........

global:
  instanceName: lounge
  integrations:
    - bluetoothClassic
    - homeAssistant
cluster:
  autoDiscovery: false
  quorum: 4
  weight: 4
  networkInterface: wlan0
  port: 6425
  peerAddresses:
    - 192.168.xx.xxx:6425
    - 192.168.xx.xxx:6425
    - 192.168.xx.xxx:6425
    - 192.168.xx.xxx:6425
    - 192.168.xx.xxx:6425    
    - 192.168.xx.xxx:6425
bluetoothClassic:
  minRssi: -20
  addresses:
    - 'CC:D2:81:xx:xx:xx'
    - '8C:86:1E:xx:xx:xx'
    - '2C:33:61:xx:xx:xx'
    - '2C:33:61:xx:xx:xx'
    - '18:55:E3:xx:xx:xx'
homeAssistant:
  mqttUrl: mqtt://192.168.xx.xxx:1883
  mqttOptions:
    username: xxxxxx
    password: xxxxxx

Environment

  • room-assistant version: 2.1.1
  • installation type: NodeJS
  • hardware: Raspberry Pi Zero W
@B-Hartley B-Hartley added the bug label Mar 9, 2020
@mKeRix
Copy link
Owner

mKeRix commented Mar 10, 2020

Was also mentioned in #116, but it's good to have a separate issue for this. I'm not sure about the cause yet and will investigate. Thanks for reporting!

@mKeRix mKeRix closed this as completed in ed733a3 Mar 22, 2020
github-actions bot pushed a commit that referenced this issue Mar 22, 2020
# [2.2.0](v2.1.1...v2.2.0) (2020-03-22)

### Bug Fixes

* **bluetooth-classic:** ignore requests for undefined addresses ([ed733a3](ed733a3)), closes [#136](#136)

### Features

* **bluetooth-classic:** add options for interval and timeout ([c5b181f](c5b181f)), closes [#147](#147) [#142](#142)
* **bluetooth-low-energy:** add blacklist option ([0f6eac4](0f6eac4)), closes [#99](#99)
@github-actions
Copy link

🎉 This issue has been resolved in version 2.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants