FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
04-18-2023 04:45 PM
Hi,
I am trying to publish the some data in the MQTT Broker tree from the Textual IDE. This can be done via Node-RED as well, but I am trying to do from the Textual IDE.
Please see the example below. It's showing a "self-signed certificate error".
Is there any example for this approach? Thanks
Regards
Akseer Ali Mirani
Solved! Go to Solution.
04-18-2023 06:58 PM
Hi,
I have just updated the code and it's working. See the screenshot below.
If anyone want to test it, use the code attached to this chat. Copy & paste it in your Textual IDE and update the broker address, username, password, and client ID.
I am now trying to use the self signed certificates which I have created using openssl. So far it's showing "certificate verify failed" error.
If anyone has worked around in a similar case, please let me know.
Regards
04-19-2023 10:36 AM
Hi,
Sorry the picture in the last message is showing the output generated from python IDE interpreter, not from script engine. Please let me know in case anyone know. Also, when I run this in script engine, it's showing below error.