Questions tagged [communication]

For questions relating to protocol-independent communication methods between user and machine as well as between machines within the IoT ecosystem.

Filter by
Sorted by
Tagged with
23
votes
1answer
613 views

Is CoAP still used for IoT devices?

I did a prototype project for work a few years ago that utilized the Constrained Application Protocol (CoAP) for communicating with an Arduino board over a mesh network, but we put the brakes on the ...
18
votes
2answers
21k views

What is the difference between MQTT and Web Sockets, and when should I use them?

What are the major differences between MQTT and Web Sockets? When using IoT for home automation - control and monitoring access over different devices, which one of them should be used when Rest API ...
15
votes
3answers
4k views

How can I easily configure Wi-Fi on a smart device without a screen?

I'm making an IoT device that will serve a web app over WiFi which can be accessed to control it. I would like to make it easy to set up. For example, the easiest way I can imagine is as follows; all ...
14
votes
3answers
797 views

Is Bluetooth 3.0 suitable for a single-master multiple-slave network?

I have a data logger board with a SIM808 on it. It has Bluetooth 3.0 capability by the SIM808. The board itself implements a battery management system, capable of performing weight, humidity and ...
14
votes
2answers
2k views

How can a device get the SSID and Password of my Network without WPS?

I'm studying ways to make an IoT device access an user´s wifi network. I know about the WPS way, where the device 'broadcast' a signal and the router, after being commanded to listen, 'receive' it and ...
14
votes
2answers
301 views

What Messaging Type can be used for Cellular Network Oriented IoT Protocols?

This came to my attention recently when I found an amazing video on Youtube by: Micheal E. Anderson: Comparing Messaging Techniques for the IoT, OpenIoTSummit, Linux Foundation. The slides for his ...
13
votes
1answer
976 views

How does an Azure IoT Hub interact with Embedded/IoT devices?

I am working on the Azure IoT platform, and I understand how devices send data to the IoT hub (if I am not wrong, It is just web service call or something similar to that). But I wonder how the IoT ...
10
votes
3answers
573 views

Does XMPP have a large overhead for IoT devices sending short, frequent messages?

I've been reading about XMPP as a potential communications protocol for IoT devices but, after reading one source, I'm unsure whether it's really an appropriate protocol if you're concerned about ...
10
votes
1answer
1k views

Non-IP device Communication Protocols

I have a question about Non-IP device communication. From my research, I learnt CoAP and DDS can be used for Device-to-Device communication. MQTT is useful for Device-to-Gateway or Device-to-Service ...
9
votes
2answers
510 views

How do car insurance tracking devices connect to the internet?

There are these devices that you can plug into your car and the insurance company can get real time data to "lower" your insurance cost. Image from U.S.News, 2016. How do they connect to ...
9
votes
2answers
322 views

Is there a way to preserve the MQTT QoS level until it reaches the client?

MQTT allows senders to set a Quality of Service (QoS) level, which provides certain guarantees about whether a message will be received (and whether duplicates are permitted). This article from HiveMQ ...
9
votes
1answer
969 views

Is there any way to access local server from outside without port forwarding? [duplicate]

Situation I need to access an ESP8266's Wi-Fi local server from outside. Like Xiaomi Yeelight (YeeLight Introduction Web Site Link) or LOHAS LED (LOHAS LED Web Site), I have to control it from ...
9
votes
1answer
120 views

How can I synchronise data between devices, avoiding loss of messages and duplication?

I have an IoT network of devices sending data to each other, with data being stored in a database. If I have a device sending 10 packets/API requests in sequence, sometimes only a few reach their ...
8
votes
2answers
226 views

Trying to switch my lights off in my smart home

My main objective is to make my arduino or create a app on android to control lights in the house. So my home has the Nexwell Tukan and I can control the lights and power outlets and more, it also ...
8
votes
1answer
377 views

Does CoAP have a lower footprint than MQTT?

I recently read a Quora question about whether CoAP or MQTT is more lightweight, but the answers don't seem particularly satisfying and all contradict each other: the top answer says MQTT takes fewer ...
7
votes
2answers
2k views

Raspberry Pi to send sensor's data to server continuously and receive commands from server

I would like to design a system using Raspberry Pi that sends the sensor's data to server continuously and receive commands from server. Will MQTT suit my needs ? Is there any way to do so if I use ...
7
votes
1answer
1k views

Are there standardized MQTT topics?

I am new to MQTT (and home automation in general, I am much more in the systems and dev side), flashed a WiFi switch (Sonoff Basic), connected it to an instance of Mosquitto and Home Assistant and so ...
7
votes
1answer
578 views

How do I check whether a LTE network supports CAT M1?

LTE CAT M1 is a low power communication channel for LTE networks designed for IoT use. How do I check whether a network supports it or not? Carriers' help desk does not know anything about CAT M1. ...
6
votes
2answers
235 views

Is it ever a good idea to 'roll your own' protocol for IoT device communication?

I've heard many people mention that their embedded IoT devices aren't powerful enough to process known protocols, like HTTPS or even TLS security for sockets. Instead, they turn to creating their own ...
6
votes
1answer
476 views

SSH into an Orange Pi connected to the internet via 2G GSM module

I wanted to SSH into my Orange Pi remotely. It will be connected to the Internet via a 2G GSM module. How should I go about it? Usually it's ssh username@ip address. The setup isn't implemented yet so ...
6
votes
1answer
186 views

How does APN affect cellular connectivity?

We had recently deployed a few Cellular IoT devices on the field, using SIMs from a certain provider (Airtel India). They had provided us with an APN, but we chose not to program our device with the ...
6
votes
1answer
116 views

Could not ping ESP8266 Wifi module connected to an Arduino

I have been working with a water flow counter which sends data over wifi. I'm using an ESP8266 wifi module. Everything is correctly connected and I've gotten to the point where it's correctly ...
6
votes
1answer
591 views

Can a dimmer switch be connected to the IoT?

I'd like to connect a button "dimmer switch" like this one: to the IoT. Maybe there's already such a device, I just could not find any. The underlying idea is to set a "%" information for each of ...
6
votes
1answer
180 views

How can I aggregate QS data from different sources on one and unique dashboard?

I would like to automatically aggregate QS data, biofeedback data and neurofeedback data from different applications into one dashboard. Data is collected from; Gear S2, Withings body scale, Withings ...
6
votes
1answer
526 views

How to use telegram api registerDevice for ESP8266?

I can't find any example for this method. I don't want to check the messages via "getMessages" method but want that telegram sends a TCP message to ESP8266, like my mobile or browser receive messages. ...
6
votes
1answer
78 views

PZEM-004 cheaper alternatives

I am an programmer, trying to monitor consumption remotely, I need some form of communication via cable to transmit (even if I trasmit it WIFi later), PZEM-004 for me is very expensive, and I don't ...
5
votes
1answer
155 views

Medical data IoT communication protocol?

We are considering connecting a medical device into a hospital patient system we are developing. We are based in the EU and must adhere to the EU Regulation on the protection of personal data ...
5
votes
2answers
588 views

What is the library to be used to implement CoAP in ESP8266?

I am using Arduino IDE to program my ESP8266. I would like to send data from one ESP8266 module to other. So I would like to use CoAP for this communication. Is there any standard or good library to ...
5
votes
1answer
91 views

When network provisioning happens through a hotspot (for a headless device), how can I notify the user of a failure when switching to station mode?

When a user connects to the hotspot of a headless device for configuring Wi-Fi credentials for device provisioning and if it fails to connect to Wi-Fi once Wi-Fi credentials are saved, the user doesn'...
5
votes
0answers
73 views

Send wirelessly very small amount of data

I need to transfer wirelessly a message of maximum 5 bytes of data (including everything such as start bits, stop bits etc etc). What I tried: Empty Ethernet package is at least 56 bytes according to ...
5
votes
0answers
298 views

Creating COM serial port between external device (Joule/Arduino/etc.) and PC over Bluetooth w/ linux sdptool & rfcomm (OR another method)

This article is not device specific, but rather is focused on using sdptool and rfcomm to setup a serial com port connection over bluetooth. If you have another method instead of these two Linux ...
5
votes
0answers
170 views

What is the purpose of dotdot in smart home devices?

The ZigBee Alliance recently released dotdot, a new application layer for Internet of Things devices. They also provide a brief description of what dotdot does: dotdot is the universal language of ...
4
votes
1answer
236 views

How can I monitor IoT devices in real-time while on a plane?

As a frequent traveler (for work and research), currently, a lot of this travel is by plane. While in flight, I have to have my devices (that are with me obviously) in flight mode. This is a standard ...
4
votes
2answers
128 views

How reliable is location tracking of shipments? [closed]

I was reading about the tracking of parcels and other shipments, being a primary example of IoT applications. But I'm wondering about how reliable and precise the positioning would be. I have the ...
4
votes
1answer
104 views

Standard message structure for communication in HTTP

My question might be a little strange but I can't find any answer to it. I'm designing a simple IoT system that has some devices as a client and a server that controls these clients like reading ...
4
votes
1answer
176 views

Programming of change of keys on full numbering of CSR bluecore chips

Who can tell how you can change the key values for the full numbering of SCR bluecore chips. The built-in function only modifies the user keys from 0 to 49. I tried to change the first digit of the ...
4
votes
1answer
202 views

Remote com (serial) connection through cellular IoT

We need to be able to make a com (serial) connection remotely off site from PLC type device. We have completed a POC for sending some signals to Azure IoT utilizing a Siemens IoT2020 running linux ...
3
votes
1answer
779 views

Distance calculation based on RSSI value

I want to calculate the RSSI value of a Bluetooth module (HC05) and from the derived RSSI value I want to calculate the distance of the surrounding devices. I'm using an Arduino Uno r3 as a controller ...
3
votes
1answer
75 views

Generating a simple, low cost contactless pulse generator [closed]

I need to allow two devices to communicate by generating a set of pulses (in the range of 100 to 1K HZ) in one device to be received by another device. The two devices are very near each other (say ...
3
votes
1answer
77 views

Why there is no LPWAN technology in HF or VHF band?

This is a question which I have been wondering ever since I started exploring LPWAN technologies. All the LPWAN technologies I have found (like SigFox, LoRa, Ingenu etc.) work in UHF band (300 - 3,...
3
votes
1answer
898 views

What IR codes are emitted by Faber/AEG/Franke/Smeg… RC?

What infra-red codes are emitted by the depicted* remote control used by many hood manufactures (Faber/Mepamsa, AEG, Franke, Smeg, Airlux...)? Identifying the manufacturer of the remote control / IR ...
3
votes
1answer
49 views

Wireless IoT Devices at mm-wave frequencies

The upcoming 5G can be beneficial for IoT in various aspects: higher data-rates low latency better utilization of bandwidth potential wireless power transfer/harvest Introduction of mm-waves (28 GHz ...
3
votes
1answer
1k views

Can I use MatLab code in esp32?

We've some method to run the MatLab code in esp8266 microcontroller. We can manipulate Arduino pins using Simulink in MatLab. Can we do the same with an esp32 microcontroller as their code can be ...
3
votes
0answers
147 views

Using RPC in IoT environments

I would like to use RPC for communication between fog nodes. As the connection between the nodes is wireless (802.15.4), I don't want to use an RPC framework that uses HTTP (like gRPC). I know that ...
3
votes
0answers
133 views

Alternatives to Siemens Tc65 (GSM modem) as a terminal to process text messages

I'm working on a solution to solve an existing inconvenience. Some "smart" containers send an alarm via text message when they're full. The number it sends to is a personal phone number from a worker ...
2
votes
2answers
258 views

IoT Communication Protocols [closed]

I am trying to see the big picture of IoT Communication Protocols. For now, I am not interested in lower levels of communications such as WiFi, ZigBee, Bluetooth etc. I wanna see the possible ...
2
votes
1answer
654 views

How to start IoT development to send commands from IoT Hub to Device

I'm a .Net developer recently started working on WindowsAzure IoT, but my role is just creating web API's to provide data to client (Mobile App) sent by IoT devices. I want to send commands to ...
2
votes
0answers
20 views

How to find a specific BBC debate or podcast using Alexa and TuneIn?

Kinda silly, but looking at: This show will be available later. Please come back then. https://tunein.com/radio/Intelligence-Squared-Debate-p510948/ Is there a podcast for the BBC debates ...
2
votes
0answers
48 views

MQTT implementation recommendation for an IoT device

I have used HTTP/s based REST API for IoT application and it works well but consumes more data bandwidth and power. Also, the server resources consumed are too high for the long polling-based method. ...
2
votes
0answers
83 views

Looking for MQTT broker and client recommendations

Working to make a network of remote sensors using MQTT I'm looking for an implementation of a broker an a matching client. Requirements broker to be deployed in a cloud server like EC-2 and client ...