Questions tagged [paho]

For questions regarding Eclipse Paho project, that provides open-source client implementations of MQTT and MQTT-SN messaging protocols aimed at applications for the IoT.

6 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
1answer
1k views

MQTT subscribing is not working

I am working to connect my server to the clients via an MQTT broker. The MQTT client gets connected. But after publishing a message, the subscribe code receives a connection acknowledgment. The ...
5
votes
0answers
234 views

Offline messages not being send to Adafruit IoT portal by Mosquitto broker

I have a Raspberry Pi in which I have installed Mosquitto broker and MQTT. Pi is connected to sensor and I need to send this data to Adafruit IoT protal. I am able to send all the data when the Pi is ...
4
votes
0answers
1k views

Paho MQTT connect() fails ungracefully if internet connection not ready, can't trap the exception

My python script turns on the Raspberry Pi's WiFi and after a short delay tries to connect with Paho MQTT. If the delay isn't long enough, it fails ungracefully. I'm using paho-mqtt version 1.4.1 ...
1
vote
0answers
68 views

Receiving MQTT publishes as files with paho

So far, I've been able to use a python script with the paho library to subscribe to a topic, and to write a single incoming message into a file. In this way, I've been able to send text files and ...
1
vote
0answers
67 views

Paho-mqtt max clients

I have a question regarding mqtt-paho and the possibility to create 10K clients using multiprocessing based process. This is my code for now (I am using multi-processing based process to create ...
1
vote
0answers
468 views

Why is Mosquitto broker and Paho client running CPU 100% on connection?

I would like to use the mosquitto MQTT broker using Websockets. I am running mosquitto version 1.6.2 on a Debian 8 server. "normal" MQTT works fine, but I am having a problem trying to connect using ...