Click here to Skip to main content
15,893,588 members
Everything / Mqtt

Mqtt

mqtt

Great Reads

by Mike Hankey
Configuring the Raspberry Pi as an MQTT message broker using Mosquitto.
by Kel_
Building a financial stock explorer app using open-source emitter publish/subscribe, Go and Javascript.
by Sean Ewington
In this article, I will show you how to install Home Assistant Container on Windows, using Docker and Portainer, get it working with Agent DVR, and send an MQTT message from Agent DVR using CodeProject.AI Server to detect a person.
by Intel
This article provides general guidelines for connecting any Intel® Internet of Things (IoT) devices (that is, devices that support Intel microcontrollers, such as the Intel® Edison board and the Intel® Curie™ Compute Module) and Intel gateways to the Amazon Web Servives (AWS) IoT platform.

Latest Articles

by Sean Ewington
In this article, I will show you how to install Home Assistant Container on Windows, using Docker and Portainer, get it working with Agent DVR, and send an MQTT message from Agent DVR using CodeProject.AI Server to detect a person.
by Kel_
Building a financial stock explorer app using open-source emitter publish/subscribe, Go and Javascript.
by Kel_
Demonstrates how you can track online presence of devices or users using emitter.io platform
by Grasshopper.iics, Moumita Das
Agricultural field monitoring and control is also possible using IoT sensor network

All Articles

Sort by Score

Mqtt 

17 Jun 2016 by Mike Hankey
Configuring the Raspberry Pi as an MQTT message broker using Mosquitto.
3 Dec 2016 by Kel_
Building a financial stock explorer app using open-source emitter publish/subscribe, Go and Javascript.
1 Feb 2023 by Sean Ewington
In this article, I will show you how to install Home Assistant Container on Windows, using Docker and Portainer, get it working with Agent DVR, and send an MQTT message from Agent DVR using CodeProject.AI Server to detect a person.
20 Jun 2016 by Intel
This article provides general guidelines for connecting any Intel® Internet of Things (IoT) devices (that is, devices that support Intel microcontrollers, such as the Intel® Edison board and the Intel® Curie™ Compute Module) and Intel gateways to the Amazon Web Servives (AWS) IoT platform.
22 Aug 2016 by Kel_
Demonstrates how you can track online presence of devices or users using emitter.io platform
20 Jun 2016 by Intel
This article provides general guidelines for connecting any Intel Internet of Things (IoT) devices (that is, devices that support Intel microcontrollers like the Intel® Edison board and the Intel® Curie™ Compute Module) and Intel® IoT Gateways to the Microsoft Azure IoT Suite.
3 Jun 2016 by hasan hadi
I resolve this problemthis information to install mosquittolib with php in raspberrywget http://repo.mosquitto.org/debian/mosquitto-repo.gpg.keysudo apt-key add mosquitto-repo.gpg.keycd /etc/apt/sources.list.d/sudo wget...
21 Dec 2017 by Matt Comb
Make sure in your startup code for the windows service that you are keeping a reference of any key objects (e.g. control classes) so that they don't get immediately disposed again once the scope leaves the start event.
17 May 2016 by Intel
This article provides a step-by-step guide to show you how to set up a connection to Amazon Web Services (AWS) IoT using MQTT, as well as command and code samples for additional setup and ease of use.
25 Dec 2016 by Member 11859517
hello,I am using HiveMQ broker to publish and subscribe. so I created wpf application to get the message it working fine.and same thing I tried with ASP.net But it not working. while debugging I am able to get the data but not displaying it on form. Is there any other way to do this on web...
13 Jun 2017 by Faris Karcic
Hello, so I'm junior programmer and I'm pretty much having hard time to figure this out by myself. I'm creating IoT web application based on MVC 5, with Code First database approach which does next things: - Communicate with sensors over MQTT protocol (mosquitto broker) - Shows values and some...
15 Apr 2018 by ranio
I want to incorporate traffic parrot related to MQ in c# application. Currently I am using MQ interface and connect with the credentials as configured. After which put the request and want to get the response using traffic parrot . What I have tried: private void btnConnect_Click(object...
17 Apr 2018 by ranio
I am getting MQ exception of 2035 while connecting via MQ Explorer in c#. I connected using MQ Queue Manager,Queue, Server Channel and Client Channel,Connection Name etc and created client and server instances using MQ Explorer 7.5 Version. I am getting error code 2035 showing that is...
8 Jun 2018 by Jochen Arndt
This can't be answered based on the posted code because that is incomplete. You should at least check for exceptions and report them to know where and when the application terminates and to get meaningful error messages. If that does not help you have to run it within a debugger. Read also the...
17 Aug 2018 by Member 13952559
My Makefile: HEADERS = headers.h macros.h main.h socket.h main.o : main.c main.h cc -c main.c socket.o : socket.c headers.h macros.h cc -c socket.c main.c #include "main.h" main() { printf("%s\n","Connect_Socket Start"); Connect_Socket(IP_ADDRESS, PORT); printf("%s\n","Connect_Socket...
17 Aug 2018 by OriginalGriff
Ata guess - and without your computer to hand that's all it can be - you don't get the output because the app is too busy connecting the socket to update the display. Try adding a user input after the printf and see what happens.
17 Aug 2018 by Jochen Arndt
Executing make will build the target according to the specifed rules. But it will not execute the created application. To do that after a successful build do it like you have done with manually compiling: type the name of the executable at the shell prompt ./mqtt_c8y
5 Mar 2019 by MadMyche
Haven't use any of the libraries so I cannot vouch for it; but this is 2 clicks away from Google results for MQTT library C# M2Mqtt & GnatMQ | MQTT Client Library & Broker for .Net platform[^]
4 Nov 2019 by OriginalGriff
Google is your friend: Be nice and visit him often. He can answer questions a lot more quickly than posting them here... A very quick search using your subject as the search term gave over 100,000 hits: create simple MQTT with C - Google Search[^] In future, please try to do at least basic...
4 Nov 2019 by RickZeeland
Here is a nice article: https://dzone.com/articles/mqtt-publishing-and-subscribing-messages-to-mqtt-b[^]
5 Nov 2019 by Eliatrope
Hello, try this library GitHub - eclipse/paho.mqtt.m2mqtt[^]
8 Jun 2021 by Stefen20000
Hi, I am new to shell scripting and MQTT. I need to publish a `JSON file` using `MQTT`. We can do it by storing the JSON contents in a `shell variable` and then using it in MQTT publish command. But it is not working for me. Please help me out...
8 Jun 2021 by QuantumPlumber
I think the outer enclosing set of double quotes in your var1=.... statement might need to be single quotes (I assume the triple-quotes are just there for show and not what you actually typed). I have no familiarity with mosquitto but have had a...
4 Aug 2021 by OriginalGriff
Um ... are you sure about that IP address? 127.0.0.1 is the loopback IP address also called "localhost". The address is used to establish an IP connection to the same machine or computer being used by the end-user. So it's unlikely to be the one...
10 Aug 2021 by Digital World
I am trying to display the single element of json data on screen and this data comes from hivemq MQTT. When I was tried this part in python it was not working but when I tried to display all data on screen at that time it was working and...
10 Aug 2021 by Richard MacCutchan
See json — JSON encoder and decoder — Python 3.9.6 documentation[^]
29 Jan 2024 by JC 2024
I want to use line bot and mqtt to control the light. I want to send a message to line bot, then line bot will determine whether it is on or off. After that, line bot will send a command to mqtt, then it can control the light. The problem is that...
6 Aug 2016 by Grasshopper.iics, Moumita Das
Agricultural field monitoring and control is also possible using IoT sensor network
20 Jun 2016 by Intel
When you connect Internet of Things (IoT) devices (devices that support Intel microcontrollers such as the Intel® Edison board, Intel® Curie™ Compute Module, and Intel® IoT gateways) to the IBM Watson* IoT Platform, you can rapidly build IoT apps that realize your IoT use case.
17 May 2016 by Intel
This article provides a step-by-step guide to show you how to set up a connection to IBM Bluemix using MQTT, as well as command and code samples for additional setup and ease of use.
3 Jun 2016 by hasan hadi
HII install PHP client for MQTT using Mosquitto-PHPLibrary in raspberry mosquitto php library/[^]after that create pub.php in /var/www/html/mqtt when write in browser http://210.201.4.120/mqtt/pup.php and no see any dataI then tried$mosquitto_pub -h localhost -t "/mqtt" -m...
21 Dec 2017 by Member 11790928
I am running a windows service which is subscribing for a "XYZ" topic to a MQTT broker. Service also contains MessagePublishReceived Event which is logging the received message from Mqtt Broker. I am able to run this windows service but the problem i am facing is the MessagePublishReceived event...
8 Jun 2018 by Member 11790928
I have created the console application which subscribes to multiple topics to the MQTT Broker. I have registered MqttMsgPublishedReceived even which triggers whenever there is a new data on the subscribed topic. The application is running properly for a single subscription. But when I tried to...
4 May 2020 by Roman Gaisin
Please help! Is there any MQTT library (not MQTTDotNet - it doesnt work) for VB.Net or C#.Net ? What I have tried: MQTTDotNet doesn't work. I tried to use it with mqtt cloud server and custom server, every time i had an exeption with connection error to server as mqtt:\\. With tcp:\\ program...
6 May 2020 by Bessem Bousselmi
I have written an example code vb.net with all the basic features MQTT Client using M2Mqtt library MQTTBasic[^] Hope it is useful to everyone
4 Aug 2021 by Mohammed Khalifa 2021
I have done socket programming in python for my TCP based device now I want to send data to mqtt broker from this socket program so I tried to do my program like this but I am not able to connect to the broker can anyone help me to find out what...