ColorTemperature value is always return back to value |0|

Tags: #<Tag:0x00007f74586f59e0> #<Tag:0x00007f74586fbed0>
  • Platform information:
    • Hardware: RPi3B+/1GB RAM/16GB SD
    • OS: openHABian v1.4.1
    • Java Runtime Environment: included in openHABian v1.4.1
    • openHAB version: 2.4.0-1
  • Issue of the topic:
    When I send any ColorTemperature value, it’s always return back to value |0|. So, I’m not able to use current ColorTemperature value in other part of home automation configuration. See attached log file. Bulb model: Aeotec LED Bulb 6 Multi-White [ZWA001]
  • Please post configurations (if applicable):
    • Sitemap configuration related to the issue
Switch item=ZWaveNode002ZWA001Bulb6MultiWhite_ColorTemperature label="Color Temperature:" mappings=[0="Cool", 100="Warm"]
  • If logs where generated please post these here using code fences:
2019-11-09 17:53:06.366 [ome.event.ItemCommandEvent] - Item 'ZWaveNode002ZWA001Bulb6MultiWhite_ColorTemperature' received command 100
2019-11-09 17:53:06.380 [nt.ItemStatePredictedEvent] - ZWaveNode002ZWA001Bulb6MultiWhite_ColorTemperature predicted to become 100
2019-11-09 17:53:06.386 [vent.ItemStateChangedEvent] - ZWaveNode002ZWA001Bulb6MultiWhite_ColorTemperature changed from 0 to 100
2019-11-09 17:53:06.710 [vent.ItemStateChangedEvent] - ZWaveNode002ZWA001Bulb6MultiWhite_ColorTemperature changed from 100 to 0

THX, Radim

Have you tried excluding, Factort Default the lamp and including? Acording to this:

image

It should default to warm white unless changed. I do not think the binding has that capability.

Hi Bruce, Yep, I tried to exclude, factory default and include again. Issue still persist.
When I send value 0, light is Cool. When I send value 100 or 50 light is changed to Warm, but value is reset back to 0 (light is still Warm). I wanna to preserve last sended value.

2019-11-09 20:22:17.152 [ome.event.ItemCommandEvent] - Item 'ZWaveNode002ZWA001Bulb6MultiWhite_ColorTemperature' received command 0
2019-11-09 20:22:17.169 [nt.ItemStatePredictedEvent] - ZWaveNode002ZWA001Bulb6MultiWhite_ColorTemperature predicted to become 0
2019-11-09 20:22:24.297 [ome.event.ItemCommandEvent] - Item 'ZWaveNode002ZWA001Bulb6MultiWhite_ColorTemperature' received command 0
2019-11-09 20:22:24.315 [nt.ItemStatePredictedEvent] - ZWaveNode002ZWA001Bulb6MultiWhite_ColorTemperature predicted to become 0
2019-11-09 20:22:27.076 [ome.event.ItemCommandEvent] - Item 'ZWaveNode002ZWA001Bulb6MultiWhite_ColorTemperature' received command 50
2019-11-09 20:22:27.081 [nt.ItemStatePredictedEvent] - ZWaveNode002ZWA001Bulb6MultiWhite_ColorTemperature predicted to become 50
2019-11-09 20:22:27.096 [vent.ItemStateChangedEvent] - ZWaveNode002ZWA001Bulb6MultiWhite_ColorTemperature changed from 0 to 50
2019-11-09 20:22:27.408 [vent.ItemStateChangedEvent] - ZWaveNode002ZWA001Bulb6MultiWhite_ColorTemperature changed from 50 to 0
2019-11-09 20:22:32.747 [ome.event.ItemCommandEvent] - Item 'ZWaveNode002ZWA001Bulb6MultiWhite_ColorTemperature' received command 100
2019-11-09 20:22:32.764 [nt.ItemStatePredictedEvent] - ZWaveNode002ZWA001Bulb6MultiWhite_ColorTemperature predicted to become 100
2019-11-09 20:22:32.778 [vent.ItemStateChangedEvent] - ZWaveNode002ZWA001Bulb6MultiWhite_ColorTemperature changed from 0 to 100
2019-11-09 20:22:33.099 [vent.ItemStateChangedEvent] - ZWaveNode002ZWA001Bulb6MultiWhite_ColorTemperature changed from 100 to 0

THX, Radim

(post withdrawn by author, will be automatically deleted in 96 hours unless flagged)

I do not see an option in that light manual to accomplish that, I imaging that it could be done with some phantom item that retains the last state,

Can I ask a question… are you saying when you change the light, the light stays at the setting but the value of the item is returned to 0?

Hi Andrew, Yep, you are correct.

THX, Radim

ok… sorry… then… who cares? it works right?
If you have some use case where you want to know what the last set value was, as Bruce suggested, perhaps write it to a dummy item

Change it from a switch to a slider in your sitemap file.

Same issue with the slider. Value is returned to 0.

2019-11-09 21:30:38.960 [ome.event.ItemCommandEvent] - Item 'ZWaveNode002ZWA001Bulb6MultiWhite_ColorTemperature' received command 18.0
2019-11-09 21:30:38.973 [nt.ItemStatePredictedEvent] - ZWaveNode002ZWA001Bulb6MultiWhite_ColorTemperature predicted to become 18.0
2019-11-09 21:30:38.985 [vent.ItemStateChangedEvent] - ZWaveNode002ZWA001Bulb6MultiWhite_ColorTemperature changed from 0 to 18.0
2019-11-09 21:30:39.329 [vent.ItemStateChangedEvent] - ZWaveNode002ZWA001Bulb6MultiWhite_ColorTemperature changed from 18.0 to 0
2019-11-09 21:30:42.326 [ome.event.ItemCommandEvent] - Item 'ZWaveNode002ZWA001Bulb6MultiWhite_ColorTemperature' received command 34.0
2019-11-09 21:30:42.338 [nt.ItemStatePredictedEvent] - ZWaveNode002ZWA001Bulb6MultiWhite_ColorTemperature predicted to become 34.0
2019-11-09 21:30:42.346 [vent.ItemStateChangedEvent] - ZWaveNode002ZWA001Bulb6MultiWhite_ColorTemperature changed from 0 to 34.0
2019-11-09 21:30:42.679 [vent.ItemStateChangedEvent] - ZWaveNode002ZWA001Bulb6MultiWhite_ColorTemperature changed from 34.0 to 0
2019-11-09 21:30:43.563 [ome.event.ItemCommandEvent] - Item 'ZWaveNode002ZWA001Bulb6MultiWhite_ColorTemperature' received command 60.0
2019-11-09 21:30:43.566 [nt.ItemStatePredictedEvent] - ZWaveNode002ZWA001Bulb6MultiWhite_ColorTemperature predicted to become 60.0
2019-11-09 21:30:43.577 [vent.ItemStateChangedEvent] - ZWaveNode002ZWA001Bulb6MultiWhite_ColorTemperature changed from 0 to 60.0
2019-11-09 21:30:43.909 [vent.ItemStateChangedEvent] - ZWaveNode002ZWA001Bulb6MultiWhite_ColorTemperature changed from 60.0 to 0
2019-11-09 21:30:44.483 [ome.event.ItemCommandEvent] - Item 'ZWaveNode002ZWA001Bulb6MultiWhite_ColorTemperature' received command 90.0
2019-11-09 21:30:44.495 [nt.ItemStatePredictedEvent] - ZWaveNode002ZWA001Bulb6MultiWhite_ColorTemperature predicted to become 90.0
2019-11-09 21:30:44.508 [vent.ItemStateChangedEvent] - ZWaveNode002ZWA001Bulb6MultiWhite_ColorTemperature changed from 0 to 90.0
2019-11-09 21:30:44.819 [vent.ItemStateChangedEvent] - ZWaveNode002ZWA001Bulb6MultiWhite_ColorTemperature changed from 90.0 to 0

THX, Radim

Negative point is, that Sliders and Buttons are not able to show the current status…

So I guest this is the ‘standard’ behavior and the bulb is not defective? I can see your sight map not reflecting the current state of the bulb as a problem yes. I guess an unbound items with the value written to it each time it changes is your only choice. Here is a thread where Rich explains unbound objects