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
6
votes
2 answers

Azure IoT Hub Certificate

I'm trying to publish some data on the Azure IoT hub using Mqtt. I've succesfully published some data, using a SAS token. But my customer wants a x509 self generated & self signed certificate. Azure is supporting this, but doesn't give much…
Max van Kessel
  • 101
  • 3
  • 9
6
votes
1 answer

Apache Nifi with IOT sensors

Im new to Apache Nifi , and I'm having a use case which i need to parse and decode different kind of messages from Sensors, transform and load the data in Hbase all my sensors send data every 10 minutes through an API via a post request, what I have…
azelix
  • 1,257
  • 4
  • 26
  • 50
6
votes
1 answer

published message store by mosquitto broker when subscriber is offline with QOS=2

My both publisher and subscriber are both connected to mosquitto (paho) broker with QOS=2 and maintaining persistent session by clean_session=false. When i publish message with subscriber connected to broker, it successfully received by subscriber,…
Himanshu mittal
  • 155
  • 5
  • 16
6
votes
2 answers

How to do Software deployment for IoT devices (Linux based)?

A client that I’m working for has a fleet of BeagleBones/Raspberry PI’s operating at customer locations. These devices are installed on local networks and behind firewalls. For SSH connectivity there are several options but we’re still struggling…
lukin
  • 471
  • 1
  • 4
  • 12
6
votes
1 answer

Why/when to use IoT publish/subscribe protocols rather then RESTful HTTP?

I am sending data (GPS coordinates) from Arduino once a minute with HTTP POST request to REST API (in OpenShift PaaS). Data is then stored to MySQL db. Would so called "IoT" publish/subscribe protocols (XMPP, MQTT) be better? Why? When exactly do…
Gregor Stopar
  • 181
  • 1
  • 11
6
votes
1 answer

UWP Raspberry Pi Webserver issue

I'm following the sample application of a Webserver, handling incoming requests through TCP with a Port. Sample application with code: https://incredibits.io/project/windows-10-iot-internet-of-things-tips/windows-10-iot-raspberry-pi-web-server When…
Kevin Jensen Petersen
  • 423
  • 2
  • 22
  • 43
6
votes
2 answers

How to relaunch a Windows 10 IoT app programmatically

I have a Windows 10 IoT app developed in C#, and I need to relaunch the app when the configuration has changed. How can the app relaunch itself programmatically?
Juan Carlos Velez
  • 2,840
  • 2
  • 34
  • 48
6
votes
2 answers

How do I keep my Async method thread safe?

I need to write a method in my Windows Universal App to write to the SD card. How can I ensure two threads do not try to write to the same file at the same time in my method below ? public async void WriteToCard(string strFileName,…
Bill Greer
  • 3,046
  • 9
  • 49
  • 80
6
votes
2 answers

How do I name my deployed application?

I've successfully installed Windows 10 IoT on my Raspberry Pi 2. I wrote a test "Hello World" UAP app (simple text box and button, using Visual Studio Community 2015 RC) and can run it on the Pi and debug it (set break points, etc). When I build…
Lee
  • 454
  • 5
  • 9
5
votes
3 answers

How to add AWS IoT provisioning template in Cloudformation template / CDK

I am using Cloudformation template to create a stack including IoT fleet provisioning template and according to the document the IoT provisioning template body should be string type. I have the IoT fleet provisioning template like this: { …
Z Wang
  • 136
  • 8
5
votes
2 answers

CERTIFICATE_VERIFY_FAILED: Hostname mismatch(handshake.cc:352)) for TCP connection on local server

My code is connecting to AWS-END-POINT properly but when I tried connecting to Greengrass core using local network ip. I get this error. E/flutter (12349): [ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: HandshakeException:…
Muhammad Usama
  • 321
  • 1
  • 4
  • 12
5
votes
1 answer

Dealing with Kafka Producer connection loss

This is not so much of a coding question per se, but more of a architecture design for real-time streaming application. We have the following setup: Multiple embedded IoT devices in the field (so low memory, but option to have some extended local…
Atif Ali
  • 2,186
  • 2
  • 12
  • 23
5
votes
1 answer

How do I add a library dependency in an Azure Sphere Visual Studio Project?

I am building an Azure Sphere C application, starting from the HTTPS_Curl_Easy sample project. I need json parsing, so I downloaded the Jansson library code. The project that Jansson generates when using Cmake wouldn't add as a reference to my…
Joon
  • 2,127
  • 1
  • 22
  • 40
5
votes
4 answers

Is it possible to send MQTT message to Event Hub? Or is there another way?

I am new with Azure, MQTT, and IoT. I have been given a task to create a POC on how to send MQTT message to Azure Event Hub. And from the Event Hub processing, save the message to cloud sql server. Is this possible? Since i read from here, that…
MRu
  • 1,225
  • 7
  • 20
  • 44
5
votes
1 answer

Act for other devices on Azure IoT Hub

In our scenario, we have a bunch of devices that communicate locally with a gateway. The gateway is responsible to aggregate events from the devices and send it to the cloud. It should also receive device configuration changes from the the cloud and…
Thomas F.
  • 717
  • 3
  • 13