Serial binding, how to keep receiving and sending data seperately

Hi all,
I’m running openHAB 4.2 on a RPI (Openhabian).

Basic question: Is it possible with the serial binding to keep receiving and sending separately? With some effort, I have configured my serial binding to control the hi-fi. For most actions, sending a command will result in it being executed on the hi-fi. A special case is the command to inquire about the status of the hi-fi, which requires a response.

Currently, there is a trigger on the string from the serial binding, but this also fires when I send something to the item connected to the serial binding. In one instance, the pattern is similar for both incoming and outgoing data.

Is there an easy way to keep them separate? Could postUpdate be a solution for sending data, where the item string trigger is not activated, but the trigger for actual sending still is? I’ve also seen autoupdate="false", but I don’t think that will solve this issue.

Thanks, Pieter

I don’t know the ins and outs of the Serial binding, but I can answer these questions:

No because an update sent to an Item never makes it to the binding. Updates are used to update the state of an Item internal to OH. They never go out to the device.

It won’t. Autoupdate is a service that gets activated on a command sent to an Item, and it predicts what state the Item will be become in response to the command. This is needed in cases where the end devices do not immediately report their new state after processing a command, take a long time to do so, or the Item isn’t even connected to a device. It’s enabled by default. Disabling it just means that OH will wait for the binding to update the Item and not try to predict and update the Item for you.