Hi, My openhab configuration works great. I have just added a new item to my Items and Sitemap file and I am always getting the following error:
[ERROR] [o.u.i.items.ItemUIRegistryImpl] - Cannot retrieve item Wilo_Pump for widget org.openhab.model.sitemap.Switch
I simplified the code and deleted any optional configuration but I still getting this error. I have no more idea why. Could you please help me? Maybe special Hungarian characters (ű,ő, etc.) can cause problems, but this Item contains only latin chars.
My items file (the new item in the last row):
Gropu GF
Group FF
Group Thermostats
Group TempSetpoints
Group Heating
Number Temp_Nappali "Nappali hőmérséklet [%.1f °C]" (Thermostats, GF) {onewire="deviceId=28.485B96060000;propertyName=temperature"}
Number Temperature_Setpoint (TempSetpoints, GF)
/* Heating */
Switch Heating_Main_Switch "Fűtés főkapcsoló" (Heating)
Switch Ariston_Boiler "Kazán [%s]" <fire> { gpio="pin:4" } (Heating)
Switch Wilo_Pump
I still have no idea what is wrong in my config. Please help to discover.
Other error logs:
[WARN ] [.o.u.w.i.render.SwitchRenderer] - Cannot determine item type of 'Wilo_Pump'
org.openhab.core.items.ItemNotFoundException: Item 'Wilo_Pump' could not be found in the item registry
at org.openhab.core.internal.items.ItemRegistryImpl.getItem(ItemRegistryImpl.java:80) ~[na:na]
at org.openhab.ui.internal.items.ItemUIRegistryImpl.getItem(ItemUIRegistryImpl.java:554) ~[na:na]
at org.openhab.ui.webapp.internal.render.SwitchRenderer.renderWidget(SwitchRenderer.java:57) ~[org.openhab.ui.webapp_1.7.0.jar:na]
...
I’m not sure it is relevant to your problem, but I notice on your Item definition for Ariston_Boiler you have the group after the binding. The proper form is to put the groups before the binding. Thus it should read:
I’m skeptical this is the problem but I see nothing else wrong and the fact that it occurs before the problem Item it could be the problem. The error you are seeing indicates that Wilo_Pump is not being defined.
Yes, you are right I have already discovered this syntax error before your reply, but really thank you. Error logs are gone but my sitemap didn’t changed so maybe there is an another error in my sitemap file.
Hi, my Ariston heater can be turned on/off by closing or open a circuit. So I use it a really simple and cheap way. A 5V relay is connected to my raspberry what opens or closes the circuit based on room temperature.