Hallo,
ich versuche per UDP Daten von einem externen Gerät an openHAB zu senden, hier die config:
Also mein externes Gerät (192.168.0.198) sendet auf lokalem Port 68 an 192.168.0.70:25002
Im Moment sende ich nur eine "0" (Null)
Folgende Ausgaben im Log:
Die letzten beiden Zeilen werden für jedes UDP Datagramm ausgegeben.
Es wird auch nichts ausgelöst.
Kann mir jemand sagen was ich falsch mache ?
Holger
edit: Version ist ein 1.4 Snapshot von Anfang Dezember
ich versuche per UDP Daten von einem externen Gerät an openHAB zu senden, hier die config:
Code:
#openHAB.cfg: udp:port=25002 udp:itemsharedconnections=true udp:bindingsharedconnections=true udp:refreshinterval=250 #items: Switch Licht_Ambiente { udp="<[192.168.0.198:68:'REGEX((.*))']" }
Im Moment sende ich nur eine "0" (Null)
Folgende Ausgaben im Log:
Code:
18:16:34.161 INFO o.o.b.t.AbstractDatagramChannelBinding[:781] - The maximum buffer will be set to the default value of 1024 18:16:34.163 INFO o.o.b.t.AbstractDatagramChannelBinding[:788] - The interval to retry connection setups will be set to the default value of 5 18:16:34.165 INFO o.o.b.t.AbstractDatagramChannelBinding[:795] - The cron job to reset connections will be set to the default value of 0 0 0 * * ? 18:16:34.177 INFO o.o.b.t.AbstractDatagramChannelBinding[:823] - The setting to share channels between directions will be set to the default vaulue of true 18:16:34.178 INFO o.o.b.t.AbstractDatagramChannelBinding[:830] - The setting to use address masks for incoming connections will be set to the default value of true 18:16:34.238 INFO o.o.b.t.AbstractDatagramChannelBinding[:693] - Listening for incoming data on /0:0:0:0:0:0:0:0:25002 18:16:34.258 INFO o.o.b.t.p.internal.UDPBinding[:157] - The maximum time out for blocking write operations will be set to the default vaulue of 3000 18:16:34.259 INFO o.o.b.t.p.internal.UDPBinding[:164] - The blocking nature of read/write operations will be set to the default vaulue of false 18:16:34.261 INFO o.o.c.s.AbstractActiveService[:169] - UDP Refresh Service has been started 18:16:34.276 INFO o.o.b.t.AbstractDatagramChannelBinding[:1258] - We will accept data coming from the remote end /192.168.0.198:68 18:16:34.260 INFO o.o.b.t.p.internal.UDPBinding[:171] - The preamble for all write operations will be set to the default vaulue of 18:16:34.278 INFO o.o.b.t.p.internal.UDPBinding[:178] - The postamble for all write operations will be set to the default vaulue of 18:16:34.284 INFO o.o.b.t.p.internal.UDPBinding[:185] - Updating states with returned values will be set to the default vaulue of true 18:16:35.400 INFO o.o.m.c.i.ModelRepositoryImpl[:79] - Loading model 'default.rules' 18:16:43.532 INFO org.openhab.model.script.start[:53] - --Start ------------------------------------------------------------------------------------- 18:16:43.849 INFO o.openhab.io.net.exec.ExecUtil[:66] - executed commandLine '/volume1/script/piep1.sh' 18:17:06.246 WARN o.o.b.t.AbstractDatagramChannelBinding[:1480] - Received data 0 from an undefined remote end /192.168.0.198:68. We will not process it 18:17:06.248 WARN o.o.b.t.AbstractDatagramChannelBinding[:1511] - No channel is active or defined for the data we received from /192.168.0.198:68. It will be discarded.
Es wird auch nichts ausgelöst.
Kann mir jemand sagen was ich falsch mache ?
Holger
edit: Version ist ein 1.4 Snapshot von Anfang Dezember
Kommentar