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

How IoT devices connect to servers

I am working on IoT project, and I should keep the embedded device to be connected with a web-service. So, which is better, requesting the webservice every 1 or 2 seconds, or opening a socket with the server to guarantee the real time…
Mostafa Khattab
  • 554
  • 6
  • 18
8
votes
1 answer

What is the size of CoAP packet?

I'm new for this technology, can somebody help me to know about some doubt? Q-1. What is the size of CoAP packet? (I know there is 4 byte fixed header, but what is the maximum size limit including header, option and payload?) Q-2. Is there any…
Ankit
  • 201
  • 3
  • 6
  • 13
8
votes
2 answers

IoT/WinJS/VS - Failed to create the web diagnostics object

I have successfully installed Windows 10 Insider Preview and Visual Studio 2015 RC on my PC, and Windows IOT Core on my Pi. I have created a new JavaScript Windows Universal App solution in Visual Studio, and tried to deploy as-is, i.e. the project…
pdr0663
  • 111
  • 1
  • 4
8
votes
5 answers

How to deploy Windows 10 IoT (Rasp Pi image) as a Virtual Machine

Is it possible to deploy Windows 10 IoT (Rasp Pi image) as a Virtual Machine using VirtualBox or VMWare Player? I need for a testing lab a network of three to five Windows 10 IoT devices. A virtual cluster would be perfect. My Google- and Bing-based…
Tobonaut
  • 2,245
  • 2
  • 26
  • 39
8
votes
2 answers

ultrasonic sensor raspberry pi 2 c# .net

I'm trying to read the distance from an ultrasonic sensor (HC-SR04) but the only values I get is 0 and 265.xx. I am using an Raspberry Pi 2 with Windows 10 IoT Core installed. I've written the code in C#. This is the ultrasonic sensor class: using…
8
votes
0 answers

Bluetooth : Transferring call from Source Android phone to sink-audio development kit?

I am trying to make an app in which I can transfer my call from android phone(SOURCE) to audio development kit(CSR 8670 Development-Kit as SINK) .I am able to transfer audio through A2dp profile but to transfer call I need to enable HFP in which I…
Rajat kumar
  • 884
  • 9
  • 25
7
votes
0 answers

Arduino MKR1000 How to send Message to Azure IoT Hub

I am trying to setup a basic example of sending a message from the Arduino MKR1000 to the Azure IOT Event Hub but can't seem to get any of the online examples to work and I am new to Arduino. Any pointers for a simple working example? I tried this…
Andrew
  • 9,967
  • 10
  • 64
  • 103
7
votes
1 answer

Mqtt connection gives 403 for aws IOT Pre-Signed URL

I have aws lambda function that generates IOT websocket URL as below. const v4 = require('aws-signature-v4'); const crypto = require('crypto'); const WSSURL = v4.createPresignedURL( 'GET', …
JenuJ
  • 446
  • 5
  • 10
7
votes
2 answers

Is REST API over SSH possible?

I am designing an API for confidential communication between an IoT device and a client. A must is that that the client-device connection is secure and no man-in-the middle can temper the communication or attack the devices, including the routing…
BabbevDan
  • 1,160
  • 3
  • 14
  • 26
7
votes
3 answers

Possible to subscribe to aws IOT topic in lambda?

Newbie question. Can't find a previous answer. I want to build a simple pump controller with Alexa. Would like Alexa to report pump state. Simplest approach is Alexa -> lambda -> publish_to_Iot. And then, or perhaps just before the publish,…
big
  • 71
  • 1
  • 4
7
votes
4 answers

Best approach to construct a real-time rule engine for our streaming events

We are at the beginning of building an IoT cloud platform project. There are certain well known portions to achieve complete IoT platform solution. One of them is real-time rule processing/engine system which is needed to understand that streaming…
7
votes
2 answers

IoT data system design: Google Pub/Sub vs Kafka vs Kinesis vs PubNub for IoT data ingestion?

I'm trying to build an IoT + data analytics system and I'm having trouble deciding on what technology or service to use for ingestion. A high level description of the end goal is: IoT devices push data to an IoT gateway (using Zigbee, Z-wave,…
gunit
  • 3,700
  • 4
  • 31
  • 42
7
votes
2 answers

Which domain-name should I bake into my IoT device as IoT MQTT endpoint?

Situation description So when I build in the factory my super-sensor which would be sending its metrics every 30 seconds to AWS IoT via MQTT, I have to bake into the device a DNS domain name to which the sensor will be connecting. AWS IoT suggests…
Dimitry K
  • 2,236
  • 1
  • 28
  • 37
7
votes
5 answers

how to get and set audio volume level for a Universal Windows application

The title says it all, I would like to get and set audio volume level for a Universal Windows (iot) application. It can be either the sound level associated with my particular application - which would be ideal; or it can be the system sound level…
Rob
  • 3,488
  • 3
  • 32
  • 27
7
votes
2 answers

Using R and Sensor Accelerometer Data to Detect a Jump

I'm fascinated by sensor data. I used my iPhone and an app called SensorLog to capture accelerometer data while I stand and push my legs to jump. My goal is to use R to create a model which can identify jumps and how long I'm in the air. I'm unsure…
João
  • 121
  • 1
  • 6