The Internet of Things (IoT) is the inter-networking of physical devices, vehicles (also referred to as "connected devices" and "smart devices"), buildings, and other items embedded with electronics, software, sensors, actuators, and network connectivity which enable these objects to collect and exchange data.
Questions tagged [iot]
28 questions
11
votes
5 answers
How can I discover a local network appliance and connect to its built-in webserver?
This question is vaguely Internet of Things (IoT) related - but it's about the intra-net (no external internet connection in this scenario - we are air-gapped). Let's say I have a new smart household appliance. This smart appliance can connect to…

Wyck
- 223
- 2
- 9
3
votes
2 answers
Trouble designing REST API that uses both long-running jobs, and partial update
I'm having a design issue in my REST api, where I have a resource Device, which happens to represent an IoT device, can be partially updated using PATCH, but some of the things that get updated will begin a long running job.
For instance,
Here is…

JSarwer
- 193
- 1
- 7
2
votes
1 answer
Need advice on approach for IOT project
I need some advice on an IOT project I am working on. Here are some details about what I am trying to do:
Use Case:
Periodically receive data from the 3rd party vendor API in real time and allow users to set alerts when certain conditions are met in…

Riley MacDonald
- 129
- 1
2
votes
1 answer
Creating an internet gateway for a Bluetooth Low Energy device
I have a device that connects using Bluetooth Low Energy (BLE). I want it to communicate with a server over the internet using a smartphone as a gateway.
I have thought of different approaches and I would appreciate any objective input.
Approach…

RealTimeEngineer91
- 21
- 2
2
votes
2 answers
Appropriate way to handle timezone for embedded/IoT devices
I am writing some data collection software (in python) that will transmit data to the cloud. I am including a timestamp (using the standard datetime module included with python) in the data record so that the time is documented in the cloud…

Alex
- 131
- 6
2
votes
1 answer
Software architecture of IoT hardware controller program with embedded HTTP server
Just trying to design an architecture/class relations for my current C++ project in the IoT field.
The program itself (controller) controls various hardware via an arm-based device. I intend to use cpprestsdk for an http server implementation that…

CorellianAle
- 131
- 3
2
votes
1 answer
Centralized server solution vs a not centralized one
At work, we are discussing about two system models:
First one with a centralized server:
Second one without a centralized server:
The goal of the system is to allow clients access information, by browser, served by some remote raspberry-pis that…

João Paulo
- 123
- 5
1
vote
1 answer
Modeling properties of related entities
I have the following entity relationship.
A {state: ON | OFF} => B {state: ON | OFF} => C {state: ON | OFF}
So, in this case, B is a child of A, and C is a child of B. Moreover, they all share a property called state that can be either ON or OFF…

salparadise
- 173
- 6
1
vote
0 answers
How to handle storing of arbitrary data in an application enablement platform
I'm working on an AEP in the IoT space, where we've created a few domain-specific entities to allow users to model their data. Each entity has both a type and instances of that entity. These are:
Assets. e.g. an Asset Type could be Truck. Assets…

awr
- 259
- 1
- 3
1
vote
2 answers
Connecting classes by passing method references
I am trying to find a good way of allowing two objects that are separated by a intermediate object to communicate while keeping the architecture loosely coupled. A solution I have developed is to pass method references to the two objects so that…

dda2120
- 21
- 3
1
vote
3 answers
How should I manage secrets for applications deployed on servers I do not control?
Problem description
I have an IoT app that provides a server backend and browser UI client for interfacing with proprietary control systems. Some deployments of this application will require that the server is not publicly accessible on the…

daviegravee
- 21
- 4
1
vote
0 answers
IoT Data Model Standards
I am currently trying to model IoT devices within buildings. I could start from scratch and develop the data model myself, but this seems like a common problem which will have been solved multiple times before. So I am looking to work from a…

Kevin Brydon
- 119
- 3
1
vote
0 answers
Offloading database joins to IOT devices
Solution as it is right now
I have this solution where I gather information from a proprietary product of a different company in various sites. The solution is based on a single go binary that contains everything needed to run the application (even…

Marged
- 225
- 3
- 11
1
vote
0 answers
How to store the state of an IoT device in a REST backend?
I'm facing a very simple scenario that should have a simple solution, but can't seem to figure it out.
I'm trying to design a RESTful app that replaces a (stateful) remote for an electrical appliance. The frontend of the app simply shows the current…

Fran Borcic
- 119
- 2
1
vote
1 answer
Storage of Per-Device Keys in Database?
In the context of many devices being secured with their own symmetric key (think: thousands of IoT devices), is it reasonable to hold these secret keys in a MySQL database?
The goal is to verify the authenticity of devices; I'd like to hear from…

Alexandre Cassagne
- 121
- 4