ZWave - Not able to switch Warm White/Cold White on ZWA001 (LED Bulb 6: Multi-White)

Hardware: Raspberry Pi 3B+ with RaZberry2 (ZMEERAZ2) Z-Wave board
OS: openHABian
Java Runtime Environment: Zulu Embedded OpenJDK Java 8 included in openHABian
openHAB version: 2.4.0

Hi, Can anybody help with integration of switch Warm White/Cold White on ZWA001 (LED Bulb 6: Multi-White)?
I wanna simple switch on Sitemap which can control Warm White/Cold White.

Aeotec LED Bulb Documentation

image

THX, Radim

I may be able to research later but the xml file from /var/lib/openhab2/zwave would be helpful. All models have several device identifications and I need to be sure I am looking at the correct database entry.

Hi Bruce, requested xml file doesn’t exists in |/var/lib/openhab2/zwave|.
[22:49:40] openhabian@openHABianPi:/$ ls -al /var/lib/openhab2/
total 56
drwxr-xr-x 1 root root 4096 Aug 2 22:11 .
drwxr-xr-x 32 root root 4096 Aug 2 21:58 …
drwxrwxr-x+ 1 openhab openhab 4096 Aug 2 21:25 cache
drwxrwxr-x+ 1 openhab openhab 4096 Aug 2 22:13 config
drwx------+ 3 openhab openhab 4096 Aug 2 21:24 .config
drwxrwxr-x+ 3 openhab openhabian 4096 Aug 2 21:25 etc
drwxrwxr-x+ 1 openhab openhab 4096 Aug 2 22:11 jsondb
drwxrwxr-x+ 5 openhab openhabian 4096 Aug 2 21:19 persistence
drwxrwxr-x+ 1 openhab openhabian 4096 Aug 2 22:12 tmp

THX, Radim

pá 2. 8. 2019 v 11:18 odesílatel Bruce Osborne via openHAB Community bot@community.openhab.org napsal:

The zwave directory does appear to be missing. @chris or @sihui have you seen this before?

This folder is mapped to different locations depending on the system on which it is running - I’m not sure wha the system is here, but maybe it’s just in a different place? If not, maybe there is a permission issue such that the binding is unable to create the folder.

OK, I found this. Where would you suggest we look next?

Repo install and openHABian is in/var/lib/openhab2/zwave, manual install can be anywhere, but it is recommended in /opt/openhab2, so zwave should be in /opt/openhab2/zwave.

Hi team, I tried to reimage openHABian v1.4.1 and ZWAVE folder with XML files was created correctly. New users can not upload files.

XML is available here: https://transfer.sh/ZpHDH/network_e88100f6__node_2.xml

[13:34:35] openhabian@openHABianPi:/$ ls -al /var/lib/openhab2/
total 40
drwxrwxr-x+ 10 openhab openhabian 4096 Aug 3 13:25 .
drwxr-xr-x 33 root root 4096 Aug 3 12:46 …
drwxrwxr-x+ 4 openhab openhab 4096 Aug 3 12:50 cache
drwxrwxr-x+ 5 openhab openhab 4096 Aug 3 13:22 config
drwx------+ 3 openhab openhab 4096 Aug 3 12:48 .config
drwxrwxr-x+ 3 openhab openhabian 4096 Aug 3 12:49 etc
drwxrwxr-x+ 3 openhab openhab 4096 Aug 3 13:04 jsondb
drwxrwxr-x+ 5 openhab openhabian 4096 Aug 3 12:46 persistence
drwxrwxr-x+ 9 openhab openhabian 4096 Aug 3 13:24 tmp
drwxrwxr-x+ 2 openhab openhab 4096 Aug 3 13:37 zwave

Frontail log with two errors during INITIALIZING:
2019-08-03 13:37:35.951 [hingStatusInfoChangedEvent] - ‘zwave:device:94344052:node2’ changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)
2019-08-03 13:37:36.004 [hingStatusInfoChangedEvent] - ‘zwave:device:94344052:node2’ changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING

INITIALIZING frontail log:
2019-08-03 13:24:59.691 [hingStatusInfoChangedEvent] - ‘zwave:serial_zstick:94344052’ changed from UNINITIALIZED to INITIALIZING
2019-08-03 13:24:59.748 [me.event.ThingUpdatedEvent] - Thing ‘zwave:serial_zstick:94344052’ has been updated.
==> /var/log/openhab2/openhab.log <==
2019-08-03 13:24:59.754 [INFO ] [ing.zwave.handler.ZWaveSerialHandler] - Connecting to serial port ‘/dev/ttyAMA0’
==> /var/log/openhab2/events.log <==
2019-08-03 13:24:59.757 [hingStatusInfoChangedEvent] - ‘zwave:serial_zstick:94344052’ changed from INITIALIZING to OFFLINE (BRIDGE_OFFLINE): Controller is offline
==> /var/log/openhab2/openhab.log <==
2019-08-03 13:24:59.789 [INFO ] [ing.zwave.handler.ZWaveSerialHandler] - Serial port is initialized
2019-08-03 13:24:59.837 [INFO ] [ve.internal.protocol.ZWaveController] - Starting ZWave controller
2019-08-03 13:24:59.840 [INFO ] [ve.internal.protocol.ZWaveController] - ZWave timeout is set to 5000ms. Soft reset is false.
==> /var/log/openhab2/events.log <==
2019-08-03 13:25:03.855 [hingStatusInfoChangedEvent] - ‘zwave:serial_zstick:94344052’ changed from OFFLINE (BRIDGE_OFFLINE): Controller is offline to ONLINE
2019-08-03 13:25:03.870 [me.event.ThingUpdatedEvent] - Thing ‘zwave:serial_zstick:94344052’ has been updated.
2019-08-03 13:37:19.996 [arthome.event.BindingEvent] - org.openhab.binding.zwave.event.BindingEvent@1c6da4c
==> /var/log/openhab2/openhab.log <==
2019-08-03 13:37:25.399 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing ‘zwave:device:94344052:node2’ to inbox.
==> /var/log/openhab2/events.log <==
2019-08-03 13:37:25.401 [home.event.InboxAddedEvent] - Discovery Result with UID ‘zwave:device:94344052:node2’ has been added.
2019-08-03 13:37:25.413 [arthome.event.BindingEvent] - org.openhab.binding.zwave.event.BindingEvent@1012544
2019-08-03 13:37:35.848 [me.event.InboxRemovedEvent] - Discovery Result with UID ‘zwave:device:94344052:node2’ has been removed.
2019-08-03 13:37:35.896 [hingStatusInfoChangedEvent] - ‘zwave:device:94344052:node2’ changed from UNINITIALIZED to INITIALIZING
2019-08-03 13:37:35.910 [hingStatusInfoChangedEvent] - ‘zwave:device:94344052:node2’ changed from INITIALIZING to OFFLINE (BRIDGE_OFFLINE): Controller is offline
2019-08-03 13:37:35.926 [hingStatusInfoChangedEvent] - ‘zwave:device:94344052:node2’ changed from OFFLINE (BRIDGE_OFFLINE): Controller is offline to UNINITIALIZED
2019-08-03 13:37:35.951 [hingStatusInfoChangedEvent] - ‘zwave:device:94344052:node2’ changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)
2019-08-03 13:37:36.004 [hingStatusInfoChangedEvent] - ‘zwave:device:94344052:node2’ changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
2019-08-03 13:37:36.014 [hingStatusInfoChangedEvent] - ‘zwave:device:94344052:node2’ changed from INITIALIZING to OFFLINE (BRIDGE_OFFLINE): Controller is offline
2019-08-03 13:37:36.021 [hingStatusInfoChangedEvent] - ‘zwave:device:94344052:node2’ changed from OFFLINE (BRIDGE_OFFLINE): Controller is offline to ONLINE
2019-08-03 13:37:36.034 [me.event.ThingUpdatedEvent] - Thing ‘zwave:device:94344052:node2’ has been updated.
2019-08-03 13:37:36.049 [me.event.ThingUpdatedEvent] - Thing ‘zwave:device:94344052:node2’ has been updated.
2019-08-03 13:37:36.068 [me.event.ThingUpdatedEvent] - Thing ‘zwave:device:94344052:node2’ has been updated.
2019-08-03 13:37:36.084 [me.event.ThingUpdatedEvent] - Thing ‘zwave:device:94344052:node2’ has been updated.
2019-08-03 13:37:36.101 [vent.ConfigStatusInfoEvent] - ConfigStatusInfo [configStatusMessages=[]]
2019-08-03 13:37:36.146 [me.event.ThingUpdatedEvent] - Thing ‘zwave:device:94344052:node2’ has been updated.

THX, Radim

Your device is in the database, you need to proper include and initialize your device.
Please use code fences to format your logs.

Make sure your controller is online and the binding is properly loaded. You can find out through Karaf
bundle:list|grep -i zwave

1 Like

Hi,

ZWave Binding is active:

openhab> bundle:list|grep -i zwave
206 │ Active   │  80 │ 2.4.0                  │ ZWave Binding

ZWA001 Bulb 6 Multi-White looks fine in Paper UI:

Dimmer works fine too:
image

I’m looking for, how to work with color temperature on this device.
For example:

  • dimmer from 2700k to 6500k
  • simple switch between Warm [2700k]/Cool temperature [6500k]

Available channels not working:

THX, Radim

You don’t have any items linked to those channels, that can’t work of course:

The glue between Things and Items are Links . A Link is an association between exactly one Channel and one Item. If a Channel is linked to an Item, it is “enabled”, which means that the capability the Item represents is accessible through that Channel. Channels may be linked to multiple Items and Items may be linked to multiple Channels.

The first channel shows linked items, the second one does not do anything because there is no item linked to any channel:

1 Like

Hi,

It’s clear, it was unlinked, because it’s not working.

Paper UI with dimmer and color temperature:
image

When I move to any position, it’s still returns back to 0.

2019-08-03 17:31:36.956 [nt.ItemStatePredictedEvent] - ZWaveNode002ZWA001Bulb6MultiWhite_ColorTemperature predicted to become 76
2019-08-03 17:31:36.964 [vent.ItemStateChangedEvent] - ZWaveNode002ZWA001Bulb6MultiWhite_ColorTemperature changed from 0 to 76
2019-08-03 17:31:37.300 [vent.ItemStateChangedEvent] - ZWaveNode002ZWA001Bulb6MultiWhite_ColorTemperature changed from 76 to 0
2019-08-03 17:31:40.614 [ome.event.ItemCommandEvent] - Item 'ZWaveNode002ZWA001Bulb6MultiWhite_ColorTemperature' received command 92
2019-08-03 17:31:40.621 [nt.ItemStatePredictedEvent] - ZWaveNode002ZWA001Bulb6MultiWhite_ColorTemperature predicted to become 92
2019-08-03 17:31:40.631 [vent.ItemStateChangedEvent] - ZWaveNode002ZWA001Bulb6MultiWhite_ColorTemperature changed from 0 to 92
2019-08-03 17:31:40.969 [vent.ItemStateChangedEvent] - ZWaveNode002ZWA001Bulb6MultiWhite_ColorTemperature changed from 92 to 0
2019-08-03 17:32:38.305 [ome.event.ItemCommandEvent] - Item 'ZWaveNode002ZWA001Bulb6MultiWhite_ColorTemperature' received command 0
2019-08-03 17:32:38.310 [nt.ItemStatePredictedEvent] - ZWaveNode002ZWA001Bulb6MultiWhite_ColorTemperature predicted to become 0
2019-08-03 17:32:42.243 [ome.event.ItemCommandEvent] - Item 'ZWaveNode002ZWA001Bulb6MultiWhite_ColorTemperature' received command 43
2019-08-03 17:32:42.252 [nt.ItemStatePredictedEvent] - ZWaveNode002ZWA001Bulb6MultiWhite_ColorTemperature predicted to become 43
2019-08-03 17:32:42.260 [vent.ItemStateChangedEvent] - ZWaveNode002ZWA001Bulb6MultiWhite_ColorTemperature changed from 0 to 43
2019-08-03 17:32:42.598 [vent.ItemStateChangedEvent] - ZWaveNode002ZWA001Bulb6MultiWhite_ColorTemperature changed from 43 to 0
2019-08-03 17:32:42.744 [ome.event.ItemCommandEvent] - Item 'ZWaveNode002ZWA001Bulb6MultiWhite_ColorTemperature' received command 0
2019-08-03 17:32:42.758 [nt.ItemStatePredictedEvent] - ZWaveNode002ZWA001Bulb6MultiWhite_ColorTemperature predicted to become 0
2019-08-03 17:32:45.395 [ome.event.ItemCommandEvent] - Item 'ZWaveNode002ZWA001Bulb6MultiWhite_ColorTemperature' received command 59
2019-08-03 17:32:45.402 [nt.ItemStatePredictedEvent] - ZWaveNode002ZWA001Bulb6MultiWhite_ColorTemperature predicted to become 59
2019-08-03 17:32:45.419 [vent.ItemStateChangedEvent] - ZWaveNode002ZWA001Bulb6MultiWhite_ColorTemperature changed from 0 to 59
2019-08-03 17:32:45.750 [vent.ItemStateChangedEvent] - ZWaveNode002ZWA001Bulb6MultiWhite_ColorTemperature changed from 59 to 0

THX, Radim

Then you need to link it.
Sorry, I don’t understand your problem.
If something does not work please provide a debug zwave log file and feed it through the zwave log viewer:
https://www.cd-jackson.com/index.php/openhab/zwave-log-viewer

1 Like