NEWS
USB-Hub am Pi, BLE+Zigbee
-
Moin zusammen,
habe gestern Abend mal einen USB2.0 HUB an den Pi4 angeschlossen, da die Ports mit 2x Smartmeter, USB-SSD-Adapter, Zigbee und BLE übervoll waren.
Nun, Zigbee war ja vorher schon sehr inkonsistent, ist jetzt noch schlimmer, wird selten noch grün, BLE bleibt immer gelb, obwohl unter "lsusb" der Stick aufgeführt ist und auch bei "hciconig" BLE als USB ausgewiesen ist.Hat jemand ähnliche Erfahrung gemacht, und gibt es Tipps zur Verbesserung?
Der USB-Hub ist ein 4-port passiv mit 30cm kurzen Anschlusskabel, also auch keine großer Herausforderungen.
Grüße
-
@hg6806 sagte in USB-Hub am Pi, BLE+Zigbee:
Der USB-Hub ist ein 4-port passiv mit 30cm kurzen Anschlusskabel, also auch keine großer Herausforderungen.
Die Herausforderungen lägen höchstens am Stromverbrauch der Leseköpfe und der Transceiver.
So ein USB-Port liefert nur 500mAGibt es denn keine Meldungen im Log?
Auch nicht im debug-Modus? -
Am Hub sind nur die Zigbee und BLE Sticks angeschlossen, und die sollten zusammen kaum an die 500mA Grenze kommen. Auch ein evtl. Spannungsabfall durch Kabel sollte bei 30cm nicht der Grund sein.
Hier mal das Debug Log vom BLE, denn ich kein Stück zum Laufen bekomme:
ble.0 2019-12-07 10:41:26.757 info (16062) monitored services: fe95 ble.0 2019-12-07 10:41:26.755 info (16062) enabled plugins: Xiaomi, _default ble.0 2019-12-07 10:41:26.754 info (16062) loaded plugins: Xiaomi, mi-flora, ruuvi-tag, _default ble.0 2019-12-07 10:41:26.616 info (16062) starting. Version 0.10.1 in /opt/iobroker/node_modules/iobroker.ble, node: v10.17.0 ble.0 2019-12-07 10:41:22.492 info (15633) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason ble.0 2019-12-07 10:41:22.490 info (15633) terminating ble.0 2019-12-07 10:41:22.487 info (15633) Got terminate signal TERMINATE_YOURSELF ble.0 2019-12-07 10:41:11.689 info (15633) monitored services: fe95 ble.0 2019-12-07 10:41:11.687 info (15633) enabled plugins: Xiaomi, _default ble.0 2019-12-07 10:41:11.686 info (15633) loaded plugins: Xiaomi, mi-flora, ruuvi-tag, _default ble.0 2019-12-07 10:41:11.545 info (15633) starting. Version 0.10.1 in /opt/iobroker/node_modules/iobroker.ble, node: v10.17.0 ble.0 2019-12-07 10:41:10.859 debug (15633) States connected to redis: 127.0.0.1:9000 ble.0 2019-12-07 10:41:10.800 debug (15633) statesDB connected ble.0 2019-12-07 10:41:10.799 debug (15633) States create PubSub Client ble.0 2019-12-07 10:41:10.757 debug (15633) Objects connected to redis: 127.0.0.1:9001 ble.0 2019-12-07 10:41:10.753 debug (15633) Redis States: Use Redis connection: 127.0.0.1:9000 ble.0 2019-12-07 10:41:10.751 debug (15633) objectDB connected ble.0 2019-12-07 10:41:10.737 debug (15633) Objects client initialize lua scripts ble.0 2019-12-07 10:41:10.736 debug (15633) Objects create PubSub Client ble.0 2019-12-07 10:41:10.732 debug (15633) Objects client ready ... initialize now ble.0 2019-12-07 10:41:10.683 debug (15633) Redis Objects: Use Redis connection: 127.0.0.1:9001
-
Leider läuft BLE noch immer nicht am HUB.
Hier nochmal ein Debug-Log:ble.0 2020-01-27 23:01:48.643 debug (30549) system.adapter.admin.0: logging true ble.0 2020-01-27 23:01:17.211 info (30549) monitored services: fe95 ble.0 2020-01-27 23:01:17.209 info (30549) enabled plugins: Xiaomi, _default ble.0 2020-01-27 23:01:17.208 info (30549) loaded plugins: Xiaomi, mi-flora, ruuvi-tag, _default ble.0 2020-01-27 23:01:17.094 info (30549) starting. Version 0.10.1 in /opt/iobroker/node_modules/iobroker.ble, node: v10.18.1 ble.0 2020-01-27 23:01:16.106 debug (30549) States connected to redis: 127.0.0.1:9000 ble.0 2020-01-27 23:01:15.113 debug (30549) statesDB connected ble.0 2020-01-27 23:01:15.111 debug (30549) States create PubSub Client ble.0 2020-01-27 23:01:15.104 debug (30549) Objects connected to redis: 127.0.0.1:9001 ble.0 2020-01-27 23:01:15.100 debug (30549) Redis States: Use Redis connection: 127.0.0.1:9000 ble.0 2020-01-27 23:01:15.098 debug (30549) objectDB connected ble.0 2020-01-27 23:01:15.082 debug (30549) Objects client initialize lua scripts ble.0 2020-01-27 23:01:15.081 debug (30549) Objects create PubSub Client ble.0 2020-01-27 23:01:15.077 debug (30549) Objects client ready ... initialize now ble.0 2020-01-27 23:01:15.037 debug (30549) Redis Objects: Use Redis connection: 127.0.0.1:9001 ble.0 2020-01-27 23:01:10.440 info (30376) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason ble.0 2020-01-27 23:01:10.439 info (30376) terminating ble.0 2020-01-27 23:01:10.436 info (30376) Got terminate signal TERMINATE_YOURSELF ble.0 2020-01-27 23:01:10.366 debug (30376) system.adapter.admin.0: logging false ble.0 2020-01-27 23:00:12.554 info (30376) monitored services: fe95 ble.0 2020-01-27 23:00:12.550 info (30376) enabled plugins: Xiaomi, _default ble.0 2020-01-27 23:00:12.548 info (30376) loaded plugins: Xiaomi, mi-flora, ruuvi-tag, _default ble.0 2020-01-27 23:00:12.386 info (30376) starting. Version 0.10.1 in /opt/iobroker/node_modules/iobroker.ble, node: v10.18.1 ble.0 2020-01-27 23:00:11.497 debug (30376) States connected to redis: 127.0.0.1:9000 ble.0 2020-01-27 23:00:11.439 debug (30376) statesDB connected ble.0 2020-01-27 23:00:11.437 debug (30376) States create PubSub Client ble.0 2020-01-27 23:00:11.428 debug (30376) Objects connected to redis: 127.0.0.1:9001 ble.0 2020-01-27 23:00:11.425 debug (30376) Redis States: Use Redis connection: 127.0.0.1:9000 ble.0 2020-01-27 23:00:11.422 debug (30376) objectDB connected ble.0 2020-01-27 23:00:11.406 debug (30376) Objects client initialize lua scripts ble.0 2020-01-27 23:00:11.404 debug (30376) Objects create PubSub Client ble.0 2020-01-27 23:00:11.399 debug (30376) Objects client ready ... initialize now ble.0 2020-01-27 23:00:11.343 debug (30376) Redis Objects: Use Redis connection: 127.0.0.1:9001 ble.0 2020-01-27 23:00:07.727 info (30290) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason ble.0 2020-01-27 23:00:07.726 info (30290) terminating ble.0 2020-01-27 23:00:07.723 info (30290) Got terminate signal TERMINATE_YOURSELF ble.0 2020-01-27 22:59:58.901 info (30290) monitored services: fe95 ble.0 2020-01-27 22:59:58.899 info (30290) enabled plugins: Xiaomi, _default ble.0 2020-01-27 22:59:58.898 info (30290) loaded plugins: Xiaomi, mi-flora, ruuvi-tag, _default ble.0 2020-01-27 22:59:58.763 info (30290) starting. Version 0.10.1 in /opt/iobroker/node_modules/iobroker.ble, node: v10.18.1 ble.0 2020-01-27 22:59:54.460 info (29528) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason ble.0 2020-01-27 22:59:54.458 info (29528) terminating ble.0 2020-01-27 22:59:54.456 info (29528) Got terminate signal TERMINATE_YOURSELF