Log Shows Item State Change but Basic UI and Phone App don't

  • Platform information:
    • Hardware: _Raspberry Pi 3 Model B Rev 1.2
    • OS: Raspbian GNU/Linux 8 (jessie)
      Linux 4.9.35-v7+
      *** Java Runtime Environment:** openjdk version “1.8.0_152”
      *** openHAB version:** openHAB 2.5.10-1 (Release Build)
  • Issue of the topic: I can see the item state change in the log but it’s not showing on the Basic UI or Phone App. Here is the Log View
  2020-11-17 13:32:51.457 [ome.event.ItemCommandEvent] - Item 'ESP_26DD63' received command ON

2020-11-17 13:32:51.563 [vent.ItemStateChangedEvent] - ESP_26DD63 changed from OFF to ON

2020-11-17 13:32:51.775 [vent.ItemStateChangedEvent] - mqtt_topic_ESP_26DD63_ESP_26DD63 changed from OFF to ON

2020-11-17 13:35:57.420 [ome.event.ItemCommandEvent] - Item 'ESP_26DD63' received command OFF

2020-11-17 13:35:57.475 [vent.ItemStateChangedEvent] - ESP_26DD63 changed from ON to OFF

2020-11-17 13:35:57.673 [vent.ItemStateChangedEvent] - mqtt_topic_ESP_26DD63_ESP_26DD63 changed from ON to OFF

Here is what the Basic UI is showing.
image

  • Items configuration related to the issue here are both items.

```csv
Switch  ESP_EAB977      "Basement LED Strip"  <poweroutlet_us>
Switch  ESP_3775D5   "Outdoor Christmas Lights"  <poweroutlet_us>

  *** Sitemap configuration related to the issue** 

```php
Switch item=ESP_EAB977 label="Basement LED Strip"
Switch item=ESP_3775D5 label="Outdoor Christmas Lights"

I apologize if this is a stupid question but I can’t figure out why one is working but the other isn’t and they are both setup the same.

Is it about the missing word ON or OFF for the Outdoor Christmas Lights? Then please set the label to

"Outdoor Christmas Lights [%s]"
1 Like

Yep that fixed it thanks Udo.

Now I’m just curious why it’s working on all my other light switch items and they don’t have that.

Ha, that’s openHAB mystery :wink:

Well, of course not… it’s all about how the channels are defined. Which addon is used and so on…