I am brand new to this software and having trouble with “Unknown Device” on 2 Things (first a Zooz ZSE18 on USB power (and with the battery removed just to make sure), and second an ECOLINK door sensor on battery). The computer is a standard Windows x64 PC running Windows 10 Home 22H2 in the USA.
Per the on line instructions at Download openHAB | openHAB I installed Java 17 from the recommended Zulu builds of OpenJDK, and get the following from ‘java -version’ in a standard cmd window:
openjdk version “17.0.8” 2023-07-18 LTS
OpenJDK Runtime Environment Zulu17.44+15-CA (build 17.0.8+7-LTS)
OpenJDK 64-Bit Server VM Zulu17.44+15-CA (build 17.0.8+7-LTS, mixed mode, sharing)
I next hit the ‘Download openHAB 4.0.1 Stable Runtime’ button, and extracted everything from the .zip to create a directory containing:
(dir) - addons (dir) - conf (dir) - runtime (dir) - userdata (files) - LICENSE.TXT - start.bat - start.sh - start_debug.bat - start_debug.sh
From a command shell window, I cd to this directory and invoke start.bat to find:
ERROR: The system was unable to find the specified registry key or value. ERROR: The system was unable to find the specified registry key or value.
But then the openHAB 4.0.1 - Release Build logo comes up and gives an openhab> promt in the cmd window.
Concerned about this registry error, I "REM"ed out the ‘@echo off’ statements in start.bat, and the setenv.bat and karaf.bat in the runtime/bin directory to track it down. There had been Windows pop-ups asking if it’s OK for a program to make changes - and I confirmed YES. Tons of lines are dumped to the cmd window with echo on, both before and after the errors, but it seems all linked to the fact that the environment variable JAVA_HOME had not been set, even though the path the java SDK had been during installation of Zule. I did this manually, and the issue went away.
Getting into openHAB with Firefox on http://localhost:8080, I create an admin ID and password, read the tutorials, and then load the binding for Z-Wave Things. Adding my first thing as the Z-Wave Serial Controller (Zooz S2 stick 700 in the USB port, which has been assigned by Windows as COM5), it appears to be recognized immediately as Thing Type = “Z-Wave Serial Controller”, and I’ve set the Port Configuration: ‘Serial Port’ to COM5 as the only option on the available list in the box. The Default Wakeup Period is 3600 and Heal Time 2 AM.
Under Things (By binding) I hit the blue (+), choose the only binding I have “Z-Wave Binding”, which shows the existing Z-Wave Serial Controller and (Bridge) in blue, with a (Scan) button up top. Hitting Scan, I immediately perform the inclusion operations for the door alarm and motion sensor (they are both in the openHAB database with instructions). Two devices show up as nodes 2 and 3, with everything (online):
Z-Wave Node 002 (ONLINE)
Z-Wave Node 003 (ONLINE)
Z_Wave Serial Controller (ONLINE)
They’ve all got device serial number listed along with them…
When I click into Node 002, I get an identifier for a Z-Wave device with this Label, but the device type is ‘Unknown Device’. The Node ID is 2, Polling Period 86400, Command Poll Period 1500, and nothing else. The Node 003 device looks almost the same, except there is extra information about Wakeup Configuration - I’m assuming this is the door alarm on battery power - I entered 3600 and Save(Ctrl-S), and a small icon popped up saying (PENDING).
Reading of similar issues on this board, I’ve cycled the wakeup instructions for both sensors several times, and have them physically less that 1 m from the USB stick. With OH running, if I hit the wakeup on either, I get into (seen via log:tail) on the cmd window, messages like:
12:55:32.965 [WARN ] [l.serialmessage.ZWaveCommandProcessor] - SerialMessage class null is not implemented!
12:55:32.966 [WARN ] [ave.internal.protocol.ZWaveController] - TODO: Implement processing of Request Message = – (0xa8)
12:55:36.463 [WARN ] [l.serialmessage.ZWaveCommandProcessor] - SerialMessage class null is not implemented!
12:55:36.464 [WARN ] [ave.internal.protocol.ZWaveController] - TODO: Implement processing of Request Message = – (0xa8)
12:55:39.964 [WARN ] [l.serialmessage.ZWaveCommandProcessor] - SerialMessage class null is not implemented!
12:55:39.964 [WARN ] [ave.internal.protocol.ZWaveController] - TODO: Implement processing of Request Message = – (0xa8)
While all 3 devices are clearly visible under “Things”, either as ‘Alphabetical’ or ‘By Binding’, If I hit the blue (+) to add something ‘By Binding’, then pick the Z-Wave binding, the only thing to pop up immediately is the Z-Wave Serial Controller (Bridge) and then the (Scan) button. If I do (Scan) without hitting the wake-up buttons on the physical devices, it runs to the end and finds nothing. If I repeat the (Scan), then go push those buttons as it’s running, they also don’t show up (perhaps being already known as “Things”, but actually not properly bound to the Z-Wave binding?). During the scan I can see the cmd window messages:
13:04:19.564 [WARN ] [zwave.discovery.ZWaveDiscoveryService] - NODE 2: Device discovery could not resolve to a thingType! Manufacturer data not known.
13:04:19.567 [WARN ] [zwave.discovery.ZWaveDiscoveryService] - NODE 3: Device discovery could not resolve to a thingType! Manufacturer data not known.
I know this is super long and maybe rambling, but I thought it better to “put it all on the table” rather than risk leaving out something really important as ambiguous.
Thanks in advance!