Hot answers tagged

8 votes
Accepted

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

According to AWS SQS Documentation (as you said the broker is AWS) this should be native: Immediately after the message is received, it remains in the queue. To prevent other consumers from ...
Tensibai's user avatar
  • 506
7 votes

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

You might want to look at the concept of dead-letter queues of AWS SQS. From the AWS docs: A dead letter queue is a queue that other (source) queues can target for messages that can't be ...
Dawny33's user avatar
  • 171
6 votes

Connecting web app to IoT AWS

What you linked is far too complicated and in too low level of abstraction that it is for an professional even hard to read and follow it. aws-mqtt-client through npm is the easiest solution I could ...
mico's user avatar
  • 4,341
6 votes
Accepted

AWS IoT Authentication - Using own certificate not working

Keep in mind, that when connecting the first time and trying to register a certificate with JIT you have to provide not only the device certificate but also the CA certificate you used to sign your ...
Artem Khatchatourov's user avatar
5 votes
Accepted

Do I need different certificates for every thing?

Yes, the whole point of using client side certificates is to enable you to reliably uniquely identify each client. AWS will provide APIs to provision each device with it's own cert/key. The other ...
hardillb's user avatar
  • 12.5k
5 votes
Accepted

Data from ESP32 to AWS S3

Not the complete answer but a step forward: https://docs.aws.amazon.com/freertos/latest/userguide/getting_started_espressif.html AWS has released their ESP32 support with AWS FreeRTOS. To send ...
valentin's user avatar
  • 186
5 votes
Accepted

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

Yes. AWS IoT uses MQTT, which follows a topic-based publish-subscribe pattern. This allows multiple subscribers to a topic, and multiple clients can even publish to the same topic (a topic is not ...
Aurora0001's user avatar
  • 18.5k
4 votes
Accepted

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

I finally figured out what my mistake is. It was in the ARN Resources of policy I wrote a wrong topic in the end of policy resources line. I wrote ldr instead of LDRsensor.
Balsam Qassem's user avatar
4 votes
Accepted

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

Lambda is for running tiny functions, not long-running processes. You should have your web page connect directly to AWS IoT using WebSockets. Then it can get messages directly when they happen and ...
BraveNewCurrency's user avatar
4 votes

What is the "event" of a AWS lambda-function, and how do I send one through the API Gateway?

After some more investigation I found out that 502 error may happen if body is not in quotes. Your null should be "null" AWS lambda api gateway error "Malformed Lambda proxy response&...
mico's user avatar
  • 4,341
4 votes

Subscibe to specific device with AWS or Azure IoT services

I haven't worked with Azure as such but Message Broker for AWS IoT uses MQTT and is like any other MQTT broker (like mosquitto for Linux). MQTT messages basically work on Topics. If the android app ...
Hitesh Pratyush V's user avatar
3 votes

Why some IoT devices cannot connect to MQTT broker

Do you know if the nodes being provisioned have proper date/time set? In my experience with similar situation, it turned out that NTP is often blockedby ISPs and IoT nodes could not fetch network ...
mharizanov's user avatar
3 votes

Third party IOT Device, traffic through AWS. No local access. Proper way to sniff traffic?

If the device has been designed properly then even trying to sniff the traffic should not give you anything useful as all the traffic should be encrypted as it travels between the cloud/device. You'...
hardillb's user avatar
  • 12.5k
3 votes

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

There are some suggestions on the AWS forum which I believe may help you: I did a procedure similar to this.... Initially flash each device with a certificate only used during production. Every ...
valentin's user avatar
  • 186
3 votes

Create a toggle between two actions in IFTTT

I believe that stringify can do this, and will also interact with IFTTT if you need to access specific devices. I thought that IFTTT also had a new feature to write applets (with cloud state), but I'...
Sean Houlihane's user avatar
3 votes
Accepted

Alexa - call web API in localhost from AWS Lambda Console

localhost always points to the machine the code is running on. In this case the lambda is running on one of Amazon's machines so the web app you are trying to access will not be there (as it's ...
hardillb's user avatar
  • 12.5k
3 votes
Accepted

aws iot - mosquitto_sub does not subscribe

Two things: The + as a wild card for subscription is NOT honored. From the documentation: The MQTT wildcard character '+' is not treated as a wildcard within a policy. Attempts to subscribe to ...
cogitoergosum's user avatar
3 votes
Accepted

MQTT disconnects from AWS when publishing a message

Some quick possibilities: You don't actually have a thing with the name of "myid". You haven't given this client the rights to the topics you're subscribing to or publishing on. There's not ...
kalyanswaroop's user avatar
2 votes
Accepted

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

After doing some further research, I'm pretty sure Thing Types are what you want. Thing types allow you to store description and configuration information that is common to all things associated ...
Aurora0001's user avatar
  • 18.5k
2 votes

AWS IoT Authentication - Using own certificate not working

I ran into a similar problem with a different solution If you create a certificate using a default openssl.cnf, or some other mechanism that generates an SSL certificate such as PHP's ...
SynaTree's user avatar
  • 121
2 votes

S3 Actions from ActiveMQ (IoT Core)

One way is you have to create the web service which upload the data on S3. and call service through http protocol. 1. https://www.w3schools.com/xml/xml_services.asp use this to create the webservice ...
EKNATH KULKARNI's user avatar
2 votes
Accepted

I am new to IOT and am looking for some platform I can use to learn how to create IOT applications

Welcome. I love your question, and have marked it a favo(ur)ite. However, it will probably be closed as far too broad. If you can narrow down your requirements, you will probably get a good answer (...
Mawg says reinstate Monica's user avatar
2 votes
Accepted

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

AWS Greengrass is designed to do IoT processing at the edge, rather than (or in addition to) sending it to the cloud. So, if you want to do some processing of your data at the edge, you can use any ...
Gambit Support's user avatar
2 votes

Best way to store the data received from aws iot core

It depends on the type of data and what you want to do with it. I have a Raspberry Pi AWS IoT project and I'm storing data on DynamoDB. But since I need to do aggregation queries, I then feed it ...
John S's user avatar
  • 481
2 votes

Why one should choose GraphQL instead of MQTT for an IOT project?

This one is a good confusing one, I'm no GraphQL expert however it seems to me that MQTT and GraphQL are not at all the same things because they does not serve the same purpose: MQTT does not really "...
YCN-'s user avatar
  • 473
2 votes
Accepted

Create and manage thousands of "things"

Why not let it have an initial certificate so that the first message can be "Hello. I'm up and my serial number is abcd." ? In the cloud, you can then look up your sales/fulfillment database ...
kalyanswaroop's user avatar
2 votes

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

It turns out that the way to this is to first get a list of all principals for a thing (which may or may not include a certificate) using the ListThingPrincipals functionality of the API which returns ...
Suever's user avatar
  • 151
1 vote
Accepted

What is the maximum number of IOT things of topic per AWS account?

There is no known limit to the number of IOT things that can be concurrently connected. The broker is obviously able to have enough IP addresses and ports to allow virtually unlimited incoming ...
kalyanswaroop's user avatar
1 vote

Project IoT backend for monitoring sensor data

Check out our https://mqttlab.iotsim.io/aws for Getting Started with AWS IoT.
Gambit Support's user avatar
1 vote

Why some IoT devices cannot connect to MQTT broker

Assuming you have an app to push the WiFi credentials to the device, can you test the MQTT connection from the app over the same network? This would give you access to the errors thrown by the MQTT ...
hardillb's user avatar
  • 12.5k

Only top scored, non community-wiki answers of a minimum length are eligible