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
0
votes
2 answers

AWS IoT: ForbiddenException: Forbidden when trying iotData.getThingShadow() in browser

I am working on browser script uploaded to EC2 to getThingShadow() using Federated Cognito credentials (Facebook login) but only get ForbiddenException: Forbidden the login part was successful, i received credentials (non-empty) from…
Nick
  • 3
  • 3
0
votes
0 answers

Dynamodb Storing map elements as attributes ? (dynamodbv2 action??)

I am being sent a payload from a sensor to a dynamo db table. It has 3 attributes DeviceId (hash key: type string, timestamp (Sort Key: Type String) and payload (type: map). The map has about 10 separate elements. How would I store these elements as…
0
votes
1 answer

I want to access AWS-IoT accounts from a common AWS Lambda

I am connecting AWS IoT things via Rest APIs using End points from AWS lambda. But now i want to make it dynamic, i.e. for each different user requesting from alexa, i want to request APIs of corresponding AWS-IoT account. I am assuming there will…
HimanshuR
  • 1,390
  • 5
  • 16
  • 35
0
votes
1 answer

How do you filter multi-line JSON data from going into AWS Hive table

I have an AWS IoT rule that sends incoming JSON to a Kinesis Firehose. The JSON data from my IoT publish is all on one line - ex: {"count":4950, "dateTime8601": "2017-03-09T17:15:28.314Z"} The IoT "Test" section in the admin UI allows you to…
rynop
  • 50,086
  • 26
  • 101
  • 112
0
votes
1 answer

AWS IOT : Cannot Register with shadow

I have created a thing in AWS IoT called RasberryPi and I am trying to register with its shadow using the following code : var awsIot = require('aws-iot-device-sdk'); var thingShadows = awsIot.thingShadow({ keyPath: "./certs/private.pem.key", …
prime
  • 2,004
  • 3
  • 28
  • 45
0
votes
2 answers

Date conversion in AWS IoT Rule SQL

I create AWS IoT Rules using Ansible playbook for cloud formation. Below is snippet where I want to create a simple rule to write everything from updated device shadow to S3. Name of Key should have YYYY/MM/DD. Code snippet for IoT Rule…
Kru
  • 71
  • 8
0
votes
1 answer

Using IoT platform vs normal web application

There are a lot of IoT platform in the market like AWS Amazon IoT and Microsoft Azure Hub, I understand all the features that are offered by those platforms. Questions: Couldn't I implement all those features on a normal web application which can…
mohamed elsabagh
  • 352
  • 3
  • 16
0
votes
1 answer

Forbidden Error on get_thing_shadow with boto3, aws iot and alexa

I am running a custom alexa skill with flask-ask that connects to aws iot. Using same credentials work when running the script on local machine and using ngrok to assign to Alexa skill endpoint. But when I use zappa to upload as lambda, I get the…
thekindlyone
  • 509
  • 1
  • 6
  • 21
0
votes
1 answer

Invoking AWS Lambda with AWS IoT and getting the result back

I'm trying to get the result of an invoked Lambda function. I invoked it with AWS IoT and don't know how to get the message back to AWS IoT. For this I did a small Node.js code which just adds two numbers and should return the result with the…
0
votes
0 answers

Securely Storing Certificates on Raspberry Pi for AWS IoT Communication

I've been looking around for a clear answer on how to store certificates and/or private keys on a Raspberry Pi for end user distribution. All of the tutorials I have followed so far have you generate the private keys and certificates from the IoT…
user985030
  • 1,557
  • 1
  • 16
  • 32
0
votes
1 answer

AWS IoT guarantee delivery

I am starting with AWS IoT service with Raspberry Pi as a device. And I do not understand how I can make guarantee delivery for my data to AWS IoT MQTT service. There are two cases: The device has no Internet connection but powered on. In this…
Volart
  • 3
  • 1
0
votes
1 answer

Calling UpdateThing returns 504 Gateway Timeout when using AWS C++ SDK

Recently I have started to use the AWS C++ SDK with some success. Those calls that are based on HTTPS GET are working fine. For the IoT REST API I am able to create Things and ListThings. However when I am calling the UpdateThing request, the call…
R Jeans
  • 31
  • 1
0
votes
2 answers

aws embedded c SDK unable to connect with aws iot

Greeting for the days.. I need some help from you all actually after 10 days of leave i am back with my work and i found there are some changes in aws iot console for registering a device(thing) on aws iot. While registering a device on cloud i am…
0
votes
1 answer

Is it possible to call API on EC2 from AWS IoT Rules Engine?

I have use case like once data received in AWS IoT Rules Engine from things, I want to call API instead of dynamoDb, kinesis and lambda. I read FAQ https://aws.amazon.com/iot/faqs/ and doc but now found anything related to routing data to API on EC2…
Ripal Tamboli
  • 562
  • 1
  • 4
  • 16
0
votes
1 answer

Python MQTT Client publish isn't handling variable

My code: myTopic = "lab" myPayload = "" qos = 1 myPayload = input('Enter a message to publish: ') myAWSIoTMQTTClient.publish(myTopic, myPayload, qos) When I run the script, the device connects to AWS IoT, and the "Enter a message to publish:"…
Willman
  • 438
  • 3
  • 6
  • 12