[SOLVED] String item not updating from TCP binding

Hello,

Please use code fences when posting, please…

Try:

rule “Test”
when
    Item amx received update "testString"
then
    amx.sendCommand(“String received!”)
end

Note that I have used the item method amx.sendCommand instead of the action sendCommand(String, String). It is recommended to use the method when you know what item to send a command to. Use the action only for some reserved cases like:

https://docs.openhab.org/configuration/rules-dsl.html#sendcommand-method-vs-action