Z-Wave Bridge Offline / Error: Bridge

Hi,

I bought a ZMEEUZB1 Z-Wave stick and I cannot get it to work.

I am running openHAB 3.0.2, without any changes.

This is a log from bootup, with one attempt from me to hardreset the controller through the binding.

grep -i zwave openhab.log

2021-06-12 16:29:04.362 [DEBUG] [wave.discovery.ZWaveDiscoveryService] - Creating ZWave discovery service for zwave:serial_zstick:c2bdcf1011 with scan time of 60
2021-06-12 16:29:04.363 [DEBUG] [wave.discovery.ZWaveDiscoveryService] - ZWave discovery: Active zwave:serial_zstick:c2bdcf1011
2021-06-12 16:29:04.365 [INFO ] [zwave.handler.ZWaveControllerHandler] - Attempting to add listener when controller is null
2021-06-12 16:29:04.642 [DEBUG] [ing.zwave.handler.ZWaveSerialHandler] - Initializing ZWave serial controller.
2021-06-12 16:29:04.644 [DEBUG] [zwave.handler.ZWaveControllerHandler] - Initializing ZWave Controller zwave:serial_zstick:c2bdcf1011.
2021-06-12 16:29:51.120 [DEBUG] [g.zwave.internal.ZWaveConfigProvider] - No bridgeUID found in getConfigDescription thing:zwave:serial_zstick:c2bdcf1011
[root@atom openhab]# grep -i zwave openhab.log
2021-06-12 16:29:04.362 [DEBUG] [wave.discovery.ZWaveDiscoveryService] - Creating ZWave discovery service for zwave:serial_zstick:c2bdcf1011 with scan time of 60
2021-06-12 16:29:04.363 [DEBUG] [wave.discovery.ZWaveDiscoveryService] - ZWave discovery: Active zwave:serial_zstick:c2bdcf1011
2021-06-12 16:29:04.365 [INFO ] [zwave.handler.ZWaveControllerHandler] - Attempting to add listener when controller is null
2021-06-12 16:29:04.642 [DEBUG] [ing.zwave.handler.ZWaveSerialHandler] - Initializing ZWave serial controller.
2021-06-12 16:29:04.644 [DEBUG] [zwave.handler.ZWaveControllerHandler] - Initializing ZWave Controller zwave:serial_zstick:c2bdcf1011.
2021-06-12 16:29:51.120 [DEBUG] [g.zwave.internal.ZWaveConfigProvider] - No bridgeUID found in getConfigDescription thing:zwave:serial_zstick:c2bdcf1011
2021-06-12 16:40:19.773 [DEBUG] [g.zwave.internal.ZWaveConfigProvider] - No bridgeUID found in getConfigDescription thing:zwave:serial_zstick:c2bdcf1011
2021-06-12 16:40:19.781 [DEBUG] [zwave.handler.ZWaveControllerHandler] - Controller Configuration update received
2021-06-12 16:40:19.796 [DEBUG] [zwave.handler.ZWaveControllerHandler] - Controller Configuration update controller_softreset to false
2021-06-12 16:40:19.798 [DEBUG] [zwave.handler.ZWaveControllerHandler] - Trying to send controller command, but controller is not initialised
2021-06-12 16:40:19.799 [DEBUG] [zwave.handler.ZWaveControllerHandler] - Controller Configuration update security_networkkey to 8E 34 6B 8B 1C 69 12 8C 1C A8 18 CF BB 37 EC AC
2021-06-12 16:40:19.800 [DEBUG] [zwave.handler.ZWaveControllerHandler] - Controller Configuration update security_inclusionmode to 0
2021-06-12 16:40:19.801 [DEBUG] [zwave.handler.ZWaveControllerHandler] - Controller Configuration update controller_sync to false
2021-06-12 16:40:19.802 [DEBUG] [zwave.handler.ZWaveControllerHandler] - Trying to send controller command, but controller is not initialised
2021-06-12 16:40:19.810 [DEBUG] [zwave.handler.ZWaveControllerHandler] - Controller Configuration update port to /dev/ttyACM0
2021-06-12 16:40:19.811 [DEBUG] [zwave.handler.ZWaveControllerHandler] - Controller Configuration update controller_master to true
2021-06-12 16:40:19.811 [DEBUG] [zwave.handler.ZWaveControllerHandler] - Trying to send controller command, but controller is not initialised
2021-06-12 16:40:19.812 [DEBUG] [zwave.handler.ZWaveControllerHandler] - Controller Configuration update inclusion_mode to 2
2021-06-12 16:40:19.813 [DEBUG] [zwave.handler.ZWaveControllerHandler] - Controller Configuration update controller_wakeupperiod to 3600
2021-06-12 16:40:19.814 [DEBUG] [zwave.handler.ZWaveControllerHandler] - Trying to send controller command, but controller is not initialised
2021-06-12 16:40:19.815 [DEBUG] [zwave.handler.ZWaveControllerHandler] - Controller Configuration update heal_time to 2
2021-06-12 16:40:19.834 [DEBUG] [zwave.handler.ZWaveControllerHandler] - Scheduling network mesh heal for 10 hours time.
2021-06-12 16:40:19.835 [DEBUG] [zwave.handler.ZWaveControllerHandler] - Controller Configuration update controller_exclude to false
2021-06-12 16:40:19.836 [DEBUG] [zwave.handler.ZWaveControllerHandler] - Trying to send controller command, but controller is not initialised
2021-06-12 16:40:19.837 [DEBUG] [zwave.handler.ZWaveControllerHandler] - Controller Configuration update controller_inclusiontimeout to 30
2021-06-12 16:40:19.837 [DEBUG] [zwave.handler.ZWaveControllerHandler] - Trying to send controller command, but controller is not initialised
2021-06-12 16:40:19.838 [DEBUG] [zwave.handler.ZWaveControllerHandler] - Controller Configuration update controller_hardreset to true
2021-06-12 16:40:19.839 [DEBUG] [zwave.handler.ZWaveControllerHandler] - Trying to send controller command, but controller is not initialised
2021-06-12 16:40:19.849 [DEBUG] [ing.zwave.handler.ZWaveSerialHandler] - Disposing receive thread
2021-06-12 16:40:19.850 [DEBUG] [ing.zwave.handler.ZWaveSerialHandler] - Receive thread dispose
2021-06-12 16:40:19.850 [DEBUG] [ing.zwave.handler.ZWaveSerialHandler] - Disposing serial connection
2021-06-12 16:40:19.851 [DEBUG] [ing.zwave.handler.ZWaveSerialHandler] - Serial connection disposed
2021-06-12 16:40:19.852 [DEBUG] [ing.zwave.handler.ZWaveSerialHandler] - Stopped ZWave serial handler
2021-06-12 16:40:19.853 [DEBUG] [ing.zwave.handler.ZWaveSerialHandler] - Initializing ZWave serial controller.
2021-06-12 16:40:19.854 [DEBUG] [zwave.handler.ZWaveControllerHandler] - Initializing ZWave Controller zwave:serial_zstick:c2bdcf1011.
2021-06-12 16:40:20.288 [DEBUG] [g.zwave.internal.ZWaveConfigProvider] - No bridgeUID found in getConfigDescription thing:zwave:serial_zstick:c2bdcf1011

Things I’ve checked:

Comes up in dmesg as /dev/ttyACM0

[2514049.506162] usb 8-2: new full-speed USB device number 2 using xhci_hcd
[2514049.623434] usb 8-2: device descriptor read/64, error -71
[2514049.842293] usb 8-2: new full-speed USB device number 3 using xhci_hcd
[2514049.959468] usb 8-2: device descriptor read/64, error -71
[2514050.063457] usb usb8-port2: attempt power cycle
[2514050.694841] usb 8-2: new full-speed USB device number 4 using xhci_hcd
[2514050.695696] usb 8-2: Device not responding to setup address.
[2514050.903305] usb 8-2: device not accepting address 4, error -71
[2514051.227167] usb 8-2: new full-speed USB device number 5 using xhci_hcd
[2514051.268252] usb 8-2: New USB device found, idVendor=0658, idProduct=0200, bcdDevice= 0.00
[2514051.268259] usb 8-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[2514051.283423] cdc_acm 8-2:1.0: ttyACM0: USB ACM device

It does show some USB errors but then enumerates correctly, using ttyACM0. So this controller might just be broken.

I verified openhab groups:

groups openhab

openhab : openhab tty dialout audio

tty seems ok:

ls -las /dev/ttyACM0

0 crw-rw----. 1 root dialout 166, 0 Jun 12 15:00 /dev/ttyACM0

Not sure if this was still necessary but I tried it anyway:

EXTRA_JAVA_OPTS="-Dgnu.io.rxtx.SerialPorts=/dev/ttyACM0"

If I do a cat /dev/ttyACM0, I do see data coming from the controller. Don’t know how to interpret that though.

cat /dev/ttyACM0

!�

!�

So it isn’t entirely dead.

I have restarted openhab several times. I’ve even rebooted the machine. Interestingly, the controller does not give any USB errors after reboot.

What type of stick is that? If it is a 700 series Z-Wave Plus v2, it is not supported by the binding.

It’s a ZMEEUZB1 Z-Wave

Sorry, my search had 2 U-s in it :frowning:

this seems to be where things go wrong. After this message it just starts all over again. Look through your advanced settings and see if there is anywhere it tells you the UID of the stick

so this is a new set up? Isn’t there a newer version already? I have seen some people having a tough time with serial connection issues, I think some of it may have been addressed in newer builds

In my new setup for openhab3, I am stuck with the “No bridgeUID found” for my z-wave controller. I am using an Aeotec Z-Stick Gen5 which worked well with my openhab2.5 setup. Any suggestions?

sounds like the same thing
Exactly what version are you running?
How long has this set up been running?
What is hardware platform and operating system?

Sorry, my search had 2 U-s in it

Yes, I fixed that :slight_smile:

1 Like

This is an 2.5 setup upgraded to 3.0.2. I have only tried to use the z-wave plug today.
I am running on CentOS Stream 8 on amd64 platform

I installed openhab3 manually on an old Mac mini running Debian 10. I want to learn how works for me before I move it to my other machine currently running openhab2. I am having issues with getting my z-wave controller recognized and I am beginning to believe it is an issue with Mac mini/Debian install so I think I will start over on a raspberry pi and see how that goes. I will let you know - so far the backup and restore has me up on the pi.

I ran into the same problem with the z-wave controller on the Raspberry Pi. I solved it with this link -
[SOLVED] OH3: zwave binding Z-Wave Serial Controller Aeotec Z-Stick Gen5 remains offline

No, this is the most recent version. I am on the stable channel.

Once you get OH 3 running you can also use the remoteopenhab binding to get your OH2 Items into OH3 to work on automations and user interface.

Probably not an answer to your question, but does someone benefit from my experience

I have a raspberry pi 4 and z stick gen5 and openhab 3.1

I just couldn’t get this(z stick gen5) to work. Finally bought a USB 2 hub and plugged in the z-wave stick and it worked

There is no advanced setting for the UID.

Just curious. From the inbox in the UI did you scan using Zwave or use the add Manually ? If scan, use Add manually. If you did add manually (bridge), then I don’t know.

Bob

I added manually. It did not appear in my inbox.

Unfortunately, then I don’t know. One thing to try is to use the API explorer and see what the configuration looks like. Here is the first mine; Anything missing?

{
  "statusInfo": {
    "status": "ONLINE",
    "statusDetail": "NONE"
  },
  "editable": true,
  "label": "Z-Wave Serial Controller",
  "configuration": {
    "controller_softreset": false,
    "security_networkkey": "79 B3 F4 EF F1 3D 34 13 31 04 D7 07 7D EA 3A 46",
    "security_inclusionmode": 0,
    "controller_sisnode": 1,
    "controller_sync": false,
    "port": "/dev/ttyACM0",
    "controller_master": true,
    "inclusion_mode": 2,
    "controller_wakeupperiod": 86400,
    "heal_time": -1,
    "controller_exclude": false,
    "controller_inclusiontimeout": 30,
    "controller_hardreset": false
  },
  "properties": {
    "zwave_deviceid": "2",
    "zwave_homeid": "f1c43721",
    "zwave_neighbours": "2,3,4,5,6,7,9,10,11,12,13,16,17,20,22,24,25,27,28,29,37,51,52,55,60,62,63,66,71,72,73",
    "zwave_nodeid": "1",
    "zwave_manufacturer": "27a"
  },
  "UID": "zwave:serial_zstick:f1c43721",
  "thingTypeUID": "zwave:serial_zstick",
  "channels": [
    {
      "linkedItems": [],
      "uid": "zwave:serial_zstick:f1c43721:serial_sof",
      "id": "serial_sof",
      "channelTypeUID": "zwave:serial_sof",
      "itemType": "Number",
      "kind": "STATE",
      "label": "Start Frames",
      "description": "Counter tracking the number of SOF bytes received",
      "defaultTags": [],
      "properties": {},
      "configuration": {}
    },
    {
      "linkedItems": [],
      "uid": "zwave:serial_zstick:f1c43721:serial_ack",
      "id": "serial_ack",
      "channelTypeUID": "zwave:serial_ack",
      "itemType": "Number",
      "kind": "STATE",
      "label": "Frames Acknowledged",
      "description": "Counter tracking the number of frames acknowledged by the controller",
      "defaultTags": [],
      "properties": {},
      "configuration": {}
    },
    {
      "linkedItems": [],
      "uid": "zwave:serial_zstick:f1c43721:serial_nak",
      "id": "serial_nak",
      "channelTypeUID": "zwave:serial_nak",
      "itemType": "Number",
      "kind": "STATE",
      "label": "Frames Rejected",
      "description": "Counter tracking the number of frames rejected by the controller",
      "defaultTags": [],
      "properties": {},
      "configuration": {}
    },
    {
      "linkedItems": [
        "ZWaveSerialController_FramesCancelled"
      ],
      "uid": "zwave:serial_zstick:f1c43721:serial_can",
      "id": "serial_can",
      "channelTypeUID": "zwave:serial_can",
      "itemType": "Number",
      "kind": "STATE",
      "label": "Frames Cancelled",
      "description": "Counter tracking the number of frames cancelled by the controller",
      "defaultTags": [],
      "properties": {},
      "configuration": {}
    },
    {
      "linkedItems": [],
      "uid": "zwave:serial_zstick:f1c43721:serial_oof",
      "id": "serial_oof",
      "channelTypeUID": "zwave:serial_oof",
      "itemType": "Number",
      "kind": "STATE",
      "label": "OOF Bytes Received",
      "description": "Counter tracking the number of out of flow bytes received",
      "defaultTags": [],
      "properties": {},
      "configuration": {}
    },
    {
      "linkedItems": [],
      "uid": "zwave:serial_zstick:f1c43721:serial_cse",
      "id": "serial_cse",
      "channelTypeUID": "zwave:serial_cse",
      "itemType": "Number",
      "kind": "STATE",
      "label": "Received Checksum Errors",
      "description": "Counter tracking the number of frames received with checksum errors",
      "defaultTags": [],
      "properties": {},
      "configuration": {}
    }
  ],
  "location": "Kitchen"
}

Edit: also what do you see with openhab-cli console? Here is an extract of mine.

{
  "statusInfo": {
    "status": "OFFLINE",
    "statusDetail": "BRIDGE_OFFLINE",
    "description": "Controller is offline"
  },
  "editable": true,
  "label": "Z-Wave Serial Controller",
  "configuration": {
    "controller_softreset": false,
    "controller_sync": false,
    "security_networkkey": "xxxxxxxxxxxx",
    "security_inclusionmode": 0,
    "port": "/dev/ttyACM0",
    "controller_master": true,
    "inclusion_mode": 2,
    "controller_wakeupperiod": 3600,
    "heal_time": 2,
    "controller_exclude": false,
    "controller_inclusiontimeout": 30,
    "controller_hardreset": false
  },
  "properties": {},
  "UID": "zwave:serial_zstick:1bb4b5ea36",
  "thingTypeUID": "zwave:serial_zstick",
  "channels": [
    {
      "linkedItems": [],
      "uid": "zwave:serial_zstick:1bb4b5ea36:serial_sof",
      "id": "serial_sof",
      "channelTypeUID": "zwave:serial_sof",
      "itemType": "Number",
      "kind": "STATE",
      "label": "Start Frames",
      "description": "Counter tracking the number of SOF bytes received",
      "defaultTags": [],
      "properties": {},
      "configuration": {}
    },
    {
      "linkedItems": [],
      "uid": "zwave:serial_zstick:1bb4b5ea36:serial_ack",
      "id": "serial_ack",
      "channelTypeUID": "zwave:serial_ack",
      "itemType": "Number",
      "kind": "STATE",
      "label": "Frames Acknowledged",
      "description": "Counter tracking the number of frames acknowledged by the controller",
      "defaultTags": [],
      "properties": {},
      "configuration": {}
    },
    {
      "linkedItems": [],
      "uid": "zwave:serial_zstick:1bb4b5ea36:serial_nak",
      "id": "serial_nak",
      "channelTypeUID": "zwave:serial_nak",
      "itemType": "Number",
      "kind": "STATE",
      "label": "Frames Rejected",
      "description": "Counter tracking the number of frames rejected by the controller",
      "defaultTags": [],
      "properties": {},
      "configuration": {}
    },
    {
      "linkedItems": [],
      "uid": "zwave:serial_zstick:1bb4b5ea36:serial_can",
      "id": "serial_can",
      "channelTypeUID": "zwave:serial_can",
      "itemType": "Number",
      "kind": "STATE",
      "label": "Frames Cancelled",
      "description": "Counter tracking the number of frames cancelled by the controller",
      "defaultTags": [],
      "properties": {},
      "configuration": {}
    },
    {
      "linkedItems": [],
      "uid": "zwave:serial_zstick:1bb4b5ea36:serial_oof",
      "id": "serial_oof",
      "channelTypeUID": "zwave:serial_oof",
      "itemType": "Number",
      "kind": "STATE",
      "label": "OOF Bytes Received",
      "description": "Counter tracking the number of out of flow bytes received",
      "defaultTags": [],
      "properties": {},
      "configuration": {}
    },
    {
      "linkedItems": [],
      "uid": "zwave:serial_zstick:1bb4b5ea36:serial_cse",
      "id": "serial_cse",
      "channelTypeUID": "zwave:serial_cse",
      "itemType": "Number",
      "kind": "STATE",
      "label": "Received Checksum Errors",
      "description": "Counter tracking the number of frames received with checksum errors",
      "defaultTags": [],
      "properties": {},
      "configuration": {}
    }
  ],
  "location": "In the back of Atom"
}

The console says:

zwave:serial_zstick:1bb4b5ea36 (Type=Bridge, Status=OFFLINE (BRIDGE_OFFLINE): Controller is offline, Label=Z-Wave Serial Controller, Bridge=null)

Recognize that I have no specific expertise, but have been using Zwave for several years and had my share of issues, so my advice could be bad…

That said, I have used the API PUT to add properties that for some reason I never understood did not get added. From what I can see you are missing that the controller is Node 1. In the UI,Thing,Controller advanced, make sure the SIS node is 1. You could also use the API PUT to add these properties

"controller_sisnode": 1,

and

"zwave_homeid": "1bb4b5ea36",
"zwave_nodeid": "1",

Might need a restart after all that too.

Bob
edit the network security key looks odd too, but I do not think that is the problem

I modified the network key :wink: