Questions tagged [aws-iot]

AWS IoT is Amazon's implementation of an IoT gateway.

AWS IoT is a managed cloud platform that lets connected devices easily and securely interact with cloud applications and other devices. It works as a gateway for your devices (things) to communicate with any of the AWS services. AWS IoT can support billions of devices and trillions of messages, and can process and route those messages to AWS endpoints and to other devices reliably and securely.

Resources:

1216 questions
4
votes
1 answer

AWS Cognito: Can't get Credentials

i can't get the Credentials for my CognitoIdentity. When the User is successfully authenticated, he needs to get a Identity to access other AWS Services. In my case thats AWS IoT. But for somehow, i can't get any credentials. This is the Error…
David
  • 1,084
  • 12
  • 36
4
votes
1 answer

Aws IoT Message Delivery

I am looking into Amazon IoT as a transport mechanism for mobile devices periodically measuring data (usually every N minutes, with N being anywhere between 2 and 32 minutes). With MQTT, I can utilize Amazon's broker to publish finished measurement…
heisenberg
  • 139
  • 1
  • 12
4
votes
2 answers

AWS IoT Universal Policy vs Policies by Cognito User

I was wondering if anyone has the idea of the best practices on AWS IoT regarding the handling of policies, for example, we could have two different cases: Case 1: Call a lambda(identity-id as param) which creates a policy on the fly and then…
jamesjara
  • 554
  • 5
  • 14
4
votes
2 answers

Incorrect connection header with MQTT over Websocket with AWS IoT

I have an issue with AWS IoT. I was using the same code for month. But suddenly it stopped working. I'm using Mqtt over Websocket with AWS IoT. This is the simple bit of code I use. import com.amazonaws.services.iot.client.AWSIotException; import…
severin.julien
  • 1,314
  • 15
  • 27
4
votes
4 answers

AWS store MQTT message to DynamoDB

I built a python script that sends MQTT message periodically. This is the JSON string sent to the backend: {"Id": "1234", "Ut": 1488395951, "Temp": 22.86, "Rh": 48.24} On backend side, I want to store the MQTT message into DynamoDB table. I…
Federico
  • 1,117
  • 6
  • 20
  • 37
4
votes
2 answers

Device subcription to topic on AWS IoT

I was trying out AWS IoT with my Raspberry Pi using Node.js and aws-iot-device-sdk. It is connecting fine but on .subscribe it is not calling the callback function. and publish is not publishing. Please if you can point me in the right direction. I…
Sandeep Singh
  • 745
  • 4
  • 20
4
votes
4 answers

Using protobuf with Amazon IoT

I am investigating creating an embedded AWS IoT project and would like to use the google protobuf (binary serialization) for message payload - for size, ease of parsing, reliability etc. AWS IoT speaks JSON, Protobuf converts quite nicely to & from…
FrozenKiwi
  • 1,362
  • 13
  • 26
4
votes
1 answer

Should device working with AWS IoT be publishing to its shadow only?

Let's say we have a device with sensors (eg. bunch of weather sensors like wind/air/hum/temp) and this device needs to report it's state to AWS IoT. Let's say that every minute device would be publishing a bunch of readings as one big json: { …
Dimitry K
  • 2,236
  • 1
  • 28
  • 37
4
votes
1 answer

How to upload images taken by raspberry to AWS IoT

I am trying to program a raspberry pi so it can take picture every 1o seconds and upload to DynamoDB through AWS IoT. So far I have programmed pi to take picture every 10 minutes. But I am not being able to send it to AWS IoT. I have been working…
4
votes
3 answers

Does AWS-IOT Mqtt Broker remember subscribed clients and undelivered messages across client Connections?

AWS Documentation here ( [http://docs.aws.amazon.com/iot/latest/developerguide/iot-message-broker.html] ) says this :- "The message broker maintains a list of all client sessions and the subscriptions for each session. When a message is published on…
dgcoder
  • 95
  • 7
4
votes
1 answer

Use of AWS IOT for indirectly connected devices

I am thinking about using AWS IoT for an application, where there are several thousands of small bitmap displays (connected with proprietary wireless protocol) behind (possibly hundreds of) distributed gateways (PCs or Raspberry Pi's). So far I have…
Ruediger Jungbeck
  • 2,836
  • 5
  • 36
  • 59
3
votes
2 answers

Very slow delivery of queued stored messages on Eclipse Mosquitto

I am running Mosquitto as a Docker container, version 2.0.14 (image: eclipse-mosquitto:2.0.14). Intentionally not running 2.0.15 as that one has a current regression that is affecting us. I have created a bridge to AWS, following the standard…
serroba
  • 111
  • 7
3
votes
2 answers

Azure Service to Publish and Subscribe on custom topic same as available in AWS IoT

I am working on a software, where I need to send a JSON payload to a wide range of clients. Here the client is a windows PC, where my software is running. On some event, I need to trigger some actions on the client. To achieve this I was using AWS…
HarisH Sharma
  • 1,101
  • 1
  • 11
  • 38
3
votes
2 answers

How to create a serverless websocket client on AWS

Using AWS, I want my backend to listen to a websocket connection from an external server (that I do not control). This websocket connection emits market data. Each time the external server pushes data onto the websocket, I want a Lambda function to…
Vingtoft
  • 13,368
  • 23
  • 86
  • 135
3
votes
1 answer

Creating things on Amazon IoT Core

I built a couple of test IoT hardware devices for home automation which I want to control with an Android app I also wrote. The app will be used by several people. My plan is to use Amazon IoT Core to let the apps send MQTT commands to the IoT…
Gianluca Ghettini
  • 11,129
  • 19
  • 93
  • 159