Questions tagged [mqtt]

For questions concerning the MQTT messaging protocol, a lightweight TCP/IP-based system for machine-to-machine communication.

28 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
9
votes
0answers
354 views

Mosquito MQTT Thingsboard and Thingsboard IoT-gateway on same server

It would be much appreciated if someone could tell me the settings to run Mosquito MQTT and Thingsboard with Thingsboard IoT-gateway on the same server. Mosquito is receiving on port 1883 which is ...
7
votes
0answers
309 views

Tasker MQTT to adafruit.io unreliable, how do I troubleshoot?

Overview I'm running Tasker on my Android phone in an attempt to control lights in my apartment through MQTT via adafruit.io. It works, sometimes. I want to make it work every time, but I don't know ...
6
votes
0answers
108 views

Moquette MQTT server more than 1024 connections

Anyone know what the configurations are which allow moquette to service more than 1024 connections? None of the files in config/ seem to help. Even though our "open file" limit is much higher for the ...
6
votes
0answers
277 views

Issue with Google IoT MQTT bridge

We have an IoT based application device which is configured to communication with our Dashboard via MQTT bridge from Various service providers like Google, AWS and Azure. So the flow is, Device ...
5
votes
0answers
48 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
269 views

How to monitor extra MQTT information with Home Assistant?

I am thinking out the software part of my home automation and was planning to use: MQTT as a backbone (this is a requirement as all my devices (ESPURNA based switches or my own devices) use MQTT as ...
5
votes
0answers
95 views

What are the hubs for non-WiFi, DIY/open/hackable devices?

I would like to future-proof my home automation architecture Today, I have a very decentralized setup: an MQTT broker (Mosquitto) WiFi switches: two on-the-wire ones (Sonoff Basic) and one wall ...
5
votes
1answer
161 views

Deploy Scripts to AWS-Greengrass without AWS-Lambda

Is it possible to deploy to Greengrass from another source besides Lambda? Could I possibly connect to AWS-Greengrass with a client like MQTT.fx and deploy scripts to it? I have tried several times ...
5
votes
0answers
197 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
42 views

Advice for building a home automation system

I am not sure what technologies to use in order to build an IoT system for my home. I have a few sensors and some other devices that need to be controlled (like a doorlock) placed in my house. All ...
4
votes
0answers
220 views

Node red MQTT node cannot connect to Azure IoT Hub

I am aware that there is Azure IoT Hub palette in Node-red, which is specifically designed to interact with Azure IoT Hub. I tried that and it worked fine most of the time. However, due to an ...
4
votes
0answers
466 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 ...
4
votes
0answers
37 views

Read I²C Sensor via openHAB

I am using a voltage sensor which communicates over I²C, a Python script is handling all the communication and logic in a Raspberry Pi. Since I want to switch to openHAB I am wondering how to read ...
4
votes
0answers
203 views

MQTT with TLS for TI CC3200 fails with 'Bad CA file' error

This topic seems to pop up everywhere but, without a conclusion as to how to get MQTT-TLS for CC3200 running. So, here goes one more. Goal Connect TI CC3200 board to AWS IoT broker via TLS. Steps ...
4
votes
0answers
49 views

Job / Run Loop manager for embedded device?

I'm in process of creating an IoT Prototype which runs (currently) on ARM processor with Embedded Linux. I'm trying to use existing technologies as much as possible: for example MQTT for external ...
4
votes
0answers
87 views

Any real-world HomeWSN deployments?

I searched for "MQTT Rules Engine", and came across the HomeWSN project. It looks like it's almost trying to be a home automation system based on MQTT messaging, which could be very useful. Has ...
3
votes
1answer
58 views

How can I use Raspberry Pi to communicate with my Z-Wave gateway?

I am quite new to Z-Wave. I have a gateway, 2 z-wave sockets and 3 light switches. Everything comes from Keemple brand if that helps. However, using Keemple I cannot automate things the way I would ...
2
votes
0answers
21 views

Scalability: CoAP vs. MQTT-SN

Which of these protocols is better in scalability? In terms of security, QoS and LLN are only small differences. It would even say, they are very similar to each other. But how is the performance in ...
2
votes
0answers
10 views

Create Light Switch with HAP-NodeJS, MQTT and fail safe

I'm trying to get into setting up my own home automation. I've already setup HAP-NodeJS & MQTT on a raspberry and I've flashed a esp01 with NodeMCU. What I want to do is create a light switch ...
2
votes
0answers
66 views

Does MQTT inresponse can cause a reset due to network activity?

Setup description: I have 8 ESP8266s running an Arduino code to control windows shades up and down using relays, local switches and MQTT for remote operation, which work OK for the past few weeks. ...
2
votes
0answers
392 views

Mosquitto service won't start

I have an AWS EC2, Ubuntu-16.04 instance where Mosquitto is installed. I noticed that, the mosquitto process dies out and nothing apparent seems to be appear in the log /var/log/mosquitto/mosquitto....
2
votes
0answers
875 views

Internet of Things: ThingsBoard.io

I am in a middle of an IOT project. I have to design the dashboard. I am facing difficulties in setting up the dashboard. I am using thingsboard.io I want to know how to send data from thingsboard ...
1
vote
0answers
24 views

Is Firebase a valid replacement for MQTT?

I wonder if the realtime techology of Firebase (Either Cloud Firestore or Realtime Database) is a valid workaround for MQTT, for avoiding the broker link. We must bear in mind that the system could be ...
1
vote
0answers
34 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 ...
1
vote
0answers
66 views

Change Cloud URL using SimpleLink App for TI CC3200 SensorTags

I have some TI CC3200 Sensortags WiFi which I want to use out-of-the-box (without programming anything) Purpose I want to send the sensor information from the sensortags to an MQTT broker running on ...
1
vote
0answers
330 views

How to send data to broker from arduino, sim808 using mqtt protocol

I want to send data from my arduino ATmega2560,sim808 using mqtt protocol. By executing my code, successfully connected to broker but couldn't publish message. #include "Arduino.h" int led = 13; ...
0
votes
0answers
18 views

is it possible to add devices via Android app by a user using google AUTH API in Google Iot core

I am trying to make an app in which the user can login via google and then add devices (multiple but will have same telemetry data fields) so that user can click (/touch) on each field and view the ...
0
votes
0answers
44 views

Digital Gauge Widget not showing live reading of device in thingsboard Dashboard

I am following getting started guide of ThingsBoard. In their getting started tutorial, I was instructed to run demo-tool.js file from here. It will send the random value of humidity and temperature. ...