38 votes
Accepted

When and why to use MQTT protocol?

MQTT is a "messenger" between devices: your device measures at time T a temperature of X degrees it connects (itself or via the zwave hub) to the MQTT broker it create a message with the topic /...
Goufalite's user avatar
  • 3,756
23 votes

When and why to use MQTT protocol?

MQ Telemetry Transport Protocol known as MQTT is designed for devices which run on low power and low bandwidth. It is a lightweight publish/subscribe messaging protocol which means any other device ...
bravokeyl's user avatar
  • 1,540
12 votes

When and why to use MQTT protocol?

MQTT (Message Queue Telemetry Transport) seems to be well suited for the proposed application. It is lightweight both with respect to bandwidth (smallest packet size with a header of just 2 bytes) ...
Ghanima's user avatar
  • 2,539
9 votes

Do I need to use MQTT or HTTP?

You mention a solar panel and battery as part of the device, so you probably want to minimise the power usage during transmissions to make sure your device doesn't run out of power completely. ...
Aurora0001's user avatar
  • 18.5k
9 votes

Can One-way SSL secure an IoT device?

SSL/TLS works well when the "server" is at known location (a fixed hostname) that can match the CN of the certificate it presents. This doesn't work well for device on home networks (e.g. most IoT ...
hardillb's user avatar
  • 12.6k
8 votes
Accepted

Can MQTT be used for queuing?

I'm not sure MQTT would really fit your needs well. MQTT has the concept of 'retained messages', kept by the server and sent to clients as soon as they connect. But you can only have one retained ...
Aurora0001's user avatar
  • 18.5k
8 votes

Do I need to use MQTT or HTTP?

If you are storing data, simply stick with HTTP. HTTP is just a one way signal. If your server or any other "thing" should react to a specific signal (low temperature,...) then use MQTT. Like this ...
Goufalite's user avatar
  • 3,756
7 votes

How can I prevent my device leaking sensitive data through traffic fingerprinting?

If the service you use can tolerate some latency, routing the traffic of your device through the TOR network would make the destination address impossible to determine for your ISP, and the source ...
Sylvain's user avatar
  • 563
6 votes

When and why to use MQTT protocol?

Here I wrote an article which shows and evolution in communications system we had in our project. It about micro-services, but you can consider any sensor to be micro-service with its job to gather ...
shal's user avatar
  • 796
6 votes

Syntax for using HTTP GET with ampersand and float

Parameters to an HTTP GET request are key/value pairs, separated by an ampersand & The key and value are separated by an equals sign. Your use of DeviceData=T=<value> breaks this rule. ...
Mawg's user avatar
  • 3,110
5 votes

Stream ADC values from ESP32 over http

From what you're asking, I believe you should use MQTT protocol, it seems to fit your architecture. You'll need to have a mqtt server/broker that will receive the data from the device and then send ...
YCN-'s user avatar
  • 473
5 votes

ESP8266 fast HTTP GET response rate

You should avoid lenghtly connection resets on your getPage( ) method by using Connection: Keep-Alive instead of Connection: Close That may save quite a lot.
mico's user avatar
  • 4,331
5 votes

How can I prevent my device leaking sensitive data through traffic fingerprinting?

For devices which are particularly sensitive, a good way to prevent someone from snooping the connection pattern is to generate spoof data, or intentionally skew the connection times (if data need not ...
Sean Houlihane's user avatar
4 votes

Can I use IRC protocol to talk to devices instead of HTTP? What are the pros and cons of it?

Neither IRC nor HTTP are really optimised for usage as IoT protocols (though they could, in theory, be used). What makes a protocol suitable for usage in the Internet of Things? It's difficult to say ...
Aurora0001's user avatar
  • 18.5k
4 votes
Accepted

How would I use HTTPS on the web-based device config running an access point and no internet access?

One possible option is to use HTTPS and ship a real certificate on the device: Since you control the access point you presumably control the DHCP server on the access point, so you can have it ...
hardillb's user avatar
  • 12.6k
4 votes
Accepted

How can I prevent my device leaking sensitive data through traffic fingerprinting?

What are the steps to the privacy leak described? Basically there are three parts in getting the information described in the paper. An interested party recording the outgoing traffic (2) Said party ...
Helmar's user avatar
  • 8,430
4 votes

How can I prevent my device leaking sensitive data through traffic fingerprinting?

While I like the use of TOR, you might not be able to configure every device to use it. The simplest way would be to do something at the router, where all traffic, from all devices, enters and exits ...
Mawg's user avatar
  • 3,110
4 votes

Can MQTT be used for queuing?

I agree to Aurora's answer—there may be better solutions to implement queue instead of MQTT, but still in MQTT it is absolutely possible. You need MQTT broker and clean=false (in MQTT 3.x) or with ...
shal's user avatar
  • 796
4 votes
Accepted

How to make a MQTT Broker and a REST API communicate?

Here's one way: The actual business logic of your system would have a certain API. That API needs to have some doXYZ methods, some getXYZ methods and some events of onXYZ. What I'm assuming you're ...
kalyanswaroop's user avatar
3 votes

Which IoT platform to visualize real-time and historical sensor data?

I would recommend NodeRed .Simple drag and drop visual programming by IBM based on Nodejs .NodeRed can be installed easily using npm (package manager in Nodejs sililar to pip for python).Please read ...
Amrith's user avatar
  • 63
3 votes

Can I use IRC protocol to talk to devices instead of HTTP? What are the pros and cons of it?

Yes, it is possible. I have done it before, and there are a few (but not many) situations where using IRC is a good idea. An example deployment I have done many years ago was a monitoring system for ...
George Y.'s user avatar
  • 456
3 votes

HTTPS inside a LAN

HTTPS won’t change a thing for your target scenario, it is designed to protect communication between the client and server, any intrusion in your system would be outside of its scope. The only thing ...
jcaron's user avatar
  • 2,283
2 votes

When and why to use MQTT protocol?

why and when to use MQTT: When you have a server capable to run MQTT Broker/server (obviously). You can install on raspberry pi or compile Erlang MQTT broker on any other SBC with ARM linux. When you ...
izzulmakin's user avatar
2 votes

When and why to use MQTT protocol?

Regarding to your quote MQTT is the "protocol of Internet of Things": Yes, there is a great amount of developers using this protocol (see IoT Developer Survey 2018) but CoAP (it's HTTP adjusted for ...
Pepe Bellin's user avatar
2 votes

Can I use IRC protocol to talk to devices instead of HTTP? What are the pros and cons of it?

To generalise a little more, IoT has a few general constraints/characteristics which will apply to many but not all use cases: Potentially many endpoints Communicate over an insecure or snoopable ...
Sean Houlihane's user avatar
2 votes

Which IoT platform to visualize real-time and historical sensor data?

Another option is ThingSpeak: https://thingspeak.com/ This platform allows you to send data using http request and visualise in graphic yous sensors. Besides, you can create 'alerts' to send a ...
CGG's user avatar
  • 590
2 votes

Which certificate to embed into ESP32?

You've not said if you want to do client authentication via certificate as well as the usual server validation. Assuming just server validation then you need to include the Certificate Authority ...
hardillb's user avatar
  • 12.6k
2 votes
Accepted

(how) can 802.15 access the internet?

You need a bridge/gateway. From what little I remember from looking at LPWAN Zigbee networks a LONG time ago and assuming I've not got the wrong end of the stick... Something that will change the ...
hardillb's user avatar
  • 12.6k
2 votes

Which IoT platform to visualize real-time and historical sensor data?

You can use ubidots platform for data visualization. It provides very good graphical representation of your data.
Akshay shinde's user avatar
2 votes
Accepted

Can I send messages from LORIOT to an HTTP web server?

On TTN console: create a new application within the application select "integration > webhooks" finally specify the URL of you application server For more details please check the this ...
Norbert Herbert's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible