HABPanel doesn't show light color or brightness

  • Platform information:
    • Hardware: Intel i7
    • OS: Windows
    • Java Runtime Environment: 1.8.0 (261)
    • openHAB version: 2.5.7
  • Issue of the topic: HABPanel doesn’t work properly with Zigbee lights

Hello,
This is my first day working with OpenHab.
I have added some Ikea Tradfri lights to OpenHab, they show up in PaperUI in the Control tab.
I can see their current color, brightness, … but it seems to be wrong.

For example the light is on with an orange tint, but it shows blue with 0 brightness.

When I change the brightness there, or the color the light changes properly. However when refreshing the page, the page shows the values from the screenshot again. So it’s like it is not reading or saving the current value properly.

When adding a color picker for example to HABPanel, and opening the panel it always shows black. When I use the picker it changes color and the light itself changes color, so the connection works. But when I refresh the page it is showing black again. So it seems like it cannot read the value in HABPanel, just like in PaperUI.
What could be going wrong?

Any ideas?

Thanks in advance

Most likely your Items are not getting updated properly. The UIs rely on Item states for display. You can see what happens to your Items in your events.log.

Yes, it seems like in events.log there are no ‘updated’ events or so.
When I use HabPanel I see the items are receiving the commands, but they don’t persist the state.

2020-08-21 14:40:17.796 [ome.event.ItemCommandEvent] - Item 'Mood_lights' received command 100
2020-08-21 14:40:22.820 [ome.event.ItemCommandEvent] - Item 'zigbee_device_47c387e8_000d6ffffe44d5ec_000D6FFFFE44D5EC_1_color' received command 104,80,75
2020-08-21 14:44:07.384 [ome.event.ItemCommandEvent] - Item 'zigbee_device_47c387e8_000d6ffffe44d5ec_000D6FFFFE44D5EC_1_color' received command 104,80,75
2020-08-21 14:44:18.361 [ome.event.ItemCommandEvent] - Item 'zigbee_device_47c387e8_000d6ffffe44d5ec_000D6FFFFE44D5EC_1_color' received command 161,65,86
2020-08-21 14:44:45.673 [ome.event.ItemCommandEvent] - Item 'Mood_lights' received command 100
2020-08-21 14:44:55.061 [ome.event.ItemCommandEvent] - Item 'Mood_lights' received command 0
2020-08-21 14:45:08.461 [ome.event.ItemCommandEvent] - Item 'zigbee_device_47c387e8_000d6ffffe44d5ec_000D6FFFFE44D5EC_1_color' received command 222,80,65

What could be the reason for the items not saving the last state?

I have the feeling outgoing Zigbee commands work fine, but incoming commands don’t (like acknowledgements or so don’t work). Because I also linked an Ikea remote control, and when I press a button nothing shows up in events.log or openhab.log. Unless I’m looking in the wrong place?

I’m using a husbzb-1 stick for Zigbee, which I used with Home Assistant as well, and there I could control the lights and use the remote control with no issues. But Home Assistant is just too unstable, which is why I want to switch to OpenHab, but not being able to get a simple Zigbee light to work is a pretty big issue.

You’ll be interested in this Zigbee thread.

As for your IKEA remote, who knows. You linked it how, and to what?

In the thread they mention autoupdate, where can I find this setting?

I paired the remote using the Zigbee Binding on the Inbox page. By using the pairing instructions found here I could connect it to OpenHAB. This is also how I connected the Ikea bulbs.

Also check this out:

Thanks. I haven’t worked with any files yet, did everything with the UI.
I guess I will have to learn how those files and so work first.

You don’t need to use file configuration to alter autoupdate, settings, you can use PaperUI.

As per the zigbee thread, this is a workaround not a cure.