Questions tagged [mqtt]

For questions regarding the MQTT messaging protocol.

Filter by
Sorted by
Tagged with
0 votes
0 answers
44 views

Import data from sensor into node-red

I’m doing a uni assignment on Iot, and we are doing a soil moisture system with a water pump. One stipulation is that we need to use Node-Red. List of components *MCP3008 8-channel ADC Raspberry Pi 4 *...
Jack Cerne-Plaatsman's user avatar
0 votes
1 answer
48 views

Send publications between two Raspberry Pis in different countries

I am looking to start a project where I can establish a communication between two RPis worldwide, basically to have a small distance relationship gadget (e.g. When i press a button on my RPi, the ...
ColChope's user avatar
1 vote
1 answer
401 views

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

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 ...
Phillip's user avatar
  • 19
1 vote
2 answers
863 views

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 ...
DrBwts's user avatar
  • 199
1 vote
1 answer
251 views

raspberry pico, circuitpython and how to receive mqtt feeds reliably while showing time on pico

I am building a clock using rpi pico, max7219 and wiznet5k. I am trying to incorporate mqtt functionality, in order to show important short messages to the max7219 every now and then. I have run into ...
thermike's user avatar
1 vote
1 answer
97 views

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://...
Avatarus's user avatar
1 vote
0 answers
238 views

How to set up communication between two Raspberry Pi without internet [closed]

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/...
Thegamer37000's user avatar
0 votes
0 answers
111 views

Run Blynk server, Mosquitto and Node-Red on RasPi Zero?

Never used a pi before so I'm not sure how powerful they are/how much can they run at the same time. (Yes, I obviously know that it depends on what you're running). I was wondering, is there a good ...
Randomaker's user avatar
0 votes
0 answers
124 views

which version mqttfx for installation on RPI 4

I want to install mqttfx on my RPI 4 (Buster) What is the right version and where can I download? Which java is necessary?
claus's user avatar
  • 1
0 votes
2 answers
312 views

Openssl error while installing paho-mqtt python package

I am trying to install paho-mqtt python library using below command: sudo pip3 install paho-mqtt But I am getting below openssl error: Looking in indexes: https://pypi.org/simple, https://www.piwheels....
S Andrew's user avatar
  • 450
0 votes
2 answers
602 views

Redirecting Traffic to local mqtt server

I am really confuse about how to redirect. I have 2 WLANs, one use to connect to the router(wln0) and one the I use as AP(wlan1). My aim is to redirect traffic from one client connected to the AP that ...
Elior's user avatar
  • 1
0 votes
1 answer
2k views

broken apt update due to change of sources.list

pi@raspberrypi:~ $ sudo apt update Get 1http://archive.raspberrypi.org/debian buster InRelease [32.6 kB] Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB] ...
Franva's user avatar
  • 141
1 vote
1 answer
348 views

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, ...
Franva's user avatar
  • 141
1 vote
0 answers
181 views

Problem using MQTT: published message will publish but won't receive

I wrote this code for controlling gpio pins everything is ok but i cant turn on or off gpio pins message will publish but it will not turn on or off gpio pins import paho.mqtt.client as mqtt import ...
Amirhosein Arabhaji's user avatar
-1 votes
1 answer
105 views

How to publish results on the Web from local MQTT non-Internet network?

I'm making a project where I have a local no-Internet MQTT network (scheme below). Devices (except for RPi 3B+) needs to work outside so I can't provide them Internet access. The purpose of RPi 3B+ ...
Elio Wok's user avatar
1 vote
1 answer
211 views

Does RaspAP lock the file system?

Quick question to help stop me from losing my mind. Does the standard install of RaspAP lock the file system to stop you from installing other services? Step 1. RaspAP installed and working fine. ...
Papasean's user avatar
0 votes
0 answers
401 views

Connection timed out error with MQTT connection with Raspberry Pi and ESP8266

When wanting to connect my raspberry pi to my esp8266 wirelessly through MQTT it gives a connection timed out error and I am not sure why. I have surfed throughout the internet and could not find ...
coder's user avatar
  • 17
0 votes
0 answers
226 views

Raspberry pi 4 Hostname always changing

I have a raspberry pi 4 with raspbian buster installed. I set the hostname using raspi-config to "myrpi". I can connect to it using ssh and it works fine. But after a few hours or so, the hostname ...
user3492268's user avatar
3 votes
2 answers
4k views

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 ...
Milliways's user avatar
  • 58.6k
2 votes
2 answers
2k views

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 ...
TamusJRoyce's user avatar
0 votes
0 answers
56 views

Using Pi as an intermediary between 2 LANs

I have one raspberry pi which is running Hassio (Home automation stuff). Normally I would just connect the devices I wanted to automate to home LAN but the problem is my wifi SSID & Password might ...
Curious66's user avatar
0 votes
1 answer
6k views

Understanding why .service is failing to start

I'm new to the Raspberry Pi, but have gotten mosquitto to work & a similar mosquitto service running on one pi, but when I try running it on another Pi I encounter an error. For context, the ...
Gallaugher's user avatar
0 votes
1 answer
170 views

Permision denied error using paho mqtt and Adafruit 32x32 led matrix

I am writing to you because I have the following problem: I have generated a code that allows controlling a 32x32 RGB led matrix through mqtt (AWS IoTCore) using a RPi Zero W with an Adafruit RGB ...
Jose Luis's user avatar
0 votes
0 answers
158 views

Unzip libwebsockets-1.22-chrome26-firefox18.tar.gz

I am trying to install libwebsockets into my RPi. I used the wget http://git.warmcat.com/cgi-bin/cgit/libwebsockets/snapshot/libwebsockets-1.3-chrome37-firefox30.tar.gz to download the file. but ...
Thiago Farias's user avatar
0 votes
0 answers
169 views

Connecting Computer without Internet to raspberry with Ethernet and send Information via MQTT

I'm trying to connect a Pc without internet with a Ethernet Cable to my Raspberry and want to send informations from the Computer to the Raspberry via MQTT. I searched trough the internet but ...
benipro98's user avatar
0 votes
0 answers
785 views

MQTT connection to broker

Hello I would like to configure paho mqtt but I am having trouble to get it to work properly. I am trying to connect my raspberry to external server where broker is up and running. Port and IP are ...
Mzw's user avatar
  • 41
0 votes
1 answer
858 views

Mosquitto log directory gets deleted

I have mosquitto MQTT broker installed on my raspberry (raspbian-stretch). Logs are stored in /var/log/mosquitto. The raspberry pi was now running for some days an the /var/log/mosquitto directory was ...
wewa's user avatar
  • 273
0 votes
1 answer
327 views

Unable to SSH after modifying /etc/rc.local

I am attempting to have a program load on boot and have successfully achieved my desired function by modifying the /etc/rc.local file and adding the following line - (sleep 15; python /home/pi/...
HobarGJ's user avatar
1 vote
3 answers
674 views

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 ...
Mr. B.'s user avatar
  • 111
0 votes
0 answers
61 views

Both local network and enterprise wifi connection on pi 3 running stretch

I am currently trying to build a monitor system with rpi, running stretch image, and a esp8266 nodemcu 1.0. I want to connect them using MQTT via a local network on a router. The Rpi is also connected ...
Kolibri's user avatar
0 votes
1 answer
507 views

mqtt on rpi zero w

I have rpi zero w system with below spec. system specifications: micro SD card slot, a mini HDMI port, two micro USB ports (one for power, one for USB), and 512MB of RAM. It has a single-core 700 MHz ...
3bu1's user avatar
  • 111
0 votes
0 answers
45 views

How to determine signal strength from an esp8266 module and a Rasberry Pi

I am trying to write a python script which will determine which of two esp8266 modules is closest to my raspberry pi. My setup is as followed: I am using a Raspberry pi 3 with the raspbian operating ...
apples92's user avatar
0 votes
1 answer
844 views

Does there exist an mqtt client that works with python 3.5 on raspbian stretch?

I have been using the paho-mqtt client successfully with python 2.7 on raspbian stretch, but I have a need to use python 3.5 on a new project and paho-mqtt does not appear to install or build for that ...
Alex Ryan's user avatar
  • 185
3 votes
2 answers
22k views

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 ...
ThN's user avatar
  • 1,015
0 votes
0 answers
614 views

How to collect data from server to LibreOffice Calc

I have Mosquitto and Node-Red installed on my Pi 3. I want to be able to log the data into a spreadsheet of some sort. Is there a way to do this with Calc or a spreadsheet of some sort on the Pi? The ...
oibdrew's user avatar
0 votes
1 answer
652 views

How to fix Python argument error

I have a little python script I got from here. It listens for MQTT messages and plays a .wav file when a topic is published to. However, I get this error when the script is run: TypeError: ...
Allen Jakpa's user avatar
-1 votes
2 answers
4k views

Trying to autorun Paho MQTT client script on boot up

I am running a Paho MQTT client on my raspberry pi (Stretch OS). This script recieves MQTT messages from a publisher script and then stores the data in a SQL database. As I added client.loop_forever() ...
Craver2000's user avatar
2 votes
2 answers
999 views

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's user avatar
2 votes
2 answers
1k views

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 ...
Jason Thomas's user avatar
0 votes
3 answers
3k views

Raspberry pi 3 connect to wi fi but can't connect to internet

I use "Raspbian jessie" on my raspberry, and I have configure it to connect to my wi-fi, but the strange thing is when I try to send data with Mqtt, I have this error : MqttException (0) - java.net....
Liz Lamperouge's user avatar
4 votes
1 answer
2k views

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 ...
cTurtle98's user avatar
3 votes
0 answers
217 views

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:/...
Jyoti Raj Sharma's user avatar
4 votes
1 answer
45k views

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::...
PBSDR's user avatar
  • 49
1 vote
2 answers
2k views

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? ...
user54848's user avatar
0 votes
1 answer
2k views

Problem with version MQTT

I am not a linux person. I know enough to break things. I have a pi, MQTT is working perfectly on that I set up all though I do not remember the exact steps (probably a lot of unneeded ones included)....
Spiked3's user avatar
  • 128