durch das Update von openhab 3.4.5 auf Version 4.1.1 tauchen bei mir beim Start von openhab nun die folgenden Fehler auf:
Diesen Fehler habe ich in mehreren rules. Was bedeutet dieser genau?2024-02-26 18:13:49.917 [INFO ] [el.core.internal.ModelRepositoryImpl] - Validation issues found in configuration model 'fenster.rules', using it anyway:
There is no context to infer the closure's argument types from. Consider typing the arguments or put the closures into a typed context.
There is no context to infer the closure's argument types from. Consider typing the arguments or put the closures into a typed context.
There is no context to infer the closure's argument types from. Consider typing the arguments or put the closures into a typed context.
There is no context to infer the closure's argument types from. Consider typing the arguments or put the closures into a typed context.
Hier mal die fenster.rules
Code: Alles auswählen
rule "geöffnete Fenster zählen"
when
Member of gKontakte changed or
Item KG_Kellerfenster changed
then
if (kontakteoffen.state == NULL)
{
kontakteoffen.postUpdate(0)
}
var nAnz = gKontakte.members.filter[i|i instanceof ContactItem ].filter[ s|s.state==OPEN].size
nAnz = nAnz + gKontakte.members.filter[i|i instanceof SwitchItem ].filter[ s|s.state==ON].size
kontakteoffen.postUpdate( nAnz )
end
So sieht das thing dazu aus. Ist das so falsch, darf ich nur eine GA angeben?2024-02-20 02:26:55.372 [INFO ] [al.channel.GroupAddressConfiguration] - Item with mainGA 2/3/131 has more than one GA configured for read at startup, check configuration
2024-02-20 02:26:55.381 [INFO ] [al.channel.GroupAddressConfiguration] - Item with mainGA 2/2/131 has more than one GA configured for read at startup, check configuration
2024-02-20 02:26:55.385 [INFO ] [al.channel.GroupAddressConfiguration] - Item with mainGA 2/3/132 has more than one GA configured for read at startup, check configuration
2024-02-20 02:26:55.395 [INFO ] [al.channel.GroupAddressConfiguration] - Item with mainGA 2/2/132 has more than one GA configured for read at startup, check configuration
Code: Alles auswählen
Thing device Jalousieaktor_D10 "Jalousieaktor D10" @ "Technikraum" [
address="1.1.57",
fetch=false,
pingInterval=300,
readInterval=0
] {
//A
Type rollershutter : ChannelA "Rollo Kind 1 Westen 13M1" [ upDown="2/2/131+<2/0/0+<2/0/2+<2/0/5+<2/2/130", stopMove="2/3/131+<2/1/0+<2/1/2+<2/1/5+<2/3/130", position="2/4/23+<2/7/25" ]
//B
Type rollershutter : ChannelB "Rollo Kind 1 Süden 13M2" [ upDown="2/2/132+<2/0/0+<2/0/2+<2/0/6+<2/2/130", stopMove="2/3/132+<2/1/0+<2/1/2+<2/1/6+<2/3/130", position="2/4/24+<2/7/26" ]
//C
// Frei
//D
// Frei
}
Mehrfach habe ich auch Fehlermeldungen wie diese hier:
2024-02-20 02:26:55.516 [WARN ] [ding.knx.internal.channel.KNXChannel] - Configured DPT '1.002' is incompatible with accepted types '[class org.openhab.core.library.types.DecimalType, class org.openhab.core.library.types.QuantityType]' for channel 'knx:device:42a36ac8:Heizung:DP007'
2024-02-20 02:26:55.518 [WARN ] [ding.knx.internal.channel.KNXChannel] - Configured DPT '1.002' is incompatible with accepted types '[class org.openhab.core.library.types.DecimalType, class org.openhab.core.library.types.QuantityType]' for channel 'knx:device:42a36ac8:Heizung:DP008'
2024-02-20 02:26:55.520 [WARN ] [ding.knx.internal.channel.KNXChannel] - Configured DPT '1.002' is incompatible with accepted types '[class org.openhab.core.library.types.DecimalType, class org.openhab.core.library.types.QuantityType]' for channel 'knx:device:42a36ac8:Heizung:DP009'
So habe ich das im entsprechenden thing definiert.
Code: Alles auswählen
Type number : DP007 "Heizkreis 1 - Betriebswahl Heizung - Status (Standby)" [ ga="1.002:4/6/6" ]
Type number : DP008 "Heizkreis 1 - Betriebswahl Heizung - Status (Woche 1)" [ ga="1.002:4/6/7" ]
Type number : DP009 "Heizkreis 1 - Betriebswahl Heizung - Status (Woche 2)" [ ga="1.002:4/6/8" ]
Type number : DP010 "Heizkreis 1 - Betriebswahl Heizung - Status (Konstant)" [ ga="1.002:4/6/9" ]
Type number : DP011 "Heizkreis 1 - Betriebswahl Heizung - Status (Sparbetrieb)" [ ga="1.002:4/6/10" ]
Teilweise taucht auch diese Meldung auf:
2024-02-20 02:26:55.709 [WARN ] [al.channel.GroupAddressConfiguration] - Failed parsing channel configuration ''.
Jemand eine Idee wie ich die Fehler weg bekomme?
Gruß Tom