Okay, I did some experiments OH 2.4, TCPUDP binding 1.13
Test dummy, with no bindings
String testUDP "my test [%s]"
testUDP.sendCommand("banana")
, events.log -
2019-11-29 20:33:25.247 [ome.event.ItemCommandEvent] - Item 'testUDP' received command banana
2019-11-29 20:33:25.264 [vent.ItemStateChangedEvent] - testUDP changed from NULL to banana
I got a surprise - no ‘predicted’ announcement. Never noticed that before, I guess autoupdate only announces if there are binding links? Does announce on other Items that do have links.
Anyway, autoupdate does do the command -> state update thing okay.
Added listen-only binding
String testUDP "my test [%s]" {udp="<[10.10.1.21:1001:default]"}
testUDP.sendCommand("banana")
openhab.log
2019-11-29 21:12:44.537 [WARN ] [g.tcp.AbstractDatagramChannelBinding] - There is no channel that services [itemName=testUDP, command=rhubarb]
Okay, we expected the WARN now for a command we have no config for. Nuisance value only.
events.log
2019-11-29 21:12:44.532 [ome.event.ItemCommandEvent] - Item 'testUDP' received command rhubarb
2019-11-29 21:12:44.553 [vent.ItemStateChangedEvent] - testUDP changed from banana to rhubarb
Okay, no ‘prediction’ - maybe that’s only if 2.x bindings involved? - but autoupdate has still done its thing.
That’s different to what you saw… but I think maybe you just omitted the changed event from your test items event log?
I now recognize the absence of ‘predicted’ here as a red herring.