19.05.2023, 10:24
This is done to prevent a possible loop when the same object is mapped to the same topic in both directions.
You can remove this check like this:
You can remove this check like this:
Code:
function publishvalue(event)
-- message from us or client is not connected
-- if event.sender == 'mq' or not mclientfd then
if not mclientfd then
return
end