Continuing the discussion from KNX Datetime from openhab:
Hallo,
wie füge ich den Code in meine knx.things ein ?https://community.openhab.org/images...smile.png?v=12
Bei mir läuft openhab 3 ich verstehe nicht so ganz wie ich das ganze in meine knx.things einbinden kann
meine sieht zur Zeit so aus.
Bridge knx:ip:bridge “Raspi3Tunnel” [
ipAddress=“192.168.2.150”,
localIp=“192.168.2.192”,
type=“TUNNEL”,
portNumber=3671,
readingPause=50,
responseTimeout=10,
readRetriesLimit=3,
autoReconnectPeriod=60,
localSourceAddress=“0.0.0” // this physical address must be unused (even used by tunnel is not allowed!)
]
{
Thing device 1 “AKS-1216.03 Schaltaktor 12-fach, 8TE, 16A” [
address=“1.1.5”,
fetch=false,
pingInterval=600,
readInterval=0
] {
Type switch : Kanal_A “Flur” [ga=“1/0/6”]
Type switch : Kanal_B “Wohnen_OG” [ga=“2/0/0”]
Type switch : Kanal_C “Computer_OG” [ga=“2/0/2”]
//Type switch : Kanal_D “” [ga=“”]
Type switch : Kanal_E “Ufo” [ga=“1/0/16”]
//Type switch : Kanal_F “” [ga=“”]
//Type switch : Kanal_G “” [ga=“”]
//Type switch : Kanal_H “” [ga=“”]
//Type switch : Kanal_I “” [ga=“”]
Type switch : Kanal_J “Gäste_WC” [ga=“1/0/10”]
//Type switch : Kanal_K “” [ga=“”]
//Type switch : Kanal_L “” [ga=“”]
//Type switch : ch3 "Channel 3" [ga="1/1/5+<1/1/6"] }
Thing device 2 “AKU-1616.02 Universalaktor 16-fach, 16A, 230VAC” [
address=“1.1.6”,
fetch=false,
pingInterval=600,
readInterval=0
] {
//Type switch : Kanal_A “Channel 2” [ga=“1/2/1+<1/2/2”]
//Type switch : Kanal_B “Channel 2” [ga=“1/2/3+<1/2/4”]
//Type switch : Kanal_C “Channel 3” [ga=“1/2/5+<1/2/6”]
//Type switch : Kanal_D “Channel 1” [ga=“1/2/1+<1/2/2”]
//Type switch : Kanal_E “Channel 2” [ga=“1/2/3+<1/2/4”]
Type switch : Kanal_F “Beleuchtung_Eingang” [ga=“1/4/1”]
Type switch : Kanal_G “Beleuchtung_Terrasse” [ga=“1/4/7”]
//Type switch : Kanal_H “Channel 2” [ga=“1/2/3+<1/2/4”]
//Type switch : Kanal_I “Channel 3” [ga=“1/2/5+<1/2/6”]
//Type switch : Kanal_J “Channel 1” [ga=“1/2/1+<1/2/2”]
Type switch : Kanal_K “Schlafzimmer” [ga=“1/2/0”]
//Type switch : Kanal_L “” [ga=“1/2/5+<1/2/6”]
Type switch : Kanal_M “Miles” [ga=“1/2/2”]
//Type switch : Kanal_N “Channel 2” [ga=“1/2/3+<1/2/4”]
Type switch : Kanal_O “Bad” [ga=“1/2/4”]
//Type switch : Kanal_P “Channel 1” [ga=“1/2/1+<1/2/2”]
}
Thing device 3 “AKD-0401.01 Dimmaktor1 4-fach, 8TE, 230VAC, 250W” [
address=“1.1.7”,
fetch=false,
pingInterval=600,
readInterval=0
] {
Type dimmer : Kanal_A “Schlafzimmer” [ switch=“1/1/0+<1/1/2”, position=“1/1/30+<1/1/3”, increaseDecrease=“1/1/1” ]
Type dimmer : Kanal_B “Miles” [ switch=“1/1/4+<1/1/6”, position=“1/1/32+<1/1/7”, increaseDecrease=“1/1/5” ]
Type dimmer : Kanal_C “Bad” [ switch=“1/1/8+<1/1/10”, position=“1/1/34+<1/1/11”, increaseDecrease=“1/1/9” ]
Type dimmer : Kanal_D “Kueche” [ switch=“1/1/12+<1/1/14”, position=“1/1/36+<1/1/15”, increaseDecrease=“1/1/13” ]
}
Thing device 4 “AKD-0401.01 Dimmaktor2 4-fach, 8TE, 230VAC, 250W” [
address=“1.1.8”,
fetch=false,
pingInterval=600,
readInterval=0
] {
Type dimmer : Kanal_A “Wohnzimmer” [ switch=“1/1/16+<1/1/18”, position=“1/1/28+<1/1/19”, increaseDecrease=“1/1/17” ]
Type dimmer : Kanal_B “Esstisch” [ switch=“1/1/20+<1/1/22”, position=“1/1/29+<1/1/23”, increaseDecrease=“1/1/21” ]
Type dimmer : Kanal_C “Totesstern” [ switch=“1/1/24+<1/1/26”, position=“1/1/33+<1/1/27”, increaseDecrease=“1/1/25” ]
Type dimmer : Kanal_D “Bad2” [ switch=“1/1/37+<1/1/39”, position=“1/1/35+<1/1/40”, increaseDecrease=“1/1/38” ]
}
Thing device Date_Device {
Type datetime-control : knxTime [ ga="10.001:1/3/0" ] Type datetime-control : knxDate [ ga="11.001:1/3/1" ] Type datetime-control : datumzeit "Datum und Zeit" [ ga="19.001:1/3/2" ]
}
}
wenn ich den code einfüge funktioniert meine ganze knx.things nicht mehr hab es noch nicht so ganz verstanden wie das mit der knx.things funktioniert es gibt aber nur eine knx.things bzw es darf nur eine geben oder?. Wäre echt sehr nett wenn es mir jemand erklären könnte. Mit dem versuch unten bekomme ich zwar alles angezeigt aber die Zeit wird nicht zum Bus gesendet als gateway fungiert ein zweiter Pi als Tunnel da ich nur eine MDT USB Schnittstelle besitze auf openhab 2 lief es so.
Kann es sein das meine veraltet ist mit den ganzen Klammern usw ?
Sorry bin totaler Anfänger.
In der Openhab Log wird es angezeigt, nur in der ets beim Bus Monitor kommt nichts an.
die 192.168.2.150 ist der pi der als Schnittstelle dient.
Schönes Wochenende euch allen.
Gruß
Hallo,
wie füge ich den Code in meine knx.things ein ?https://community.openhab.org/images...smile.png?v=12
Bei mir läuft openhab 3 ich verstehe nicht so ganz wie ich das ganze in meine knx.things einbinden kann
meine sieht zur Zeit so aus.
Bridge knx:ip:bridge “Raspi3Tunnel” [
ipAddress=“192.168.2.150”,
localIp=“192.168.2.192”,
type=“TUNNEL”,
portNumber=3671,
readingPause=50,
responseTimeout=10,
readRetriesLimit=3,
autoReconnectPeriod=60,
localSourceAddress=“0.0.0” // this physical address must be unused (even used by tunnel is not allowed!)
]
{
Thing device 1 “AKS-1216.03 Schaltaktor 12-fach, 8TE, 16A” [
address=“1.1.5”,
fetch=false,
pingInterval=600,
readInterval=0
] {
Type switch : Kanal_A “Flur” [ga=“1/0/6”]
Type switch : Kanal_B “Wohnen_OG” [ga=“2/0/0”]
Type switch : Kanal_C “Computer_OG” [ga=“2/0/2”]
//Type switch : Kanal_D “” [ga=“”]
Type switch : Kanal_E “Ufo” [ga=“1/0/16”]
//Type switch : Kanal_F “” [ga=“”]
//Type switch : Kanal_G “” [ga=“”]
//Type switch : Kanal_H “” [ga=“”]
//Type switch : Kanal_I “” [ga=“”]
Type switch : Kanal_J “Gäste_WC” [ga=“1/0/10”]
//Type switch : Kanal_K “” [ga=“”]
//Type switch : Kanal_L “” [ga=“”]
//Type switch : ch3 "Channel 3" [ga="1/1/5+<1/1/6"] }
Thing device 2 “AKU-1616.02 Universalaktor 16-fach, 16A, 230VAC” [
address=“1.1.6”,
fetch=false,
pingInterval=600,
readInterval=0
] {
//Type switch : Kanal_A “Channel 2” [ga=“1/2/1+<1/2/2”]
//Type switch : Kanal_B “Channel 2” [ga=“1/2/3+<1/2/4”]
//Type switch : Kanal_C “Channel 3” [ga=“1/2/5+<1/2/6”]
//Type switch : Kanal_D “Channel 1” [ga=“1/2/1+<1/2/2”]
//Type switch : Kanal_E “Channel 2” [ga=“1/2/3+<1/2/4”]
Type switch : Kanal_F “Beleuchtung_Eingang” [ga=“1/4/1”]
Type switch : Kanal_G “Beleuchtung_Terrasse” [ga=“1/4/7”]
//Type switch : Kanal_H “Channel 2” [ga=“1/2/3+<1/2/4”]
//Type switch : Kanal_I “Channel 3” [ga=“1/2/5+<1/2/6”]
//Type switch : Kanal_J “Channel 1” [ga=“1/2/1+<1/2/2”]
Type switch : Kanal_K “Schlafzimmer” [ga=“1/2/0”]
//Type switch : Kanal_L “” [ga=“1/2/5+<1/2/6”]
Type switch : Kanal_M “Miles” [ga=“1/2/2”]
//Type switch : Kanal_N “Channel 2” [ga=“1/2/3+<1/2/4”]
Type switch : Kanal_O “Bad” [ga=“1/2/4”]
//Type switch : Kanal_P “Channel 1” [ga=“1/2/1+<1/2/2”]
}
Thing device 3 “AKD-0401.01 Dimmaktor1 4-fach, 8TE, 230VAC, 250W” [
address=“1.1.7”,
fetch=false,
pingInterval=600,
readInterval=0
] {
Type dimmer : Kanal_A “Schlafzimmer” [ switch=“1/1/0+<1/1/2”, position=“1/1/30+<1/1/3”, increaseDecrease=“1/1/1” ]
Type dimmer : Kanal_B “Miles” [ switch=“1/1/4+<1/1/6”, position=“1/1/32+<1/1/7”, increaseDecrease=“1/1/5” ]
Type dimmer : Kanal_C “Bad” [ switch=“1/1/8+<1/1/10”, position=“1/1/34+<1/1/11”, increaseDecrease=“1/1/9” ]
Type dimmer : Kanal_D “Kueche” [ switch=“1/1/12+<1/1/14”, position=“1/1/36+<1/1/15”, increaseDecrease=“1/1/13” ]
}
Thing device 4 “AKD-0401.01 Dimmaktor2 4-fach, 8TE, 230VAC, 250W” [
address=“1.1.8”,
fetch=false,
pingInterval=600,
readInterval=0
] {
Type dimmer : Kanal_A “Wohnzimmer” [ switch=“1/1/16+<1/1/18”, position=“1/1/28+<1/1/19”, increaseDecrease=“1/1/17” ]
Type dimmer : Kanal_B “Esstisch” [ switch=“1/1/20+<1/1/22”, position=“1/1/29+<1/1/23”, increaseDecrease=“1/1/21” ]
Type dimmer : Kanal_C “Totesstern” [ switch=“1/1/24+<1/1/26”, position=“1/1/33+<1/1/27”, increaseDecrease=“1/1/25” ]
Type dimmer : Kanal_D “Bad2” [ switch=“1/1/37+<1/1/39”, position=“1/1/35+<1/1/40”, increaseDecrease=“1/1/38” ]
}
Thing device Date_Device {
Type datetime-control : knxTime [ ga="10.001:1/3/0" ] Type datetime-control : knxDate [ ga="11.001:1/3/1" ] Type datetime-control : datumzeit "Datum und Zeit" [ ga="19.001:1/3/2" ]
}
}
wenn ich den code einfüge funktioniert meine ganze knx.things nicht mehr hab es noch nicht so ganz verstanden wie das mit der knx.things funktioniert es gibt aber nur eine knx.things bzw es darf nur eine geben oder?. Wäre echt sehr nett wenn es mir jemand erklären könnte. Mit dem versuch unten bekomme ich zwar alles angezeigt aber die Zeit wird nicht zum Bus gesendet als gateway fungiert ein zweiter Pi als Tunnel da ich nur eine MDT USB Schnittstelle besitze auf openhab 2 lief es so.
Kann es sein das meine veraltet ist mit den ganzen Klammern usw ?
Sorry bin totaler Anfänger.
In der Openhab Log wird es angezeigt, nur in der ets beim Bus Monitor kommt nichts an.
die 192.168.2.150 ist der pi der als Schnittstelle dient.
Schönes Wochenende euch allen.
Gruß
Kommentar