Switch items not working after update - Solved

  • Platform information:
    • Hardware:Intel Pentium
    • OS:Ubuntu Server
    • Java Runtime Environment:N/A
    • openHAB version: 2.5.4 RB
      after the update this morning. my to switches that is monitored by node red to activate induvidual speakers. stoped working.
      node red reads the switch status from openhab server. and then activates gpio that switches relays for the speakers. but all of a sudden. node red cant see the switches and i also get the following error .in my logs.
2020-04-26 14:26:26.271 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Bathroom_Speaker' for widget org.eclipse.smarthome.model.sitemap.sitemap.Switch

2020-04-26 14:26:26.272 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Bathroom_Speaker' for widget org.eclipse.smarthome.model.sitemap.sitemap.Switch

2020-04-26 14:26:26.273 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.sitemap.Switch

2020-04-26 14:26:26.275 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'MainBedroom_Speaker' for widget org.eclipse.smarthome.model.sitemap.sitemap.Switch

2020-04-26 14:26:26.276 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'MainBedroom_Speaker' for widget org.eclipse.smarthome.model.sitemap.sitemap.Switch

2020-04-26 14:26:26.277 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.sitemap.Switch

2020-04-26 14:45:00.012 [ERROR] [ntime.internal.engine.ExecuteRuleJob] - Error during the execution of rule 'LWT': Instance is not an MQTTActions class.


Have you tried to restart OH a few times since upgrading? I usually takes me 2-3 restarts for everything to start working as expected after upgrading.

1 Like

I have done that a vew times now. and see that it is working . it takes a couple of restarts for everything to return to normal.

1 Like