Questions tagged [mqtt]

For questions regarding the MQTT messaging protocol.

MQTT (Message Queuing Telemetry Transport) is a publish / subscribe messaging protocol designed for lightweight, low bandwidth applications.

46 questions
4
votes
1 answer

mosquitto running as service does not work but manually does

if I run mosquitto manually mosquitto i can connect to it and everything works perfectly but if I run mosquitto as a service sudo service mosquitto start then it doesen't respond and nothing works even though sudo service mosquitto status says its…
cTurtle98
  • 41
  • 3
4
votes
1 answer

What is my MQTT Ip Adress?

I installed the Mosquitto MQTT on my Pi and I want to test it on my Windows via Putty. What is my MQTT server IP address and port ? I tried ifconfig but it shows: inet addr : as hex like fe80::465d.... etc.
PBSDR
  • 49
  • 1
  • 1
  • 2
3
votes
2 answers

How to upgrade Mosquitto MQTT to the latest version?

Right now I have 1.3.4 Mosquitto Version installed from the repository on my PI. Current version is 1.4.15. So, how do I go about upgrading my Mosquitto MQTT to the latest version on my PI? I looked around on the Internet, but I can't seem to really…
ThN
  • 1,081
  • 6
  • 22
  • 37
3
votes
0 answers

MQTT TLS not working in Raspberry Pi3

Has anybody got MQTT with TLS working in Pi3 ? If so, please help me to fix my problem.I am using MQTT 1.4 version. I did following steps- I generated both client and server cert files as per https://mosquitto.org/man/mosquitto-tls-7.html. I am…
Jyoti Raj Sharma
  • 141
  • 1
  • 2
  • 7
3
votes
2 answers

Reliable temperature/humidity logging with Python and a DHT11

There are more than 100 questions on this site concerning DHT11 or DHT22 sensors and I have used these with Python and c code using various libraries. None that I have tried seem to give reliable consistent results. I have been using the Adafruit…
Milliways
  • 62,573
  • 32
  • 113
  • 225
2
votes
2 answers

Paho MQTT: Error during autorun

I am trying to run a Python script on startup. I followed this guide from Instructibles on setting up a cron job. It returns the following error in the logs: File "IoTTest.py", line 58, in…
franco phong
  • 121
  • 2
2
votes
2 answers

Cant solve dependency issues with Raspberry Pi 3 (raspbian stretch) and MQTT/IBM-Watson

I've been trying to fix this problem for 3 straight days now and I gets no love on the issue. I'm trying to install mosquito and IBM Watson On my Raspberry Pi 3 and there's an issue with the raspbian stretch OS. It seems like this would be solved a…
2
votes
2 answers

avahi, zeroconf, mdns + mqtt network

I am new to avahi. And I am not sure how to build a dns-like local area network where all devices can communicate over a mqtt gateway. I am probably wrong. But it seems to me I want to have a unique name for each raspberry pi device on my network.…
TamusJRoyce
  • 135
  • 1
  • 9
1
vote
3 answers

VNC: how to manage a fleet of RPi?

I've to manage 50 Raspberry Pis remotely, e.g. via VNC over the web. The RPis are behind a router, so I can't access them by IP. I'm looking for something like a self-hosted TeamViewer. The desired setup would be something like: Server reachable…
Mr. B.
  • 111
  • 3
1
vote
2 answers

Sending JSON data to Amazon MQTT via GSM module

I want to send some JSON data to an MQTT topic on Amazon IOT. I can send using the Raspberr Pi WiFi adapter, but I want to send using any GSM module. Is there any way or advice on how to do this? Regards
user54848
  • 11
  • 2
1
vote
1 answer

umqtt.simple returning Error: [Errno 103] ECONNABORTED when publishing to mosquitto broker on windows 10

My problem: When attempting to send sensor data from Pico W using umqtt.simple to a Windows machine on my network running mosquitto, I can connect to the network but not to the mosquitto broker. I get the error: Error: [Errno 103] ECONNABORTED My…
Phillip
  • 19
  • 1
1
vote
2 answers

Raspberry Pi actively refusing connection

I'm using Eclipse's Paho MQTT library to stream DAQ data to a PC. It all works fine using the cloud based Eclipse test broker over WiFi. Unfortunately my application will be in a place where there is no WiFi available. So I'm trying to do this…
DrBwts
  • 199
  • 3
  • 14
1
vote
1 answer

Install aquarea2mqtt on Raspberry Pi

Im new on Linux/Raspberry Pi and I have some problem with installing program from a file. Can You help me with that? I need this project implemented in my Home Assistant (to view my heat pomp) https://github.com/lsochanowski/Aquarea2mqtt It has EXE,…
Avatarus
  • 13
  • 3
1
vote
0 answers

How to set up communication between two Raspberry Pi without internet

I was trying to learn how to set up communication between two raspberry pi in close proximity in a remote area without a router. I am new to raspberry pi and started trying to figure out MQTT/Mosquitto but upon further research, I think that MQTT…
1
vote
1 answer

Cannot connect RabbitMQ server from client side

I followed this link to install RabbitMQ server on my Raspberry Pi 4. I can see that RabbitMQ 3.7.8 and Erlang 21.2.6 are installed. But I cannot connect to the server from a client (Mqtt Dash, Android app) Can someone share some ideas? Update…
Franva
  • 141
  • 9
1
2 3 4