@karlklammer
So Controller ist da. Ich habe mein iPad jetzt mal zurückgesetzt... Leider können nicht zwei Controller in einer App angemeldet werden. Dann habe ich den Controller II ausgewählt, Code gescannt, Systempasswort festgelegt und ganz oft weiter gedrückt und dann war es erst einmal in der App eingerichtet.
Dann habe ich eine neue Adapter Instanz angelegt und die IP Adresse und das vorher gewählte Systempasswort eingestellt.
2023-11-22 19:44:52.538 - debug: bshb.1 (3330656) Redis Objects: Use Redis connection: 127.0.0.1:6378
2023-11-22 19:44:52.574 - debug: bshb.1 (3330656) Objects client ready ... initialize now
2023-11-22 19:44:52.577 - debug: bshb.1 (3330656) Objects create System PubSub Client
2023-11-22 19:44:52.579 - debug: bshb.1 (3330656) Objects create User PubSub Client
2023-11-22 19:44:52.633 - debug: bshb.1 (3330656) Objects client initialize lua scripts
2023-11-22 19:44:52.640 - debug: bshb.1 (3330656) Objects connected to redis: 127.0.0.1:6378
2023-11-22 19:44:52.661 - debug: bshb.1 (3330656) Redis States: Use Redis connection: 127.0.0.1:6379
2023-11-22 19:44:52.670 - debug: bshb.1 (3330656) States create System PubSub Client
2023-11-22 19:44:52.672 - debug: bshb.1 (3330656) States create User PubSub Client
2023-11-22 19:44:52.698 - debug: bshb.1 (3330656) States connected to redis: 127.0.0.1:6379
2023-11-22 19:44:52.826 - info: bshb.1 (3330656) starting. Version 0.2.4 in /opt/iobroker/node_modules/iobroker.bshb, node: v18.18.2, js-controller: 5.0.12
2023-11-22 19:44:52.865 - debug: bshb.1 (3330656) config host: 192.168.178.93
2023-11-22 19:44:52.865 - debug: bshb.1 (3330656) config identifier: ioBroker.bshb_c7ba8212-5bfa-40c4-850c-7d26a1e1150e
2023-11-22 19:44:52.866 - debug: bshb.1 (3330656) config systemPassword: true
2023-11-22 19:44:52.867 - debug: bshb.1 (3330656) config pairingDelay: 10000
2023-11-22 19:44:52.868 - debug: bshb.1 (3330656) config rateLimit: 1000
2023-11-22 19:44:52.894 - info: bshb.1 (3330656) Client certificate found in system.certificates
2023-11-22 19:44:52.895 - info: bshb.1 (3330656) Check if certificate is file reference or actual content
2023-11-22 19:44:52.895 - info: bshb.1 (3330656) certificate seems to be actual content. Use value from state.
2023-11-22 19:44:52.896 - info: bshb.1 (3330656) private key seems to be actual content. Use value from state.
2023-11-22 19:44:52.908 - info: bshb.1 (3330656) Check if client with identifier: ioBroker.bshb_c7ba8212-5bfa-40c4-850c-7d26a1e1150e is already paired.
2023-11-22 19:44:53.923 - debug: bshb.1 (3330656) error during call to BSHC: - [{"errno":-71,"code":"EPROTO","syscall":"write"}]
2023-11-22 19:44:53.927 - info: bshb.1 (3330656) Client with identifier: ioBroker.bshb_c7ba8212-5bfa-40c4-850c-7d26a1e1150e was not paired yet.
2023-11-22 19:44:53.929 - info: bshb.1 (3330656) Start pairing. Activate pairing on Bosch Smart Home Controller by pressing button until flashing.
2023-11-22 19:44:54.848 - debug: bshb.1 (3330656) error during call to BSHC: - [{"errno":-71,"code":"EPROTO","syscall":"write"}]
2023-11-22 19:44:54.850 - warn: bshb.1 (3330656) Could not pair client. Did you press the paring button? Error details: BshbError: [ERROR] error during call to BSHC:
2023-11-22 19:44:54.851 - warn: bshb.1 (3330656) Could not pair client. Did you press the paring button on Bosch Smart Home Controller? Error details: BshbError: [ERROR] error during call to BSHC:
Anschließend wie da ja steht: "Could not pair client. Did you press the paring button?" (Da ist ja ein Tippfehler )
Beim Controller II muss man NICHT mehr 3 Sekunden drücken. Sondern nur einmal kurz und siehe da:
2023-11-22 19:45:04.854 - info: bshb.1 (3330656) Check if client with identifier: ioBroker.bshb_c7ba8212-5bfa-40c4-850c-7d26a1e1150e is already paired.
2023-11-22 19:45:05.770 - debug: bshb.1 (3330656) error during call to BSHC: - [{"errno":-71,"code":"EPROTO","syscall":"write"}]
2023-11-22 19:45:05.771 - info: bshb.1 (3330656) Client with identifier: ioBroker.bshb_c7ba8212-5bfa-40c4-850c-7d26a1e1150e was not paired yet.
2023-11-22 19:45:05.771 - info: bshb.1 (3330656) Start pairing. Activate pairing on Bosch Smart Home Controller by pressing button until flashing.
2023-11-22 19:45:07.218 - info: bshb.1 (3330656) Pairing successful.
2023-11-22 19:45:07.240 - info: bshb.1 (3330656) Start detecting scenarios...
2023-11-22 19:45:08.246 - info: bshb.1 (3330656) Detecting scenarios finished
2023-11-22 19:45:08.247 - info: bshb.1 (3330656) Start detecting messages...
2023-11-22 19:45:08.294 - info: bshb.1 (3330656) Detecting messages finished
2023-11-22 19:45:08.295 - info: bshb.1 (3330656) Start detecting intrusion detection system...
2023-11-22 19:45:08.385 - info: bshb.1 (3330656) Detecting intrusion detection system finished
2023-11-22 19:45:08.386 - info: bshb.1 (3330656) Start detecting air purity guardian...
2023-11-22 19:45:08.434 - info: bshb.1 (3330656) Detecting air purity guardian finished
2023-11-22 19:45:08.435 - info: bshb.1 (3330656) Start detecting motion lights...
2023-11-22 19:45:08.481 - info: bshb.1 (3330656) Detecting motion lights finished
2023-11-22 19:45:08.482 - info: bshb.1 (3330656) Start detecting water alarm...
2023-11-22 19:45:08.559 - info: bshb.1 (3330656) Detecting water alarm finished
2023-11-22 19:45:08.560 - info: bshb.1 (3330656) Start detecting rooms...
2023-11-22 19:45:08.619 - info: bshb.1 (3330656) Detecting rooms finished
2023-11-22 19:45:08.620 - info: bshb.1 (3330656) Restoring cache started...
2023-11-22 19:45:08.625 - info: bshb.1 (3330656) Restoring cache: rooms
2023-11-22 19:45:08.630 - debug: bshb.1 (3330656) Restore cache room: hz_1
2023-11-22 19:45:08.631 - info: bshb.1 (3330656) Restoring cache: devices, device service and states
2023-11-22 19:45:08.637 - debug: bshb.1 (3330656) Restore cache device: ventilationService
2023-11-22 19:45:08.638 - debug: bshb.1 (3330656) Restore cache device: hdm:PhilipsHueBridge:PhilipsHueBridgeManager
2023-11-22 19:45:08.639 - debug: bshb.1 (3330656) Restore cache device: 64-da-a0-40-aa-f9
2023-11-22 19:45:08.724 - info: bshb.1 (3330656) Restoring cache finished
2023-11-22 19:45:08.769 - info: bshb.1 (3330656) Start detecting devices...
2023-11-22 19:45:08.769 - debug: bshb.1 (3330656) Found 1 rooms.
2023-11-22 19:45:08.816 - debug: bshb.1 (3330656) Device ventilationService detected.
2023-11-22 19:45:08.816 - debug: bshb.1 (3330656) Device hdm:PhilipsHueBridge:PhilipsHueBridgeManager detected.
2023-11-22 19:45:08.875 - debug: bshb.1 (3330656) Found 7 device services.
2023-11-22 19:45:08.877 - debug: bshb.1 (3330656) Check device service VentilationDelay
2023-11-22 19:45:08.877 - debug: bshb.1 (3330656) Check device service SoftwareUpdate
2023-11-22 19:45:08.878 - debug: bshb.1 (3330656) Check device service RemoteAccess
2023-11-22 19:45:08.878 - debug: bshb.1 (3330656) Check device service RemotePushNotification
2023-11-22 19:45:08.878 - debug: bshb.1 (3330656) Check device service ArmDisarmPushNotification
2023-11-22 19:45:08.879 - debug: bshb.1 (3330656) Check device service HueBridgeSearcher
2023-11-22 19:45:08.879 - debug: bshb.1 (3330656) Check device service HueBridgeConnector
2023-11-22 19:45:08.939 - info: bshb.1 (3330656) Detecting devices finished
2023-11-22 19:45:08.940 - info: bshb.1 (3330656) Start detecting open doors/windows...
2023-11-22 19:45:09.082 - info: bshb.1 (3330656) Detecting open doors/windows finished
2023-11-22 19:45:09.083 - info: bshb.1 (3330656) Start detecting climate schedules...
2023-11-22 19:45:09.127 - info: bshb.1 (3330656) Detecting climate schedules finished
2023-11-22 19:45:09.127 - info: bshb.1 (3330656) Subscribe to ioBroker states
2023-11-22 19:45:09.129 - info: bshb.1 (3330656) Listen to changes
Ich habe noch ein paar weitere Checks gemacht. Das Root Zertifikat von Bosch ist immer noch das gleiche. Daher sollte das kein Problem darstellen. Ich habe die im Adapter die Zertifikatsprüfung auch nicht deaktiviert.
Der Controller ist für Zugriff blockiert, wenn der Pairing Button nicht gedrückt wird. Die Fehlermeldung mit Error Code -71 ist nicht besonders hübsch. Da kann ich vielleicht etwas machen. Aber die Logs sagen einem ja auch, dass man eben den Button auf dem Controller drücken soll. Das gleiche macht man ja auch, wenn man die App mit dem Controller koppelt.
Am Ende sieht man den Adapter auch in den angemeldeten Geräten in der Bosch App selber: