NEWS
BLE auf OSX
-
Ich versuche mich heute weiter an meinem Macbook-ioBroker. Projekt für heute ist bluetooth low energy, leider nicht so einfach wie auf dem Raspberry, BLE wird als aktiv angezeigt, der driver ebenfalls, nur meinen Flower Care will er nicht finden... unter "Gerät auswählen" in den Einstellungen steht nur eine 1 kann es daran liegen?
Danke euch und schönes Wochenende
-
@Gamecat34
Macbook - welche Version ? Hat das bereits BLE ? -
@asgothian Häng mich da mal mit dran, auch wenn es ein ziemlich alter Thread ist.
Mein Mac mini hat auf jeden Fall BLE. Das ist der Auszug aus den Logs:ble.0 2021-05-22 16:46:28.819 error (3780) The id "ble.0." is invalid. Ids are not allowed to end in "." ble.0 2021-05-22 16:46:28.819 error at onDiscover (/usr/local/iobroker/node_modules/iobroker.ble/build/main.js:323:30) ble.0 2021-05-22 16:46:28.819 error at Object.extendDevice (/usr/local/iobroker/node_modules/iobroker.ble/build/lib/iobroker-objects.js:7:57) ble.0 2021-05-22 16:46:28.819 error at ObjectCache.getObject (/usr/local/iobroker/node_modules/iobroker.ble/build/lib/object-cache.js:26:55) ble.0 2021-05-22 16:46:28.819 error at Adapter.getForeignObjectAsync (/usr/local/iobroker/node_modules/iobroker.js-controller/lib/tools.js:1568:16) ble.0 2021-05-22 16:46:28.819 error at new Promise (<anonymous>) ble.0 2021-05-22 16:46:28.819 error at /usr/local/iobroker/node_modules/iobroker.js-controller/lib/tools.js:1569:16 ble.0 2021-05-22 16:46:28.819 error at Adapter.getForeignObject (/usr/local/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:2942:17) ble.0 2021-05-22 16:46:28.819 error at validateId (/usr/local/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:532:23) ble.0 2021-05-22 16:46:28.819 error (3780) Error: The id "ble.0." is invalid. Ids are not allowed to end in "." ble.0 2021-05-22 16:46:28.818 error (3780) unhandled promise rejection: The id "ble.0." is invalid. Ids are not allowed to end in "." ble.0 2021-05-22 16:46:28.818 error (3780) 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(). ble.0 2021-05-22 16:46:28.815 warn (3780) Terminated (UNCAUGHT_EXCEPTION): Without reason ble.0 2021-05-22 16:46:28.814 info (3780) terminating ble.0 2021-05-22 16:46:28.810 error (3780) The id "ble.0." is invalid. Ids are not allowed to end in "." ble.0 2021-05-22 16:46:28.809 error at onDiscover (/usr/local/iobroker/node_modules/iobroker.ble/build/main.js:323:30) ble.0 2021-05-22 16:46:28.809 error at Object.extendDevice (/usr/local/iobroker/node_modules/iobroker.ble/build/lib/iobroker-objects.js:7:57) ble.0 2021-05-22 16:46:28.809 error at ObjectCache.getObject (/usr/local/iobroker/node_modules/iobroker.ble/build/lib/object-cache.js:26:55) ble.0 2021-05-22 16:46:28.809 error at Adapter.getForeignObjectAsync (/usr/local/iobroker/node_modules/iobroker.js-controller/lib/tools.js:1568:16) ble.0 2021-05-22 16:46:28.809 error at new Promise (<anonymous>) ble.0 2021-05-22 16:46:28.809 error at /usr/local/iobroker/node_modules/iobroker.js-controller/lib/tools.js:1569:16 ble.0 2021-05-22 16:46:28.809 error at Adapter.getForeignObject (/usr/local/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:2942:17) ble.0 2021-05-22 16:46:28.809 error at validateId (/usr/local/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:532:23) ble.0 2021-05-22 16:46:28.809 error (3780) Error: The id "ble.0." is invalid. Ids are not allowed to end in "." ble.0 2021-05-22 16:46:28.809 error (3780) unhandled promise rejection: The id "ble.0." is invalid. Ids are not allowed to end in "." ble.0 2021-05-22 16:46:28.808 error (3780) 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(). ble.0 2021-05-22 16:46:28.755 info (3780) starting scan for services [] ble.0 2021-05-22 16:46:28.668 info (3780) starting scanner process... ble.0 2021-05-22 16:46:28.668 info (3780) monitored services: ble.0 2021-05-22 16:46:28.667 info (3780) enabled plugins: _default ble.0 2021-05-22 16:46:28.667 info (3780) loaded plugins: Xiaomi, mi-flora, ruuvi-tag, _default ble.0 2021-05-22 16:46:28.649 info (3780) starting. Version 0.12.0 in /usr/local/iobroker/node_modules/iobroker.ble, node: v12.22.1, js-controller: 3.2.16
-
Hier kommen offensichtlich 2 Dinge zusammen:
- der BLE Adapter findet ein Gerät das er nicht benennen kann
- Er versucht einen Kanal ohne Namen in der States-DB zu erzeugen.
Um dem nachzugehen ist ein Issue am BLE Adapter notwendig. Da ich den nicht aktiv nutze kann ich da nicht helfen.
A.