Having just answered a message from you about reducing logging, this is where I ask you to increase logging
Really, to be able to tell what’s happening, I’d need to see the DEBUG log from the zwave binding. In the zwave wiki there is an explanation of how to enable this (by editing the logback.xml file I mentioned in the previous post)…
The error that you’re getting from HABmin though is a little concerning - it would potentially point to the zwave binding not running at all, but really without the log it’s hard to say for sure…
Sorry, I’m really not very good at this. I added the text from the wiki into /etc/openhab/logback.xml - after the “EVENTFILE” appender. I then restarted openhab and tried including from habmin again. No log file anywhere (I checked with “find” in case it went into the wrong directory). I assume I’m missing something obvious…
OK - this is solved. The problem turned out to be that I am an idiot. A number of the guides online caution that if the zwave device uses tty and the openhab user does not have root privileges then they need to be added to the “dialout” group. I didn’t create an openhab user and my default user is a member of dialout - so I thought that was that. But then looking at the running processes I see that apt-get did create an openhab user, so I do need to add to the dialout group.
Everything is now behaving.
Many thanks for all your help, and apologies for wasting your time.
I am actually having this same problem (feeling the idiot part as well!).
Complete beginner with OH. Running OH 1.7.1 on an RPI2 Raspbian wheezy.
I have a 1.1 M Z-Wave binding jar in my addons folder. dmesg shows my Gen5 Aeotec USB as ttyACM0, so it is loaded in my openhab config as zwave:port=/dev/ttyACM0. openhab user has been added to the dialout group.
When I go into Habmin -> Configuration -> Bindings -> Z-Wave and do pretty much anything on the Devices tab, it tells me “error sending action to the server”.
I’ve split off my zwave debug logs via logback.xml like the wiki shows, but this is all the zwave log shows me (restarted OH service as well):
I am getting the same error that you have in the zwave.log file. What do you mean that you set SUC mode to disabled in the openhab.cfg file? I already have mine set to the zwave:masterController=true. Mine is apparently on /dev/ttyUSB0
Also, did you add those lines in the openhab.sh or openhab.in.sh file? There is nothing in my startup files that show the port for zwave.
I randomly noticed the SUC mode thing on the Z-Wave Binding page in HABmin, but it wasn’t on the Z-Wave Wiki, and it isn’t listed in the openhab.cfg file/commented out like some of the other settings. After finding it in HABmin, I found more details after some searching. Here is the code:
Sounds like that might be your startup script that needs to be adjusted. Have you tried typing dmesg just to be sure you have the right port? You can also use ls /dev/tty* to check. If you have the Aeotec stick, have you added any devices to it? Check out the little booklet that comes with it which explains about inclusion mode (and taking it out of inclusion mode when you connect it back).
I have a Aoetec z-stick 2 with about 20 or so z-wave devices on it. It runs perfectly fine controlling the devices in Indigo 6. OpenHAB is now seeing my z-stick, the problem is, it is not seeing any devices that are already on it. I tried to set up my home.items file with the nodes that were assigned by Indigo 6… but they don’t appear to be correct. I tried commenting out all of my z-wave items in my home.items file, but that did not fix anything.