Questions tagged [iot]

QUESTIONS MUST BE PROGRAMMING RELATED.. Use a more specific tag for your question instead, e.g. [wifi], [bluetooth], [c], [arduino]

The Internet of Things (IoT) is a novel paradigm where many of the objects that surround us will be connected to the Internet, these objects can be Radio-Frequency IDentification (RFID) tags, sensors, actuators, mobile phones, etc. and through unique addressing scheme, are able to interact with each other and cooperate with their neighbors to reach common goals.

While programming questions about Internet of Things are on-topic here, other questions should be asked on the new Internet of Things Stack Exchange site.

enter image description here

If the question is not programming related then it may be on-topic at Raspberry Pi Stack Exchange, Internet of Things Stack Exchange or Unix & Linux Stack Exchange.

3888 questions
7
votes
5 answers

Intel Edison MRAA module not working

I recently downloaded the Intel XDK IOT version and used the LED pin 13 Blink sample. I then uploaded the program onto the Edison, but it came up with a few errors; One of them being that it could not find the MRAA module. The sample code that came…
kirtan-shah
  • 405
  • 7
  • 21
6
votes
1 answer

IOT tcp connection error with nodejs and net

I have created a server using net module: // Creating and connecting with server const net = require('net'); const server = net.createServer(); //Creating server //Connecting with server server.on('connection', function (socket) { let…
manzt
  • 454
  • 2
  • 12
6
votes
2 answers

How to detect specific devices in a local network?

I am building an IoT solution where I will have multiple devices connected to my local network that I want to connect to a hub that controls my solution. Once I connect a new device I want to connect it with the hub and give it a name to identify…
David Berg
  • 1,958
  • 1
  • 21
  • 37
6
votes
1 answer

Android, communicate with mobile data while connected to wifi without internet access

I have an automotive companion app that needs to communicate with both wifi and mobile data networks. My vehicle control unit provides a wifi network without internet access which exposes an API service that we can call from the app. In addition to…
6
votes
1 answer

Implementing MQTT using Google cloud pub sub in flutter

Is there any way to establish a connection with Google IoT pub-sub API in flutter? I tried this library but it doesn't have the configuration which I am looking for. I have the following data which will be used to establish the connection: { …
Dhaval Kansara
  • 3,478
  • 5
  • 22
  • 50
6
votes
1 answer

Understanding Azure Event Hubs partitioned consumer pattern

Azure Event Hub uses the partitioned consumer pattern described in the docs. I have some problems understanding the consumer side of this model when it comes to a real world scenario. So lets say I have 1000 messages send to the event hub with 4…
Tobias von Falkenhayn
  • 1,355
  • 5
  • 26
  • 59
6
votes
2 answers

How can I access the new Serial API on Google Chrome Beta 77+?

I would like to use the new Serial API on Chrome Beta (version 77+). However, it's unclear to me how to reference it. I have built a Chrome App that can do serial communication, but apparently Google is discontinuing Chrome Apps. The Platform…
eric02138
  • 91
  • 4
6
votes
2 answers

OPC UA information model

Lets say I have multiple distributed complex machines. Each machine contains of multiple cpmplex devices. Each device has its own OPC UA server to monitore the device components. With an OPC UA client I want to read all the data items of the OPC UA…
CPA
  • 2,923
  • 4
  • 30
  • 52
6
votes
2 answers

Android thing: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/things/pio/PeripheralManager;

Android thing run time exception: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/things/pio/PeripheralManager; Manifest file:
happy_coding
  • 1,064
  • 1
  • 13
  • 24
6
votes
1 answer

Hyperledger Sawtooth vs Quorum in concurrency and speed

Let's suppose I have 50 machines deployed in multiple locations, every machine has Linux as OS. The machines have not a continued internet connection, for every 2h without connection, they have a 45min period of Wi-Fi connection. During these 2h the…
Across
  • 63
  • 5
6
votes
1 answer

NATS Request Reply - How it works?

I am new NATS. Not sure how NATS request reply works. As per my understanding, this pattern can be use for bi-directional communication but questions is, Does it works between same message id/thread ? If not, can't we use two different queue for the…
DSA
  • 720
  • 2
  • 9
  • 30
6
votes
3 answers

Why does pressing one button trigger handler for both

I am running Android Things 0.4 on a Raspberry Pi. I was following this tutorial to the letter: https://developer.android.com/things/training/first-device/peripherals.html Once I go the first button working, I decided I wanted to add a second…
maddesa
  • 1,014
  • 7
  • 18
6
votes
1 answer

How to connect IBM Watson IOT using Paho MQTT javascript client?

I am trying to connect IBM Watson IoT platform using Paho MQTT Javascript client as mentioned in the below example code. var client = new Messaging.Client("myOqgId.messaging.internetofthings.ibmcloud.com", 8883, "myclientid_" +…
6
votes
4 answers

How can I reset ESP8266 MicroPython after main.py crashes?

I have a NodeMCU ESP8266 board running MicroPython. I'm running a web server on my ESP8266. This is my first IoT project based on one of these boards. The below is a snippet of the code. This is being executed within main.py. Every now and then,…
user1600747
  • 63
  • 1
  • 5
6
votes
1 answer

What's the .driver-metadata file used for in Android Things?

I've noticed in the Android Things contrib-drivers repo there's a few of these .driver-metadata files (one in each different driver folder). Does anyone know what they're for? Example:…
Xavi Rigau
  • 1,421
  • 13
  • 17