Thanks Daniel for response
Concept of mqtt I understand but when I try use it on lm it not works (I don't know what I am doing wrong). I've tried this also on demo LM with script from this post:
https://forum.logicmachine.net/showthrea...9#pid16879
I've created client script which connects to broker, but before login there is a problem with simple connection with broker:
http://4n.lv:7999/scada-main/main/editor?id=13
'mqtt connect failed Connection refused'
I don't know what is the current state of broker, app is theoretically installed.
So this is why I've asked about simple publisher-subscriber-broker example which I can copy paste and it should work. Now I don't know why this is not working. This is on the same device.
Probably there is a problem with MQTT Broker app. I've added user but after refresh it is not visible in list and no error. Same with setting 'Enable MQTT broker without encryption' and '...with encryption'
Concept of mqtt I understand but when I try use it on lm it not works (I don't know what I am doing wrong). I've tried this also on demo LM with script from this post:
https://forum.logicmachine.net/showthrea...9#pid16879
I've created client script which connects to broker, but before login there is a problem with simple connection with broker:
http://4n.lv:7999/scada-main/main/editor?id=13
'mqtt connect failed Connection refused'
I don't know what is the current state of broker, app is theoretically installed.
So this is why I've asked about simple publisher-subscriber-broker example which I can copy paste and it should work. Now I don't know why this is not working. This is on the same device.
Probably there is a problem with MQTT Broker app. I've added user but after refresh it is not visible in list and no error. Same with setting 'Enable MQTT broker without encryption' and '...with encryption'
Done is better than perfect