Questions tagged [system-architecture]

For questions about whole-system design questions, where these questions relate to the overall architecture of a system you are designing. Please read the full tag wiki to avoid asking broad, unanswerable questions.

These questions can cover aspects such as:

  • For this application, should I process in the cloud or on the edge?
  • How would I handle transfer of ownership with specific devices?
  • Can I design this system to be scalable?

This tag should no be used for questions which are specific to just one part of a system (such as should my endpoint be battery or mains powered), at least where the choice in one part of the system doesn't have a significant impact on another part.

40 questions
24
votes
5 answers

Which backend database is suitable for the IoT implementation

I have to provide the IoT service for my customer. MQTT, Kafka and Rest Services components will be used to ingest the data from the devices to the database. I need to do some analytics over the data in the backend. The data size would be 135…
Mourish Khan
  • 357
  • 1
  • 2
  • 6
19
votes
4 answers

Is it possible to commercially sell a Wi-Fi IoT product that DOESN'T use cloud?

If I wanted to use my phone to control a simple Wi-Fi connected device that just turns the light on or off, or a simple temperature gauge, why don't I just communicate directly with the device instead of going through a cloud? No data persistence or…
13
votes
2 answers

Is it possible to use a CO2 sensor to detect how many people are in a room?

I have MH-Z14 Carbon Dioxide sensor and have been using it to try and detect when a room may need some fresh air. But, I've also noticed that the sensor reading drastically increases when a human is present in a room and especially if close to the…
alecxe
  • 185
  • 1
  • 13
13
votes
1 answer

What is the typical network topology for an IoT network?

I see several questions asking about details of an IoT network, including this one about port forwarding for example. I think it would be useful to ask about what might be considered the typical baseline architecture for a general-purpose IoT…
Sean Houlihane
  • 10,524
  • 2
  • 26
  • 62
10
votes
1 answer

Server to handle connections with smart sockets

Right now I'm working on architecture for application that will manage smart sockets and I need advice. This is what I have for now: I'm not sure how to handle connection between Spring and smart socket (I want to be able to turn on/off socket from…
10
votes
6 answers

Common APIs in C or C++ for the IoT

What are the common or usual APIs (or libraries) in C or C++ for the IoT, in the sense of having a documentation, a set of programming interfaces? (Like e.g. POSIX is for operating systems, Qt is for GUI, etc....). This short page motivates my…
10
votes
1 answer

Is this architecture feasible and flexible?

I'm having a but of trouble making sure my project really is feasible. What I want to archive: Control my Senseo coffee machine via internet. It boils down to simply controlling 2 buttons. First easy solution: Setup a NodeJS server on my Raspberry…
9
votes
2 answers

Does Node-Red support multi-request flows (i.e. sessions)?

I gave Node-Red a short test-run this week. It is not clear to me whether it supports flows that encompass more than one request. Does Node-Red have a request-per-flow or a session-per-flow model? Having worked with data-flow based programming tools…
7
votes
1 answer

Should I keep open a socket between IoT NAT device and server?

I am implementing a light controlling with MQTT/node which consists of some elements mainly these: device (behind a NAT), server (mqtt/broker), client (web browser) Part of the architecture/process I came up with was: The device needs to open a…
bermick
  • 81
  • 5
7
votes
1 answer

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 these devices, transforming it in a sort of manual…
6
votes
3 answers

What are the differences between edge computing and fog computing?

In IoT, alternatives to cloud computing architecture exist which perform parts of computation in lower layers. Edge computing and fog computing are among these alternatives. What are the differences between edge computing and fog computing?
6
votes
1 answer

IoT framework / dashboard with time lapsing capabilities and reusable device definitions?

I would like to implement a dashboard for monitoring device states based on elapsed time. This sounds strange, but actually it's about my fish tank. The filter contains of several materials, each of them lasts for particular time and has to be…
6
votes
3 answers

Drawing parallels between building an IoT system and building a PC?

I am reviewing potential candidates for IoT position. The position in a industrial factory setting requires the candidate to contribute to the 4 stages of an IoT infrastructure as defined in the article: How to design an IoT…
grldsndrs
  • 375
  • 1
  • 10
6
votes
3 answers

What are the differences between MQTT, HTTP, CoAP devices (besides communication protocol)?

I am new to IoT platform and after days of reading I am still confused about different types of IoT devices. Currently, I have read about smart devices that connect to the cloud through different ways like MQTT, HTTP, LWM2M, and maybe more. Are the…
dondon
  • 71
  • 5
5
votes
0 answers

Create Google voice command without IFTTT

Problem I'm trying to extend my own application to use the Google Assistant (in my situation Google Nest Hub device) and is able to control my home custom-made devices like turn on/off light, lock door, feed cat, etc. I'm not using any common…
1
2 3