Replies: 1 comment
-
I'm not sure how to post the proper indented file. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Config.txt
I keep getting this repeated message every time I start room assistant
2/7/2021, 8:17:00 PM - info - BluetoothLowEnergyService: Discovered new BLE peripheral macaddress with ID macaddress and RSSI -63
(node:2001) UnhandledPromiseRejectionWarning: TypeError: x.toLowerCase is not a function
at /usr/local/lib/node_modules/room-assistant/dist/integrations/bluetooth-low-energy/bluetooth-low-energy.service.js:171:38
at Array.map ()
at BluetoothLowEnergyService.isOnAllowlist (/usr/local/lib/node_modules/room-assistant/dist/integrations/bluetooth-low-energy/bluetooth-low-energy.service.js:171:25)
at BluetoothLowEnergyService.handleDiscovery (/usr/local/lib/node_modules/room-assistant/dist/integrations/bluetooth-low-energy/bluetooth-low-energy.service.js:91:19)
(Use
node --trace-warnings ...
to show where the warning was created)(node:2001) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag
--unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)(node:2001) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Reinstalled twice and get same message
config for bluetootothLowEnergy
global:
instanceName: familyroom
integrations:
- bluetoothLowEnergy
- homeAssistant
bluetoothLowEnergy:
hciDeviceId: 0
allowlist:
- macaddress
- macaddress
homeAssistant:
mqttUrl: 'mqtt://xx.xx.xx.xx:1883'
mqttOptions:
username: user
password: password
cluster:
autoDiscovery: false
networkInterface: eth0
peerAddresses:
Also tried to config with BLE and BTclassic on same adapter. I get same message.
Beta Was this translation helpful? Give feedback.
All reactions