I managed to get zwave working last night. For some reason, the serial driver wasn´t installed… I cant explain how come the controller was able to scan the devices. But it did. When I installed the serial driver (again). Then the scanning show the devices correctly…
Anyway… something odd is still going on. @chris
In my endless try to get the controller to read the devices the last coupple of days, I tried different stuff. First I had the controller in a thing file. Then changed it to a PaperUI thing, and then back and forth a few times.
After installing the serial driver last night when things started to work, I ended up having the controller in a thing file… This is my thing file:
Bridge zwave:serial_zstick:controller "Z-Wave Controller" @ "Z-Wave" [ port="/dev/ttyUSB_ZStick", controller_softreset="false", controller_master="true", heal_enable="true", heal_time=2 ]
{
}
But notice my devices in PaperUI, (take a notice of the thing definition).
My controller is: “zwave:serial_zstick:controller”
But my devices are scanned at “zwave:device:controller”
Whats even more strange… Things are working…
These are my AeoTec Multisensor 6 items:
// Aeotec Multisensor6
Switch ZWaveNode5ZW100MultiSensor6_MotionAlarm "Multisensor6 PIR Alarm [MAP(motion.map):%s]" <cum_motion> (gMotion) {channel="zwave:serial_zstick:controller:node5:alarm_motion"}
Number ZWaveNode5ZW100MultiSensor6_SensorRelativeHumidity "Multisensor6 SensorRelativeHumidity [%.0f %%]" <Humidity> (Fugtighed) {channel="zwave:serial_zstick:controller:node5:sensor_relhumidity"}
Number ZWaveNode5ZW100MultiSensor6_SensorUltraviolet "Multisensor6 ltraviolet Sensor [%.0f %%]" <Temperature> {channel="zwave:serial_zstick:controller:node5:sensor_ultraviolet"}
Number ZWaveNode5ZW100MultiSensor6_SensorTemperature "Multisensor6 Temperatur Sensor [%.1f °C]" <cu_heating> (Temperatur) {channel="zwave:serial_zstick:controller:node5:sensor_temperature"}
Number ZWaveNode5ZW100MultiSensor6_SensorLuminance "Multisensor6 Lumiance Sensor [%.0f Lux]" <Light> (gLumiance) {channel="zwave:serial_zstick:controller:node5:sensor_luminance"}
Switch ZWaveNode5ZW100MultiSensor6_TamperAlarm "Multisensor6 Tamper Alarm Sensor [%s]" <switch> {channel="zwave:serial_zstick:controller:node5:alarm_tamper"}
Number ZWaveNode5ZW100MultiSensor6_BatteryLevel "Multisensor6 Battery Level [%.0f %%]" <Battery> (BatteriLevel) {channel="zwave:serial_zstick:controller:node5:battery-level"}
It works fine???
If I change the item to “zwave:serial_zstick:controller” it no longer works.
I tried remove the device and rescan it again. But the devices are still found at “zwave:device:controller”.
How is that possible?
I´m pretty sure this happened somewhere between not having the serial driver installed, and having the serial driver installed, while changing controller from a thing file to PaperUI… I just cant get the things defintion to be the same… I have cleared cache and tmp about a zillion times… It doesnt change anything.
Btw… Using openhab 2.5M1 and the latest z-wave binding (1-2 days old). Serial driver got installed, when I installed the Zigbee binding from PaperUI, (again).