Tcp binding problems with IP4

Hello,

I have got a problem with the tcp binding and IP4.

I am not able to receive udp data with the udp binding.

i have an string in my items-file:

//String 	String_Modellbau_Test 	"Test String[%s]" 	 {udp="<[*:192.168.123.456:*:'REGEX((.*))']"}
//String 	String_Paketfach_Test_V6 	"Test String[%s]" 	 {udp="<[*:fe80:0:0:0:1234:5678:90ab:cdef:*:'REGEX((.*))']"}

If i uncomment one of them i get packets. But only if i send it to the IPV6 address of my diskstation.
if i send the udp packets to the IPV4 adress i did not get any packets:

2020-01-25 17:39:00.813 [WARN ] [g.tcp.AbstractDatagramChannelBinding] - Received data Do 23.01.2020 16:20:16 (783): [1] External T=9.44 C Avg(28) T=9.44 C IP6 from an undefined remote end /fe80:0:0:0:1234:5678:90ab:cdef:9999. We will not process it
2020-01-25 17:39:00.813 [WARN ] [g.tcp.AbstractDatagramChannelBinding] - No channel is active or defined for the data we received from /fe80:0:0:0:1234:5678:90ab:cdef%7:9999. It will be discarded.

it does nòt matter with of one i uncomment. i get the same entrys in the openhab.log of my diskstation.
if i uncomment the item with IPV4 address i get the same log with the IPV6 addresses.

If i deselect the “use IPV6 if available” nothing change.
I send the packets with “Paket sender” permanently to the IPV4 and IPV6 adresses.

the diskstation only listen on “udp6” never on “udp” (netstat -ln).

if i deactivate the ipv6 interface of my diskstation i do not get any packet. No IPV6, and no IPV4.

I dont know what could be the problem???

Have you restarted OH after commenting out one of the items? Maybe need to try cleaning the cache as well.

Yes, I restartet OH several times

Ok seems i should forget udp and openhab.

I found a mqtt library for my arduino.
I am trying MQTT now and try to open an new thread for MQTT…

You should quit technology altogether if you give up that easily.

I googled and read that there are problems with the old bindings.

Ok. can can try to send commands to the IP V6 address and will see if i get that working.
I suppose i openhab should listen on udp and udp6. But netstat says it is only listen on udp6.

I think there will be no new release of the disstation-paket for openhab2.4
They will release only a new 2.5 or 3.0 paket.

At the moment i will not change to openHAB 2.5 or 3.0 beta because there is upgrade function for my working 2.4.

MQTT will be the future. So why struggle with old solutions.

I installed MQTT and it seems to be the better solution for my idea.