KNX Binding stopped working after power loss

Hello

after the power loss rest my system the knx binding won’t work.
i rebooted several times - the server itself and the network peripherals as well as the bus completely but nothing seemed to work.
The bus works fine and i can program the ip router but for some odd reason the device won’t show online in the UI although the logs show it as ONLINE.

The bridge seems to work but the device has a handler-error.

If i change the items via REST API the item change is logged but nothing is received on the bus (diagnose-window in the ets always showed the commands via tunneling)

I did not change anything on the config so i am a little lost.

Any ideas on what to try next?
I am on 3.1.0 release build on a debian VM on a mac mini server.

Regards

Jonas



Very strange.
It is working again.
i tried commenting out my devices listed under the device thing (all my knx stuff) and putting it back in group after group.
i ended up leaving in everything but it still works.

Hello - me again …
Unfortunately the same problem is back …
i cannot get it to work. when i restart OH the Device shows “Handler missing”.
Are there too many items in the one knx-thing?

Hi Jonas,
I have around 400 knx items and no problems with them.
Here a snippset of the knx.things config file:


//TUNNEL
Bridge knx:ip:bridge [
	type="TUNNEL",
	ipAddress="192.168.222.10",
	portNumber=3671,
	readingPause=50,
	responseTimeout=10,
	readRetriesLimit=3,
	autoReconnectPeriod=60,
	localSourceAddr="0.0.0"
] {
	Thing device rtemp "KNX Raumtemperaturen" [
		pingInterval=300,
		readInterval=3600
	] {
		/* Raumtemperaturen ist */
		Type number : Raumtemperatur_KG_Werkstatt [ ga="9.001:<3/1/20" ]
		Type number : Raumtemperatur_KG_Wellness [ ga="9.001:<3/1/40" ]
		Type number : Raumtemperatur_KG_Gast [ ga="9.001:<3/1/50" ]
		Type number : Raumtemperatur_EG_WC [ ga="9.001:<3/2/10" ]
		Type number : Raumtemperatur_EG_Wohnen [ ga="9.001:<3/2/70" ]
		Type number : Raumtemperatur_EG_Kueche [ ga="9.001:<3/2/30" ]
		Type number : Raumtemperatur_EG_Essen [ ga="9.001:<3/2/50" ]
		Type number : Raumtemperatur_EG_Zimmer [ ga="9.001:<3/2/80" ]
		Type number : Raumtemperatur_OG_Diele [ ga="9.001:<3/3/50" ]
		Type number : Raumtemperatur_OG_Bad [ ga="9.001:<3/3/40" ]
		Type number : Raumtemperatur_OG_Buero [ ga="9.001:<3/3/20" ]
		Type number : Raumtemperatur_OG_Tim [ ga="9.001:<3/3/10" ]
		Type number : Raumtemperatur_OG_Schlafen [ ga="9.001:<3/3/30" ]
		/* Raumtemperaturen soll */
		Type number : Raumtemperatur_Soll_EG_WC [ ga="2/2/10+<1/2/10" ]
		Type number : Raumtemperatur_Soll_EG_Kueche [ ga="2/2/30+<1/2/30" ]
		Type number : Raumtemperatur_Soll_EG_Essen [ ga="2/2/50+<1/2/50" ]
		Type number : Raumtemperatur_Soll_EG_Wohnen [ ga="2/2/70+<1/2/70" ]
		Type number : Raumtemperatur_Soll_EG_Zimmer [ ga="2/2/80+<1/2/80" ]
		Type number : Raumtemperatur_Soll_OG_Tim [ ga="2/3/10+<1/3/10" ]
		Type number : Raumtemperatur_Soll_OG_Buero [ ga="2/3/20+<1/3/20" ]
		Type number : Raumtemperatur_Soll_OG_Eltern [ ga="2/3/30+<1/3/30" ]
		Type number : Raumtemperatur_Soll_OG_Bad [ ga="2/3/40+<1/3/40" ]
		Type number : Raumtemperatur_Soll_OG_Diele [ ga="2/3/50+<1/3/50" ]
	}
	Thing device kontakte "KNX Kontakte" [
		pingInterval=300,
		readInterval=3600
	] {
		Type contact : Fenster_KG_Werkstatt [ ga="1.019:<9/1/20" ]
		Type contact : Fenster_KG_Gast [ ga="1.019:<9/1/50" ]
		Type contact : Fenster_KG_Wellness [ ga="1.019:<9/1/40" ]
		Type contact : Fenster_EG_Kueche [ ga="1.019:<9/2/30" ]
		Type contact : Fenster_EG_WC [ ga="1.019:<9/2/10" ]
		Type contact : Fenster_EG_Wohnen [ ga="1.019:<9/2/70" ]
		Type contact : Fenster_EG_Zimmer1 [ ga="1.019:<9/2/80" ]
		Type contact : Fenster_EG_Zimmer2 [ ga="1.019:<9/2/81" ]
		Type contact : Fenster_OG_Buero [ ga="1.019:<9/3/20" ]
		Type contact : Fenster_OG_Bad [ ga="1.019:<9/3/41" ]
		Type contact : Fenster_OG_Eltern [ ga="1.019:<9/3/31" ]
		Type contact : Fenster_OG_Tim [ ga="1.019:<9/3/11" ]

		Type contact : Tuer_EG_TerrasseGross [ ga="1.019:<9/2/60" ]
		Type contact : Tuer_EG_TerrasseKlein [ ga="1.019:<9/2/50" ]
		Type contact : Tuer_OG_Tim [ ga="1.019:<9/3/10" ]
		Type contact : Tuer_OG_SchlafenBalkon [ ga="1.019:<9/3/30" ]
		Type contact : Tuer_OG_Bad [ ga="1.019:<9/3/40" ]
		Type contact : Tuer_OG_Diele_Strasse [ ga="1.019:<9/3/50" ]
		Type contact : Tuer_OG_Diele_Balkon [ ga="1.019:<9/3/51" ]

		/* Spezialfall Haustüre */
		Type contact : Tuer_EG_Verriegelung_A [ ga="1.019:<9/2/0" ]
		Type contact : Tuer_EG_Verriegelung_B [ ga="1.019:<9/2/1" ]
		Type contact : Tuer_EG_Fingerprint [ ga="1.019:<4/2/1" ]

		/* Garage */
		Type contact : Garagentor_offen [ ga="1.019:<5/4/31" ]  /* ABB binär G */
		Type contact : Garagentor_geschlossen [ ga="1.019:<5/4/32" ]  /* ABB binär F */
	}

I am using items files and link them to the channels:


/* Fenster */
Contact Fenster_KG_Werkstatt    "KG Werkstatt [MAP(de.map):%s]"   <window> (gKontakte, gKontakteOffen, KG_Werkstatt) { channel="knx:device:bridge:kontakte:Fenster_KG_Werkstatt" }
Contact Fenster_KG_Gast         "KG Gast [MAP(de.map):%s]"        <window> (gKontakte, gKontakteOffen, KG_Gast)      { channel="knx:device:bridge:kontakte:Fenster_KG_Gast" }
Contact Fenster_KG_Wellness     "KG Wellness  [MAP(de.map):%s]"   <window> (gKontakte, gKontakteOffen, KG_Wellness)  { channel="knx:device:bridge:kontakte:Fenster_KG_Wellness" }
Contact Fenster_EG_Kueche       "EG Küche [MAP(de.map):%s]"       <window> (gKontakte, gKontakteOffen, EG_Kueche)    { channel="knx:device:bridge:kontakte:Fenster_EG_Kueche" }
Contact Fenster_EG_WC           "EG WC [MAP(de.map):%s]"          <window> (gKontakte, gKontakteOffen, EG_WC)        { channel="knx:device:bridge:kontakte:Fenster_EG_WC" }
Contact Fenster_EG_Wohnen       "EG Wohnzimmer [MAP(de.map):%s]"  <window> (gKontakte, gKontakteOffen, EG_Wohnen)    { channel="knx:device:bridge:kontakte:Fenster_EG_Wohnen" }
Contact Fenster_EG_Zimmer1      "EG Zimmer 1 [MAP(de.map):%s]"    <window> (gKontakte, gKontakteOffen, EG_Zimmer)    { channel="knx:device:bridge:kontakte:Fenster_EG_Zimmer1" }
Contact Fenster_EG_Zimmer2      "EG Zimmer 2 [MAP(de.map):%s]"    <window> (gKontakte, gKontakteOffen, EG_Zimmer)    { channel="knx:device:bridge:kontakte:Fenster_EG_Zimmer2" }
Contact Fenster_OG_Buero        "OG Büro [MAP(de.map):%s]"        <window> (gKontakte, gKontakteOffen, OG_Buero)     { channel="knx:device:bridge:kontakte:Fenster_OG_Buero" }
Contact Fenster_OG_Bad          "OG Bad [MAP(de.map):%s]"         <window> (gKontakte, gKontakteOffen, OG_Bad)       { channel="knx:device:bridge:kontakte:Fenster_OG_Bad" }
Contact Fenster_OG_Eltern       "OG Eltern [MAP(de.map):%s]"      <window> (gKontakte, gKontakteOffen, OG_Schlafen)  { channel="knx:device:bridge:kontakte:Fenster_OG_Eltern" }
Contact Fenster_OG_Tim          "OG Tim Fenster [MAP(de.map):%s]" <window> (gKontakte, gKontakteOffen, OG_Tim)       { channel="knx:device:bridge:kontakte:Fenster_OG_Tim" }

Thank you.
I restored the old config now and it is working again.
I did some formatting which may have broken it.
I put all parameters like autoconnect etc. Into one line. Maybe this causes some problems.

Thank you for making this clear.

i have > 200 items in one thing. i did not know, it was possible to split them into Temp, contacts etc.
i’ll try that.
Thank you!

I split it up like you did now and everything is coming online except for “Lichter”. Still Error Handler missing.

I cannot see any mistake in my “lichter” config …
maybe someone can see something i cannot:

Bridge knx:ip:bridge [
    type="TUNNEL",
    ipAddress="192.168.1.10",
	 portNumber=3671,
    useNAT=true,
	 readingPause=50,
	 responseTimeout=10,
	 readRetriesLimit=3,
	 autoReconnectPeriod=60,
    localSourceAddr="0.0.0"
        ]{
    Thing device Licht "KNX Lichter" [
        readInterval=3600
        ]{
        Type switch         :   KG_Aussenbereich_Schuppen_Licht                     [ ga="0/1/0+<0/5/0" ]
        Type switch         :   KG_Aussenbereich_Haupteingang_Licht	               [ ga="0/1/1+<0/5/1" ]
        Type dimmer         :   KG_Flur_Deckenleuchten	                           [ switch="0/2/2+<0/5/2",position="0/3/2+<0/6/2",increaseDecrease="0/3/52" ]
        Type switch         :   KG_Abstellkammer_Wandleuchte	                     [ ga="0/1/3+<0/5/3" ]
        Type switch         :   KG_Technikraum_Deckenleuchten	                     [ ga="0/2/4+<0/5/4" ]
        Type switch         :   KG_WC_Deckenleuchte 	                              [ ga="0/2/5+<0/5/5" ]
        Type dimmer         :   KG_Hobbyraum_Deckenleuchte	                        [ switch="0/1/7+<0/5/7",position="0/3/7+<0/6/7",increaseDecrease="0/3/57" ]
        Type switch         :   KG_Hobbyraum_Arbeitsleuchte	                        [ ga="0/1/8+<0/5/8" ]
        Type switch         :   KG_Garage_Deckenleuchten	                           [ ga="0/2/9+<0/5/9" ]
        Type switch         :   KG_Garage_Leuchte_Torantrieb	                     [ ga="0/2/10+<0/5/10" ]
        Type switch         :   KG_Werkstatt_Deckenleuchten                         [ ga="0/2/11+<0/5/11" ]
        Type switch         :   KG_Lager_Deckenleuchte                              [ ga="0/1/12+<0/5/12" ]
        Type dimmer         :   KG_EG_Treppenhaus_LED_Handlauf                      [ switch="0/2/13+<0/5/13",position="0/3/13+<0/6/13",increaseDecrease="0/3/63" ]
        Type dimmer         :   EG_Flur_Deckenleuchten                              [ switch="0/2/14+<0/5/14",position="0/3/14+<0/6/14",increaseDecrease="0/3/64" ]
        Type dimmer         :   EG_Wohnbereich_Deckenspots                          [ switch="0/1/15+<0/5/15",position="0/3/15+<0/6/15",increaseDecrease="0/3/65" ]
        Type dimmer         :   EG_Wohnzimmer_LED_1_Wand_TV                         [ switch="0/1/16+<0/5/16",position="0/3/16+<0/6/16",increaseDecrease="0/3/66" ]
        Type dimmer         :   EG_Wohnzimmer_LED_2_Wand_SO                         [ switch="0/1/17+<0/5/17",position="0/3/17+<0/6/17",increaseDecrease="0/3/67" ]
        Type dimmer         :   EG_Wohn_Esszimmer_LED_3_Wand_SW                     [ switch="0/1/18+<0/5/18",position="0/3/18+<0/6/18",increaseDecrease="0/3/68" ]
        Type dimmer         :   EG_Essbereich_Deckenspots                           [ switch="0/1/19+<0/5/19",position="0/3/19+<0/6/19",increaseDecrease="0/3/69" ]
        Type switch         :   EG_Essbereich_Pendelleuchten                        [ ga="0/1/20+<0/5/20" ]
        Type dimmer         :   EG_Essbereich_LED_4_Wand_NW                         [ switch="0/1/21+<0/5/21",position="0/3/21+<0/6/21",increaseDecrease="0/3/71" ]
        Type dimmer         :   EG_Kueche_Deckenspots                               [ switch="0/1/22+<0/5/22",position="0/3/22+<0/6/22",increaseDecrease="0/3/72" ]
        Type switch         :   EG_Kueche_Pendelleuchten    	                     [ ga="0/1/23+<0/5/23" ]
        Type switch         :   EG_Terrasse_Aussenbeleuchtung	                     [ ga="0/1/24+<0/5/24" ]
        Type switch         :   EG_Garten_Aussenbeleuchtung                         [ ga="0/1/25+<0/5/25" ]
        Type dimmer         :   EG_Arbeitszimmer_Deckenleuchte                      [ switch="0/1/26+<0/5/26",position="0/3/26+<0/6/26",increaseDecrease="0/3/76" ]
        Type switch         :   EG_Arbeitszimmer_Spots                              [ ga="0/1/27+<0/5/27" ] 
        Type switch         :   EG_Speisekammer_Spots                               [ ga="0/1/28+<0/5/28" ] 
        Type dimmer         :   EG_Bad_Deckenspots                                  [ switch="0/2/29+<0/5/29",position="0/3/29+<0/6/29",increaseDecrease="0/3/79" ]
        Type dimmer         :   EG_OG_Treppenhaus_Pendelleuchte                     [ switch="0/2/31+<0/5/31",position="0/3/31+<0/6/31",increaseDecrease="0/3/81" ]
        Type dimmer         :   OG_Flur_Deckenspots                                 [ switch="0/2/32+<0/5/32",position="0/3/32+<0/6/32",increaseDecrease="0/3/82" ]
        Type switch         :   OG_Flur_Wandleuchten                                [ ga="0/2/33+<0/5/33" ] 
        Type dimmer         :   OG_Kind_SO_Deckenleuchte                            [ switch="0/1/34+<0/5/34",position="0/3/34+<0/6/34",increaseDecrease="0/3/84" ]
        Type switch         :   OG_Kind_SO_Arbeitsbeleuchtung                       [ ga="0/1/35+<0/5/35" ] 
        Type switch         :   OG_Kind_SO_Balkon_Wandleuchte                       [ ga="0/1/36+<0/5/36" ] 
        Type dimmer         :   OG_Kind_NW_Deckenleuchte                            [ switch="0/1/37+<0/5/37",position="0/3/37+<0/6/37",increaseDecrease="0/3/87" ]
        Type switch         :   OG_Kind_NW_Arbeitsbeleuchtung	                     [ ga="0/1/38+<0/5/38" ] 
        Type switch         :   OG_Kind_NW_Balkon_Wandleuchte	                     [ ga="0/1/39+<0/5/39" ] 
        Type dimmer         :   OG_Eltern_Deckenspots                               [ switch="0/1/40+<0/5/40",position="0/3/40+<0/6/40",increaseDecrease="0/3/90" ]
        Type switch         :   OG_Eltern_Nachttischlampe_Fenster	                  [ ga="0/1/41+<0/5/41" ]
        Type switch         :   OG_Eltern_Nachtisschlampe_Tuer	                     [ ga="0/1/42+<0/5/42" ]
        Type dimmer         :   OG_Eltern_LED_Stripe                                [ switch="0/1/43+<0/5/43",position="0/3/43+<0/6/43",increaseDecrease="0/3/93" ]
        Type dimmer         :   OG_Ankleide_Deckenspots                             [ switch="0/1/44+<0/5/44",position="0/3/44+<0/6/44",increaseDecrease="0/3/94" ]
        Type dimmer         :   OG_Bad_Deckenspots                                  [ switch="0/1/45+<0/5/45",position="0/3/45+<0/6/45",increaseDecrease="0/3/95" ]
        Type switch         :   OG_Bad_Spiegelbeleuchtung                           [ switch="0/1/46+<0/5/46" ] 
        Type dimmer         :   OG_Bad_LED                                          [ switch="0/1/47+<0/5/47",position="0/3/47+<0/6/47",increaseDecrease="0/3/97" ]
        Type switch         :   DG_Deckenleuchten	                                 [ ga="0/1/48+<0/5/48" ]
        }

Edit:
I found it.
One Switch item (OG_BAD_Spiegelbeleuchtung) was wrong. (switch instead of ga="" …)

Now it’s working again :slight_smile:

1 Like