shresth
January 24, 2023, 5:28am
#1
Hi,
I am trying to connect and publish data from python mqtt paho to openremote with localhost. Also I follow the link Using Python to communicate with OpenRemote using MQTT (paho-MQTT) .
Also follow the link to create asset. I have succesfully tested the mqtt connection with MQTT Explorer. now i want to connect with code.
Hi all,
I want to share a short guide a student has made while she was working on a project using OpenRemote. All credits go to Nina Taken and her team for creating a wonderful project (video will come soon) and this guide.
MQTT-OpenRemote.pdf (488.3 KB)
They connected an ESP32 with sensors to monitor soil and air conditions for plants to OpenRemote. She used paho-MQTT as MQTT client in Python to connect to our broker. I hope it will be helpful for some of you!
If you have any questions I wi…
but i am not able to connect unable to connect our (localhost) openremote with paho.
so have you any idea where i am doing mistakes.
Thank you
Rich
February 1, 2023, 4:56pm
#2
If you are trying to connect to an OpenRemote instance that is using the self signed TLS certificate then you probably need to disable strict SSL/TLS in your client code or load in the self signed certificate so your client can validate it:
Denis
February 2, 2023, 8:29pm
#3
Port 1883 isn‘t free by default, if you want to use this port, you have to add it to the docker-compose.