[Need help] Textual IDE communication with onboard Cedalo MQTT Broker

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

Best reply by Akseer

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

ctrlx-ide to mqtt broker-testing.txt
1.27KB
View original
2 replies