Questions tagged [aws-iot]

For questions about Amazon's AWS IoT platform, including technical problems and security/reliability questions. Do not use this tag for general questions about IoT!

Filter by
Sorted by
Tagged with
14 votes
4 answers
3k views

Is it a bad practice to keep certificates on external memory?

We're working on AWS-IoT using an STM32 microcontroller. Till today, we were writing the certificates to the flash and locking the flash from external reading. As the application code increases, we'...
user2967920's user avatar
14 votes
1 answer
1k views

How does an Azure IoT Hub interact with Embedded/IoT devices?

I am working on the Azure IoT platform, and I understand how devices send data to the IoT hub (if I am not wrong, It is just web service call or something similar to that). But I wonder how the IoT ...
Shri's user avatar
  • 331
12 votes
2 answers
1k views

How can I set up main and failover MQTT subscribers for a job queue with AWS IoT?

I have an system where a client (let's call it ClientA) can publish requests to a particular MQTT topic. The broker, in case it matters, is Amazon Web Services. Then I have another client (let's call ...
Paul Grinberg's user avatar
12 votes
1 answer
7k views

Can I publish multiple MQTT topics in a single request?

I've got a device with multiple sensors that publishes each sensor reading separately to topics like device1-id/sensor1-id = 10.2 device1-id/sensor2-id = 15.5 [...] We feed it to AWS IoT using Amazon ...
MLu's user avatar
  • 221
11 votes
1 answer
530 views

How to decrease AWS IoT button press delay before message publishing?

I am using two AWS IoT buttons to increment a scoreboard. The system works, but there is about a 5 second delay from the button being pressed to until the message from the button is actually published ...
DanHam's user avatar
  • 253
10 votes
2 answers
676 views

AWS IoT implementation on a low end controller like Atmega328, nrf51822?

I have been using AWS IoT implemented in a RPi for a while. I was wondering if I could use a controller like Atmega328 or some NRF based controllers or STM32 to publish and subscribe to AWS IoT MQTT ...
A.Rajib Kumar Gupta's user avatar
10 votes
1 answer
819 views

Connecting web app to IoT AWS

I am using Raspberry Pi as a web server this web is to control CNC machine as you can see in the following picture. (I took it from git hub) I can enter the g code manually or I can upload the g ...
Balsam Qassem's user avatar
9 votes
2 answers
399 views

How to link device with user?

I'm trying to learn IoT development using an Arduino and Amazon's menu of services—Alexa Skill Kit, AWS Lambda, and AWS IoT. I've been able to get come a long way, but when I think about implementing ...
user5468's user avatar
8 votes
2 answers
220 views

Why might data be sent to a cloud service when it could be processed on the edge?

I was recently reading Amazon's information about the AWS IoT Platform, and came across an interesting example use case: Although they don't describe how exactly the road condition data is sensed, if ...
Aurora0001's user avatar
  • 18.5k
8 votes
1 answer
220 views

How long should a FreeRTOS task be delayed in each loop?

I'm working on an AWS IoT project where the MQTT routines, callback lambdas and kind of everything else apart from initialisation are inside a task created by xTaskCreatePinnedToCore(). This task ...
haxpanel's user avatar
  • 293
8 votes
1 answer
96 views

Subscibe to specific device with AWS or Azure IoT services

There are 1,000 IoT devices which need to send data to the cloud each second. There is a mobile app. The mobile app user can see messages from a single device at a time only. Is there any simple (...
Ingweland's user avatar
  • 221
8 votes
1 answer
165 views

Does AWS Mobile SDK for Android gives capabilities to call AWS IoT REST APIs?

I thought of writing an WebApp to control my Android Phone. What I'm intended to do is My WebApp will call the REST APIs of AWS IoT and send some commands. Using AWS rules engine I store those ...
Mad's user avatar
  • 919
8 votes
1 answer
920 views

Error connecting AWS IoT button to Wi-Fi network

I have an AWS IoT button (2nd Gen) that I am able to successfully connect to a portable hotspot and send notifications through, but when I try to reconfigure the button to run on a Wi-Fi network, I ...
Swagin9's user avatar
  • 181
8 votes
1 answer
703 views

When setting up 'Things' in AWS IoT, can I have one thing, and then have many instances of that Thing?

I might be putting this into software terms, but I just want to have all my things be the same type, but have multiple instances (multiple things). Each thing must be able to be referenced ...
PaulPerry's user avatar
  • 278
8 votes
1 answer
1k views

Can we install Greengrass core for different platform other than Linux?

I'm new to AWS Greengrass and at the phase of learning it functionalities. As instructed in AWS Greengrass, when creating a new group we need to establish a Greengrass core in the cloud definition ...
Mad's user avatar
  • 919
7 votes
3 answers
2k views

What do I need to make a smart plug work with Alexa and/or Amazon IoT

I live in France and I'm wondering which connected plugs would be compatible with Amazon Alexa (I have imported an Echo from England). I saw a reference to this question How to get Alexa to work with ...
Cyril Duchon-Doris's user avatar
7 votes
2 answers
119 views

IoT Session duration

A Linux box sends measurements to AWS-RDBMS. A python script opens and closes the connection only long enough to upload data to the database (sessions is closed immediately after update). The ...
gatorback's user avatar
  • 361
7 votes
1 answer
174 views

Why is AWS Greengrass region specific? [closed]

When I try to go through the AWS Greengrass functionalities it gives me a message saying; "Region Unsupported. AWS Greengrass is not available in US... Please select another region. " Of course ...
Mad's user avatar
  • 919
6 votes
1 answer
4k views

Can multiple subscribers subscribe to the same topic from AWS IoT?

Just like what the question asks, can multiple subscribers subscribe to the same topic reading the same message from AWS IoT?
user2585578's user avatar
6 votes
1 answer
746 views

Connect CNC machine to AWS IoT

I want to connect my CNC machine with AWS IoT within a system that contains a robotic arm and sensor. The CNC machine is connected to a laptop and runs with Python code. I want to use MQTT to make the ...
Balsam Qassem's user avatar
6 votes
1 answer
160 views

Which is the right way to use AWS-IoT for big quantities of devices?

I'm studying AWS IoT for a big project and I want to understand more about this amazing service, so here I am with a question for you. Each example inside the documentation of AWS IoT talks about one ...
marco.santonocito's user avatar
6 votes
1 answer
147 views

Does AWS IoT have Enterprise Mobility Management Capabilities?

I'm new to AWS IoT and I'm currently going through the capabilities of it in order to use it with one of my projects. In my project I need to control Android and iOS devices. What I mean by control ...
Mad's user avatar
  • 919
6 votes
1 answer
68 views

Securing first connection of non provisioned IoT device

Assumptions The IoT Device is actually a software installable on supported operating system, e.g. Windows or Linux. Lets named it Software-Device. The Software-Device is available to download by ...
Przemek's user avatar
  • 61
5 votes
1 answer
117 views

Do I need different certificates for every thing?

I'm learning AWS and I created a new thing with the required certificates to access it via MQTT: root-CA.crt .private.key .cert.pem If I'm not wrong the root-CA.crt file will be the same for all the ...
Mark's user avatar
  • 665
5 votes
2 answers
269 views

How do I build a web application using AWS IoT connecting to a factory floor?

I want to build a web application using aws Iot. I build SCADA systems for different companies. I have a modbus rtu master(raspi) connected to many slaves on a factory floor. Modbus master is ...
user2326642's user avatar
5 votes
1 answer
347 views

How can I make an IoT system with a CNC machine and robotic arm? [closed]

I want to create an IoT system with Amazon Web Services. My system contains a CNC machine, robotic arm and sensor. The idea of my project is that when objects come to container the sensor sense the ...
Balsam Qassem's user avatar
5 votes
1 answer
595 views

Deploy Scripts to AWS-Greengrass without AWS-Lambda

Is it possible to deploy to Greengrass from another source besides Lambda? Could I possibly connect to AWS-Greengrass with a client like MQTT.fx and deploy scripts to it? I have tried several times ...
Andrew Horváth's user avatar
5 votes
1 answer
1k views

Connect an esp32 with AWS MQTT with SIM800L

I am are trying to use a sim800L module to connect an esp32 running Arduino to AWS MQTT. I need to connect and publish and subscribe to topics. I am doing this successfully via WiFi. Not via the ...
saja wahidee's user avatar
5 votes
0 answers
166 views

Provisioning "things" on AWS IoT without certificates confusion

I am new to AWS IoT. I wish to use AWS IoT's feature called JITP (Just In Time Provisioning) to provision my gateways automatically. I am using BeagleBone boards as device gateways. I followed the ...
Engineer999's user avatar
4 votes
1 answer
775 views

My thing connected to AWS IoT but it does not publish messages

This question is related to this one after you helped me to fix my mistake I have connected to Eclipse broker, it worked just fine, connection and publishing, then I switched to AWS IoT broker with ...
Balsam Qassem's user avatar
4 votes
2 answers
161 views

Can I run a Greengrass Core and an IoT Device on the same machine?

We are trying to create a system that reads and performs some computation on data coming in via serial port (from a CAN network) and send the results to the cloud. I have been looking into AWS ...
Lucas's user avatar
  • 43
4 votes
1 answer
62 views

Project IoT backend for monitoring sensor data

I'm newbie to cloud-iot services. I was challenged by my lecturer to build a backend system where it can send sensor data to cloud, store it, and host a website page. Its about monitoring microclimate ...
achmad anshori's user avatar
4 votes
1 answer
2k views

AWS IoT certificate rejection

I've been trying to configure AWS IoT to communicate over MQTT using TLS for days on a D1 Mini board and have been running into a road block with authentication. I've used several AWS IoT Arduino ...
Thibaut Hardin's user avatar
4 votes
0 answers
90 views

Creating nested IoT field gateways with Azure and AWS

From what I have read and understood from their documentation is that only single layer IoT hierarchies can be maintained with either of their gateways. That is a field gateway(sort of like a smart ...
nuwnjay's user avatar
  • 141
4 votes
0 answers
429 views

MQTT with TLS for TI CC3200 fails with 'Bad CA file' error

This topic seems to pop up everywhere but, without a conclusion as to how to get MQTT-TLS for CC3200 running. So, here goes one more. Goal Connect TI CC3200 board to AWS IoT broker via TLS. Steps ...
cogitoergosum's user avatar
4 votes
0 answers
420 views

Why can I connect to Wi-Fi with 2nd gen Amazon IoT button but not 1st gen buttons?

I have three Amazon IoT buttons. One is model JK29LP (2nd gen) and two are model JK76PL (1st gen). I had the mac addresses for all three buttons whitelisted for our local Wi-Fi network. I was able ...
DanHam's user avatar
  • 253
3 votes
1 answer
878 views

What is Shoulder Tap in IOT?

I am very new to IOT (primarily in Connected Cars segment) and came across the terms like: Shoulder Tap , Using SMS to awake device. I did search online, but didn't get proper information. Can ...
CuriousMind's user avatar
3 votes
1 answer
276 views

The Things Network AWS IoT integration

I have followed the tutorial for the AWS integration but cannot get the MQTT messages to display in the AWS IoT Core. I assume bridging is not working since I can get the messages in an external ...
Simon Doppler's user avatar
3 votes
1 answer
268 views

Using AWS Lambda function to create a monitoring website for IoT devices [closed]

I want to create a web site to monitor my IoT devices, so I went through many tutorials to achieve that. The most common way that is used in the tutorials is writing to DynamoDB from IoT then using ...
Balsam Qassem's user avatar
3 votes
1 answer
1k views

Connect Webpage to AWS IoT to Publish Messages

I want to create an IoT system. My system contains a robotic arm, a CNC machine and a web page. I want to use MQTT in which I can publish from my web page to robotic arm to pick up the object and put ...
Balsam Qassem's user avatar
3 votes
1 answer
452 views

How to programmatically retrieve the public key for a Thing in AWS IoT Core?

I am building a system where I would like to send an encrypted message from AWS Lambda (via an AWS IoT Core rule) to a device. Ideally I would like to encrypt this message using the device's public ...
Suever's user avatar
  • 151
3 votes
1 answer
1k views

Using mosquitto_pub WITH mosquitto_sub on AWS IoT thing is not working

Strange problem when trying to interact with an AWS IoT thing using the mosquitto CLI clients: mosquitto_pub works as I can see the incoming message in the AWS IoT Test console. mosquitto_sub works ...
Mrtn's user avatar
  • 31
3 votes
1 answer
513 views

How to simulate an IoT device or a network of IoT devices without hardware?

Hey IoT stack community! I want to ask how I can simulate an IoT device or a network of IoT devices, if i don't have a single piece of hardware? Is this possible in any way at all? To give you some ...
Muhammad Yasir's user avatar
3 votes
1 answer
83 views

Monitoring temperature using AWS IoT

I've developed an Android app for my dad for monitoring temperature from a specific room. He wants to be able to see the temperature even when he is not home. I got working with Amazon IoT and it's ...
Gavriil's user avatar
  • 33
3 votes
1 answer
349 views

Cannot publish AWS IoT messages from Raspberry Pi

I run a simple publish message from a Raspberry Pi. It seems that my device is connected to AWS IoT, but the message is not publishing and the on_connect and on_publish methods are not invoking. Can ...
amit banik's user avatar
3 votes
2 answers
60 views

Iot datalake. Can you help me. Thanks [closed]

I collect data from iot sensors. I get some byte datas, whose bits have some meanings. I will use some bits for anlytics finally. So the following is my question. Should I convert these bits used for ...
user16974's user avatar
3 votes
0 answers
49 views

Can IoT devices share their own capability/resources with another device?

Hello IoT Stack community ! I am sort of a beginner at IoT and looking for some guidance and help I am struggling to wrap my head around the following concept; Is it possible for IoT Device to share ...
Muhammad Yasir's user avatar
3 votes
0 answers
104 views

How to use of Aws IoT certificate, access key and secret key in Swift?

I am new to Swift as well as to AWS-IoT. After reading a tons of doc, I finally decide to post a question for a simple answer. I am working on a project where I have to interact with "Things". I ...
NavinBagul's user avatar
3 votes
0 answers
324 views

greengrass ggc_user changeable? [closed]

While installing AWS IoT Greengrass for Raspberry Pi, there is a need to create ggc_user & ggc_group as mentioned in Greengrass developer guide step 9: sudo adduser --system ggc_user sudo ...
JPI's user avatar
  • 239
3 votes
0 answers
177 views

Call AWS Lambda https end point from AWS IoT rules Engine

We have an existing ASP.Net Core API that we deployed in AWS Lambda. We were able to access the https verbs using AWS Serverless URL Now we would like to access a specific https end point through AWS ...
user avatar