Hallo zusammen
Ich habe auf einem Raspberry Pi 3 ein Z-Wave Modul eingefügt. Soweit gut, auf der IP auf Port 8083 vom RaspPi ist der Z-Wave ( was eigentlich ) erreichbar. Aber wenn ich den Controller auf OpenHab ergänze ist der immer Offline ( Offline - BRIDGE_OFFLINE ).
Wenn ich einen Soft Reset mache auf Openhab, dann erhalte ich folgendes Log:
2020-06-22 14:23:58.741 [me.event.ThingUpdatedEvent] - Thing 'zwave:serial_zstick:3756395d' has been updated.
==> /var/log/openhab2/openhab.log <==
2020-06-22 14:24:01.248 [DEBUG] [WaveSerialHandler$ZWaveReceiveThread] - Stopped ZWave thread: Receive
2020-06-22 14:24:01.289 [DEBUG] [ing.zwave.handler.ZWaveSerialHandler] - Receive thread dispose
2020-06-22 14:24:01.293 [DEBUG] [ing.zwave.handler.ZWaveSerialHandler] - Disposing serial connection
2020-06-22 14:24:01.298 [DEBUG] [ing.zwave.handler.ZWaveSerialHandler] - Serial connection disposed
2020-06-22 14:24:01.302 [DEBUG] [ing.zwave.handler.ZWaveSerialHandler] - Stopped ZWave serial handler
2020-06-22 14:24:01.307 [DEBUG] [ve.internal.protocol.ZWaveController] - Shutting down ZWave controller
2020-06-22 14:24:01.311 [DEBUG] [nal.protocol.ZWaveTransactionManager] - Shutting down transaction manager
2020-06-22 14:24:01.319 [DEBUG] [nal.protocol.ZWaveTransactionManager] - Exiting ZWave Receive Thread
2020-06-22 14:24:01.322 [DEBUG] [nal.protocol.ZWaveTransactionManager] - Transaction manager shutdown
2020-06-22 14:24:01.325 [DEBUG] [ve.internal.protocol.ZWaveController] - ZWave controller shutdown
2020-06-22 14:24:01.330 [DEBUG] [ing.zwave.handler.ZWaveSerialHandler] - Initializing ZWave serial controller.
2020-06-22 14:24:01.334 [DEBUG] [zwave.handler.ZWaveControllerHandler] - Initializing ZWave Controller zwave:serial_zstick:3756395d.
2020-06-22 14:24:06.347 [DEBUG] [ing.zwave.handler.ZWaveSerialHandler] - Connecting to serial port '/dev/ttyAMA0'
2020-06-22 14:24:06.369 [DEBUG] [ing.zwave.handler.ZWaveSerialHandler] - Starting receive thread
2020-06-22 14:24:06.373 [DEBUG] [ing.zwave.handler.ZWaveSerialHandler] - Serial port is initialized
2020-06-22 14:24:06.377 [DEBUG] [zwave.handler.ZWaveControllerHandler] - Initialising ZWave controller
2020-06-22 14:24:06.377 [DEBUG] [WaveSerialHandler$ZWaveReceiveThread] - Starting ZWave thread: Receive
2020-06-22 14:24:06.383 [INFO ] [ve.internal.protocol.ZWaveController] - Starting ZWave controller
2020-06-22 14:24:06.388 [INFO ] [ve.internal.protocol.ZWaveController] - ZWave timeout is set to 5000ms. Soft reset is false.
2020-06-22 14:24:06.385 [DEBUG] [nal.protocol.ZWaveTransactionManager] - ZWaveReceiveThread queue empty
2020-06-22 14:24:06.395 [DEBUG] [nal.protocol.ZWaveTransactionManager] - Transaction SendNextMessage 0 out at start. Holdoff false.
2020-06-22 14:24:06.397 [DEBUG] [ve.internal.protocol.ZWaveController] - Event listener added.
2020-06-22 14:24:06.404 [DEBUG] [ve.internal.protocol.ZWaveController] - Event listener added.
2020-06-22 14:24:06.408 [DEBUG] [zwave.handler.ZWaveControllerHandler] - Scheduling network mesh heal for 11 hours time.
2020-06-22 14:24:09.397 [DEBUG] [.ZWaveController$InitializeDelayTask] - Initialising network
2020-06-22 14:24:09.404 [DEBUG] [nal.protocol.ZWaveTransactionManager] - NODE 255: Added 21 to queue - size 1
2020-06-22 14:24:09.408 [DEBUG] [nal.protocol.ZWaveTransactionManager] - Transaction SendNextMessage 0 out at start. Holdoff false.
2020-06-22 14:24:09.416 [DEBUG] [wave.internal.protocol.SerialMessage] - Assembled message buffer = 01 03 00 15 E9
2020-06-22 14:24:09.422 [DEBUG] [ing.zwave.handler.ZWaveSerialHandler] - NODE 255: Sending REQUEST Message = 01 03 00 15 E9
2020-06-22 14:24:09.434 [DEBUG] [WaveSerialHandler$ZWaveReceiveThread] - Frame length is out of limits (97)
2020-06-22 14:24:09.438 [DEBUG] [WaveSerialHandler$ZWaveReceiveThread] - Frame length is out of limits (118)
2020-06-22 14:24:09.457 [DEBUG] [ing.zwave.handler.ZWaveSerialHandler] - Message SENT
2020-06-22 14:24:09.463 [DEBUG] [nal.protocol.ZWaveTransactionManager] - Transaction SendNextMessage started: TID 21: [WAIT_RESPONSE] priority=Controller, requiresResponse=true, callback: 0
2020-06-22 14:24:09.466 [DEBUG] [nal.protocol.ZWaveTransactionManager] - NODE 255: Added 22 to queue - size 1
2020-06-22 14:24:09.472 [DEBUG] [nal.protocol.ZWaveTransactionManager] - Transaction SendNextMessage 1 out at start. Holdoff false.
2020-06-22 14:24:09.476 [DEBUG] [nal.protocol.ZWaveTransactionManager] - NODE 255: Added 23 to queue - size 2
2020-06-22 14:24:09.480 [DEBUG] [nal.protocol.ZWaveTransactionManager] - Transaction SendNextMessage 1 out at start. Holdoff false.
2020-06-22 14:24:09.484 [DEBUG] [nal.protocol.ZWaveTransactionManager] - NODE 255: Added 24 to queue - size 3
2020-06-22 14:24:09.488 [DEBUG] [nal.protocol.ZWaveTransactionManager] - Transaction SendNextMessage 1 out at start. Holdoff false.
2020-06-22 14:24:09.493 [DEBUG] [rialmessage.GetSucNodeIdMessageClass] - Get SUC NodeID
2020-06-22 14:24:09.497 [DEBUG] [nal.protocol.ZWaveTransactionManager] - NODE 255: Added 25 to queue - size 4
2020-06-22 14:24:09.501 [DEBUG] [nal.protocol.ZWaveTransactionManager] - Transaction SendNextMessage 1 out at start. Holdoff false.
2020-06-22 14:24:09.693 [DEBUG] [WaveSerialHandler$ZWaveReceiveThread] - Receive Timeout - Sending NAK
2020-06-22 14:24:10.927 [DEBUG] [WaveSerialHandler$ZWaveReceiveThread] - Protocol error (OOF). Got 0x76.
2020-06-22 14:24:10.932 [DEBUG] [WaveSerialHandler$ZWaveReceiveThread] - Protocol error (OOF). Got 0x65.
2020-06-22 14:24:10.938 [DEBUG] [WaveSerialHandler$ZWaveReceiveThread] - Protocol error (OOF). Got 0x36.
2020-06-22 14:24:10.942 [DEBUG] [WaveSerialHandler$ZWaveReceiveThread] - Protocol error (OOF). Got 0x2E.
2020-06-22 14:24:11.466 [DEBUG] [sactionManager$ZWaveTransactionTimer] - NODE 255: TID 21: Timeout at state WAIT_RESPONSE. 3 retries remaining.
2020-06-22 14:24:11.469 [DEBUG] [sactionManager$ZWaveTransactionTimer] - TID 21: Transaction is current transaction, so clearing!!!!!
2020-06-22 14:24:11.474 [DEBUG] [e.internal.protocol.ZWaveTransaction] - TID 21: Transaction CANCELLED
2020-06-22 14:24:11.477 [DEBUG] [nal.protocol.ZWaveTransactionManager] - NODE 255: notifyTransactionResponse TID:21 CANCELLED
2020-06-22 14:24:11.484 [DEBUG] [nal.protocol.ZWaveTransactionManager] - Transaction SendNextMessage 0 out at start. Holdoff false.
2020-06-22 14:24:11.490 [DEBUG] [wave.internal.protocol.SerialMessage] - Assembled message buffer = 01 03 00 20 DC
2020-06-22 14:24:11.496 [DEBUG] [ing.zwave.handler.ZWaveSerialHandler] - NODE 255: Sending REQUEST Message = 01 03 00 20 DC
2020-06-22 14:24:11.501 [DEBUG] [WaveSerialHandler$ZWaveReceiveThread] - Receive Message = 18
2020-06-22 14:24:11.505 [DEBUG] [nal.protocol.ZWaveTransactionManager] - processReceiveMessage input 0<>128 : Message: class=null[0], type=CAN[4], dest=255, callback=0, payload=
2020-06-22 14:24:11.508 [DEBUG] [nal.protocol.ZWaveTransactionManager] - Received msg (0): Message: class=null[0], type=CAN[4], dest=255, callback=0, payload=
2020-06-22 14:24:11.511 [DEBUG] [nal.protocol.ZWaveTransactionManager] - lastTransaction null
2020-06-22 14:24:11.514 [DEBUG] [nal.protocol.ZWaveTransactionManager] - ZWaveReceiveThread queue empty
2020-06-22 14:24:11.527 [DEBUG] [ing.zwave.handler.ZWaveSerialHandler] - Message SENT
2020-06-22 14:24:11.530 [DEBUG] [nal.protocol.ZWaveTransactionManager] - Transaction SendNextMessage started: TID 22: [WAIT_RESPONSE] priority=Controller, requiresResponse=true, callback: 0
2020-06-22 14:24:11.536 [DEBUG] [nal.protocol.ZWaveTransactionManager] - Transaction SendNextMessage 1 out at start. Holdoff false.
2020-06-22 14:24:12.437 [DEBUG] [WaveSerialHandler$ZWaveReceiveThread] - Protocol error (OOF). Got 0x76.
2020-06-22 14:24:12.440 [DEBUG] [WaveSerialHandler$ZWaveReceiveThread] - Frame length is out of limits (146)
2020-06-22 14:24:12.693 [DEBUG] [WaveSerialHandler$ZWaveReceiveThread] - Receive Timeout - Sending NAK
2020-06-22 14:24:13.536 [DEBUG] [sactionManager$ZWaveTransactionTimer] - NODE 255: TID 22: Timeout at state WAIT_RESPONSE. 3 retries remaining.
2020-06-22 14:24:13.551 [DEBUG] [sactionManager$ZWaveTransactionTimer] - TID 22: Transaction is current transaction, so clearing!!!!!
2020-06-22 14:24:13.555 [DEBUG] [e.internal.protocol.ZWaveTransaction] - TID 22: Transaction CANCELLED
2020-06-22 14:24:13.558 [DEBUG] [nal.protocol.ZWaveTransactionManager] - NODE 255: notifyTransactionResponse TID:22 CANCELLED
2020-06-22 14:24:13.565 [DEBUG] [nal.protocol.ZWaveTransactionManager] - Transaction SendNextMessage 0 out at start. Holdoff false.
2020-06-22 14:24:13.573 [DEBUG] [wave.internal.protocol.SerialMessage] - Assembled message buffer = 01 03 00 07 FB
2020-06-22 14:24:13.578 [DEBUG] [ing.zwave.handler.ZWaveSerialHandler] - NODE 255: Sending REQUEST Message = 01 03 00 07 FB
2020-06-22 14:24:13.607 [DEBUG] [ing.zwave.handler.ZWaveSerialHandler] - Message SENT
2020-06-22 14:24:13.612 [DEBUG] [nal.protocol.ZWaveTransactionManager] - Transaction SendNextMessage started: TID 23: [WAIT_RESPONSE] priority=Controller, requiresResponse=true, callback: 0
2020-06-22 14:24:15.615 [DEBUG] [sactionManager$ZWaveTransactionTimer] - NODE 255: TID 23: Timeout at state WAIT_RESPONSE. 3 retries remaining.
2020-06-22 14:24:15.618 [DEBUG] [sactionManager$ZWaveTransactionTimer] - TID 23: Transaction is current transaction, so clearing!!!!!
2020-06-22 14:24:15.620 [DEBUG] [e.internal.protocol.ZWaveTransaction] - TID 23: Transaction CANCELLED
2020-06-22 14:24:15.623 [DEBUG] [nal.protocol.ZWaveTransactionManager] - NODE 255: notifyTransactionResponse TID:23 CANCELLED
2020-06-22 14:24:15.629 [DEBUG] [nal.protocol.ZWaveTransactionManager] - Transaction SendNextMessage 0 out at start. Holdoff false.
2020-06-22 14:24:15.633 [DEBUG] [wave.internal.protocol.SerialMessage] - Assembled message buffer = 01 05 00 06 96 0F 65
2020-06-22 14:24:15.638 [DEBUG] [ing.zwave.handler.ZWaveSerialHandler] - NODE 255: Sending REQUEST Message = 01 05 00 06 96 0F 65
2020-06-22 14:24:15.667 [DEBUG] [ing.zwave.handler.ZWaveSerialHandler] - Message SENT
2020-06-22 14:24:15.670 [DEBUG] [nal.protocol.ZWaveTransactionManager] - Transaction SendNextMessage started: TID 24: [WAIT_RESPONSE] priority=Controller, requiresResponse=true, callback: 0
2020-06-22 14:24:17.674 [DEBUG] [sactionManager$ZWaveTransactionTimer] - NODE 255: TID 24: Timeout at state WAIT_RESPONSE. 3 retries remaining.
2020-06-22 14:24:17.676 [DEBUG] [sactionManager$ZWaveTransactionTimer] - TID 24: Transaction is current transaction, so clearing!!!!!
2020-06-22 14:24:17.680 [DEBUG] [e.internal.protocol.ZWaveTransaction] - TID 24: Transaction CANCELLED
2020-06-22 14:24:17.682 [DEBUG] [nal.protocol.ZWaveTransactionManager] - NODE 255: notifyTransactionResponse TID:24 CANCELLED
2020-06-22 14:24:17.693 [DEBUG] [nal.protocol.ZWaveTransactionManager] - Transaction SendNextMessage 0 out at start. Holdoff false.
2020-06-22 14:24:17.698 [DEBUG] [wave.internal.protocol.SerialMessage] - Assembled message buffer = 01 03 00 56 AA
2020-06-22 14:24:17.702 [DEBUG] [ing.zwave.handler.ZWaveSerialHandler] - NODE 255: Sending REQUEST Message = 01 03 00 56 AA
2020-06-22 14:24:17.706 [DEBUG] [WaveSerialHandler$ZWaveReceiveThread] - Receive Message = 18
2020-06-22 14:24:17.709 [DEBUG] [nal.protocol.ZWaveTransactionManager] - processReceiveMessage input 0<>128 : Message: class=null[0], type=CAN[4], dest=255, callback=0, payload=
2020-06-22 14:24:17.713 [DEBUG] [nal.protocol.ZWaveTransactionManager] - Received msg (0): Message: class=null[0], type=CAN[4], dest=255, callback=0, payload=
2020-06-22 14:24:17.715 [DEBUG] [nal.protocol.ZWaveTransactionManager] - lastTransaction null
2020-06-22 14:24:17.717 [DEBUG] [nal.protocol.ZWaveTransactionManager] - ZWaveReceiveThread queue empty
2020-06-22 14:24:17.737 [DEBUG] [ing.zwave.handler.ZWaveSerialHandler] - Message SENT
2020-06-22 14:24:17.740 [DEBUG] [nal.protocol.ZWaveTransactionManager] - Transaction SendNextMessage started: TID 25: [WAIT_RESPONSE] priority=Controller, requiresResponse=true, callback: 0
2020-06-22 14:24:17.743 [DEBUG] [nal.protocol.ZWaveTransactionManager] - Transaction SendNextMessage 1 out at start. Holdoff false.
2020-06-22 14:24:19.742 [DEBUG] [sactionManager$ZWaveTransactionTimer] - NODE 255: TID 25: Timeout at state WAIT_RESPONSE. 3 retries remaining.
2020-06-22 14:24:19.745 [DEBUG] [sactionManager$ZWaveTransactionTimer] - TID 25: Transaction is current transaction, so clearing!!!!!
2020-06-22 14:24:19.747 [DEBUG] [e.internal.protocol.ZWaveTransaction] - TID 25: Transaction CANCELLED
2020-06-22 14:24:19.750 [DEBUG] [nal.protocol.ZWaveTransactionManager] - NODE 255: notifyTransactionResponse TID:25 CANCELLED
2020-06-22 14:24:19.762 [DEBUG] [nal.protocol.ZWaveTransactionManager] - Transaction SendNextMessage 0 out at start. Holdoff false.
Jetzt ist meine Frage, verstehe ich hier etwas von der Logik zwischen z-Wave und Openhab nicht? Oder kann mir jemand einen Tipp geben was ich ändern könnte? Habe mittlerweile gefühlte 1000 Versuche mit differenten Ansätzen gemacht aber nie zum Ziel gekommen. Eine generelle Frage ist für mich, ist die Verwaltung von z-Wave Hardware Sachen in z-Wave zu tun oder direkt in Openhab? Kann / Muss man dann den Z-Wave deaktivieren ( Port 8083 ).
Ich hoffe es kann hier jemand Licht ins Dunkel bringen.
Besten Dank Vorab für eure Hilfe.
Z-Wave Serial Controller
- sihui
- Beiträge: 1827
- Registriert: 11. Apr 2018 19:03
Re: Z-Wave Serial Controller
Ich kann deinen Sätzen nicht so ganz folgen, deshalb mal ein Frage/Antwort Spiel:
Das "Zwave Modul" ist eventuell ein Razberry Zwave Board?
Falls ja, hast du zwei Möglichkeiten: entweder du nutzt den integrierten Zway Server des Boards und nutzt das Zway Binding von openHAB oder du deaktivierst diesen Server und nutzt das Zwave Binding von openHAB.
Empfehlen würde ich die Variante mit dem Zwave Binding da dort die Entwicklung deutlich aktiver ist.
Die komplette Konfiguration für Zwave machst du ausschließlich in openHAB.
Startpunkte zum Einlesen:
https://www.openhab.org/addons/bindings/zwave/
https://www.cd-jackson.com/index.php/zw ... base-guide
openHAB3 mit Zwave, Alexa, ESPEasy, MQTT, Logitech Harmony, Philips HUE und ZigBee Hardware auf Proxmox VE.
-
- Beiträge: 3
- Registriert: 20. Jun 2020 08:36
Re: Z-Wave Serial Controller
Hallo Sihui
Danke für dein Feedback! Sorry für das Durcheinander, aber wie ich versucht habe zu erklären ich verstehe das Zusammenspiel von den einzlenen Komponenten noch nicht. Es handelt sich hierbei um ein RazBerry Modul:
https://z-wave.me/products/razberry/
Also wenn ich dich richtig verstanden habe, dann würde ich am besten alles was von dem Modul aus gestartet wird deaktivieren. Aber ganz ehrlich gesagt nich mal das habe ich gefunden wie ich dies korrekt machen kann. Denn dies müsste in dem Fall der erste Schritt sein, alles was von dem Modul aus gestartet wird zu deaktivieren.
Ich bin im Grundsatz dieser Anleitung gefolgt:
https://community.openhab.org/t/how-do- ... hab2/44562
Aber in dem Fall habe ich zusätzliche Software installiert wo gar nicht notwendig war?
Danke für dein Feedback! Sorry für das Durcheinander, aber wie ich versucht habe zu erklären ich verstehe das Zusammenspiel von den einzlenen Komponenten noch nicht. Es handelt sich hierbei um ein RazBerry Modul:
https://z-wave.me/products/razberry/
Also wenn ich dich richtig verstanden habe, dann würde ich am besten alles was von dem Modul aus gestartet wird deaktivieren. Aber ganz ehrlich gesagt nich mal das habe ich gefunden wie ich dies korrekt machen kann. Denn dies müsste in dem Fall der erste Schritt sein, alles was von dem Modul aus gestartet wird zu deaktivieren.
Ich bin im Grundsatz dieser Anleitung gefolgt:
https://community.openhab.org/t/how-do- ... hab2/44562
Aber in dem Fall habe ich zusätzliche Software installiert wo gar nicht notwendig war?
- sihui
- Beiträge: 1827
- Registriert: 11. Apr 2018 19:03
Re: Z-Wave Serial Controller
Das ist keine Anleitung. Der User hatte Probleme den richtigen seriellen Port auszuwählen.
Eine Anleitung wie du den Zway Server auf dem Razberry stoppst sollte in der Anleitung für den Razberry stehen ... nehme ich jedenfalls an, ich habe so ein Modul nicht.
Wenn du das Zwave Binding nutzen willst: ja. Wenn du das Zway Binding nutzen willst: nein.
Wie schon gesagt, Hilfe zum Razberry Modul findest du in der Anleitung zu diesem Modul.
openHAB3 mit Zwave, Alexa, ESPEasy, MQTT, Logitech Harmony, Philips HUE und ZigBee Hardware auf Proxmox VE.
- sihui
- Beiträge: 1827
- Registriert: 11. Apr 2018 19:03
Re: Z-Wave Serial Controller
Hier hast du die grobe Richtung um den Zway Server permanent zu stoppen:
https://community.openhab.org/t/razberr ... /9?u=sihui
openHAB3 mit Zwave, Alexa, ESPEasy, MQTT, Logitech Harmony, Philips HUE und ZigBee Hardware auf Proxmox VE.
-
- Beiträge: 3
- Registriert: 20. Jun 2020 08:36
Re: Z-Wave Serial Controller
Perfekt! Ich habe die Software von z-wave komplett deinstalliert und siehe da, es funktioniert nun alles 
