IHC failes in 2.3 release

binding
Tags: #<Tag:0x00007fe054b4cd78>

(mikko) #1

Hi, had an IHC binding working nice in 2.2
When 2.3 was released it just stoped, and I have not been able to get i back on track since then

seems to have something with the *.sitemap to do… if I use the HABPanel it works, but not the Basic or Classic, thereby the IOS app, and Google assistant fails also.

logs generated loos like this when triggering the UI

2018-06-01 23:09:14.994 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'SOFTLIGHT' for widget org.eclipse.smarthome.model.sitemap.Switch

2018-06-01 23:09:14.997 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Switch

So it just stop working with 2.3, config files did not change
I have re-installed the whole, still broken
it is a Rpi B+

removed the ihc from console, and readded it, scrolled the forum for few days and tried several actions but now I running out of ideas.

kamilu.sitemap

sitemap kamilu label="Kamilu" {

   Frame label="Vardagsrum" {

   Switch item=VRUM_FONSTER label="vardagsrum fonster" icon="light"
   
   Switch item=VRUM_TAK label="vardagsrum tak" icon="light"
   
    }
   Frame label="Koket"{
      Switch item=KITCHENLAMP label="Kokslampor" icon="light"
   }
   Frame label="Kontor"{
      Switch item=R2_TAK label="Kontor Tak" icon="light"
   }
   Frame label="Kallare"{
     Switch item=BASEMENT label="Källare lyse" icon="light"
   }
   Frame label="Luddesrum"{
     Switch item=LUDDE_TAK label="Luddes taklampa" icon="light"
   }
   Frame label="Scenario"{
     Switch item=SOFTLIGHT label="softlight" icon="light"
}
}

ihc.items

//Production Code
Switch  Lampa_fonster_gata_1  "Lampa Fönster Gata 1"  <switch> (SOFTLIGHT,VRUM_FONSTER,IHC,Livingroom,Lights)   [ "Lighting" ]  { ihc="0x7e75b" }
Switch  Lampa_fonster_gata_2  "Lampa Fönster Gata 2"  <switch> (VRUM_FONSTER,IHC,Livingroom,Lights)   [ "Lighting" ]  { ihc="0x7e45b" }
Switch  Lampa_fonster_gata_3  "Lampa Fönster Gata 3"  <switch> (SOFTLIGHT,VRUM_FONSTER,IHC,Livingroom,Lights)   [ "Lighting" ]  { ihc="0x7ed5b" }
Switch  Lampa_fonster_gata_4  "Lampa Fönster Gata 4"  <switch> (SOFTLIGHT,VRUM_FONSTER,IHC,Livingroom,Lights)   [ "Lighting" ]  { ihc="0x7ea5b" }
Switch  Lampa_tak_vrum_whilke "Lampa Tak Whilke" <switch> (VRUM_TAK,IHC,Livingroom,Lights) [ "Lighting"] { ihc="0x25ce5b" }
Switch  Lampa_tak_r2 "Lampa Tak Kontor" <switch> (R2_TAK,Office,Lights) [ "Lighting"] {ihc="0x25e05b"}
Switch  Lampa_ludde_tak_under_loft "Lampa Ludde Tak soffa" <switch> (LUDDE_TAK) [ "Lighting" ] { ihc="0x15885" }
Switch  Lampa_ludde_tak "Lampa Ludde Tak" <switch> (LUDDE_TAK) [ "Lighting" ] { ihc="0x15825b" }
Switch  Basement_light "Lampa Källare" <switch> (BASEMENT) ["Lighting"] { ihc="0x13a05b"}
//Kitchen
Switch KitchenOvan3              "Kök Lampa Diskbänk"      <switch> (KITCHENLAMP,IHC)  [ "Lighting" ] { ihc="0x11415b" }
Switch KitchenDiskbankHoger_K_4                  "Kök uttag Höger"         <switch> (KITCHENPOWER,IHC) [ "Lighting" ] { ihc="0x11445b" }
Switch KitchenBjalken_K_5                        "Kök uttag Bjälken"       <switch> (KITCHENPOWER,IHC) [ "Lighting" ] { ihc="0x11475b" }
Switch KitchenTakOvanforSpisEjVidFlakt_K_6       "Kök tak"                 <switch> (KITCHENPOWERIHC)  [ "Lighting" ] { ihc="0x114a5b" }
Switch KitchenTakOvanforKoksfonster_K_7          "Kök Tak ovan köksfönster"<switch> (KITCHENPOWERIHC)  [ "Lighting" ] { ihc="0x114d5b" }
Switch KitchenOvanmat   "Kök Lampa matplats"      <switch> (SOFTLIGHT,KITCHENLAMP,IHC) [ "Lighting" ] { ihc="0x16e25b" }
Switch KitchenFlakt                              "Kök Fläkten"             <switch> (KITCHENFAN,IHC)   [ "Lighting" ] { ihc="0x21ff5b" }
Switch KitchenMatrumGolv                         "Kök Golvet tröskel"      <switch> (KITCHENPOWER,IHC) [ "Lighting" ] { ihc="0x25d95b" }
Switch KitchenBakomKylKoksskap                  "Kök bakom kyl"           <switch> (KITCHENPOWER,IHC) [ "Lighting" ] { ihc="0x267e5b" }
2018-06-01 23:29:46.320 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'kamilu.sitemap'

2018-06-01 23:29:47.419 [INFO ] [el.core.internal.ModelRepositoryImpl] - Refreshing model 'kamilu.sitemap'

2018-06-01 23:30:02.471 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'VRUM_FONSTER' for widget org.eclipse.smarthome.model.sitemap.Switch

2018-06-01 23:30:02.474 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'VRUM_FONSTER' for widget org.eclipse.smarthome.model.sitemap.Switch

2018-06-01 23:30:02.477 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Switch

2018-06-01 23:30:02.480 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'VRUM_TAK' for widget org.eclipse.smarthome.model.sitemap.Switch

2018-06-01 23:30:02.482 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'VRUM_TAK' for widget org.eclipse.smarthome.model.sitemap.Switch

2018-06-01 23:30:02.485 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Switch

2018-06-01 23:30:02.488 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'KITCHENLAMP' for widget org.eclipse.smarthome.model.sitemap.Switch

2018-06-01 23:30:02.490 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'KITCHENLAMP' for widget org.eclipse.smarthome.model.sitemap.Switch

2018-06-01 23:30:02.492 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Switch

2018-06-01 23:30:02.495 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'R2_TAK' for widget org.eclipse.smarthome.model.sitemap.Switch

2018-06-01 23:30:02.498 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'R2_TAK' for widget org.eclipse.smarthome.model.sitemap.Switch

2018-06-01 23:30:02.500 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Switch

2018-06-01 23:30:02.503 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'BASEMENT' for widget org.eclipse.smarthome.model.sitemap.Switch

2018-06-01 23:30:02.505 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'BASEMENT' for widget org.eclipse.smarthome.model.sitemap.Switch

2018-06-01 23:30:02.507 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Switch

2018-06-01 23:30:02.509 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'LUDDE_TAK' for widget org.eclipse.smarthome.model.sitemap.Switch

2018-06-01 23:30:02.512 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'LUDDE_TAK' for widget org.eclipse.smarthome.model.sitemap.Switch

2018-06-01 23:30:02.514 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Switch

2018-06-01 23:30:02.516 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'SOFTLIGHT' for widget org.eclipse.smarthome.model.sitemap.Switch

2018-06-01 23:30:02.519 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'SOFTLIGHT' for widget org.eclipse.smarthome.model.sitemap.Switch

2018-06-01 23:30:02.522 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Switch

/m


(Angelos) #2

to help you we need to see the relevant item & sitemap contents (and logs)

Use Code Fences to post them


(mikko) #3

Updated the original post
regards
/m


(Angelos) #4

how did you define your Groups? (e.g. SOFTLIGHT)


(mikko) #5

My bad, missed those in the re-installation…sorry.
Thank you very much for your swift and professional response, really appriciated

/m