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
1 answer

Can't use AWS temporary credentials (STS) - forbidden

I need to give temporary Access Keys to my clients to connect to IoT services (publish, receive, etc.). To provide this access, I've created a Lambda function that calls sts.assumeRole to create temporary STS keys. Those keys are being created and…
0
votes
1 answer

How to set Actions in aws java sdk for iot rule?

I am trying to create a rule using the aws sdk for java (not the standalone aws iot java sdk). So far I have done these public class Application extends Controller { static AWSIotClient awsIotClient; private static void init() { …
0
votes
1 answer

AWS Lambda and publishing to AWS MQTT topics - Is it possible

In the first instance I'd like to know if it's possible to publish a message to an AWS IOT MQTT topic from a lambda function? I've found the following python code that I tried but it doesn't seem to work: import boto3 import json client =…
fizzer
  • 2,239
  • 3
  • 17
  • 21
0
votes
1 answer

How can I create a rule for a thing using the aws iot java sdk?

I am trying to create a rule without using the UI provided by AWS but using the java sdk. Looking over the codes of the java sdk I have not seen any codes that creates rule. Any help would be appreciated.
0
votes
1 answer

Receive only one parameter from aws IoT rule's json data

I am receiveing data from AWS IoT and the incomming data looks like: { "desired": { "status": "ON", "Temperature": 4, }, "reported": { "status": "ON", "Temperature": 4 } } I have set up a text message alert every time that…
Victor.Wiedemann
  • 178
  • 1
  • 12
0
votes
2 answers

Err when importing a dependency

I am coming from a ruby programming background and I have started learning java. I absolutely fell in love with it. Right now I am trying to run the sample aws iot java sdk project but I keep getting this err. import…
0
votes
1 answer

Send AWS IoT commands from cloud to device over unreliable connections

We're considering AWS IoT for an upcoming project featuring devices with unreliable network connections. One requirement is to send commands to devices. The commands must be reliably delivered (ack'd) and the devices should also signal…
0
votes
2 answers

How to get aws-iot thing shadow on android app??I Used rest api(created by aws) for this but need to understand how to add headers with rest api?

Now up to i implement web server in nodejs where continuous script is running and shadow will be update by this giving input as per given by user.. this link is basically for adding canonical headers so shall i add any additional headers??if i am…
sagar potdar
  • 598
  • 1
  • 6
  • 22
0
votes
1 answer

Updating thing-shadow on aws-iot using Node.js getting some error..also attached code for reffrence

var awsIot = require('aws-iot-device-sdk'); var myThingName = 'pi_2'; var fs, configurationFile; configurationFile = './configuration.json'; fs = require('fs'); var args = JSON.parse(fs.readFileSync(configurationFile)); var…
sagar potdar
  • 598
  • 1
  • 6
  • 22
0
votes
1 answer

AWS IoT device is not getting message published by iOS app

So I am building an iOS app that can communicate with a device via AWS IoT. both the device and the app are subscribed to the update/accepted, get/accepted and update/delta. I can publish updates from either side, and the update is reflected on AWS…
0
votes
1 answer

Connecting to AWS IoT with Arduino Yun + GPRS

I'm just starting out with AWS IoT and Arduino and have had a look at the SDK for the Arduino Yun on Github. I have data collected by the Arduino and sensors and a GPRS shield connected to the Arduino to send this data, ideally to AWS IoT. The…
0
votes
1 answer

DynamoDB indexing on payload

My DynamboDB row item looks like this: (it is given to me) { "id":"123456", "date_time":"01062016 143212", "payload":{ "type":"A", "value":"temp value", } } I added indexes on id + date_time. how can you add…
shay
  • 2,021
  • 1
  • 15
  • 17
0
votes
0 answers

DynamoDB with SQS

Is there a way that I publish a message to AWS IOT Device shadow and save it to dynamo db and dynamo db will put this data to SQS so that I have a worker thread running on my local server will fetch the data.
0
votes
1 answer

AWS IOT BasicPubSub Arduino Yun Example gives Generic Error & Yield Error when delay is set to 10,000

I downloaded the Arduino Yun SDK from Github & installed as per the given instructions. I ran the example BasicPubSub & it runs successfully & I see messages arriving on MQTT Client subscription topic every second. That's amazing! But I don't see my…
0
votes
1 answer

on_message is not working in python

I am working on aws iot and able to get the shadow state updated by the terminal via shell script .But i am able to get root@raspberrypi:~# ./aws_subscribe.py Connected with result code 0 and also in aws iot home i am getting out of sync error and…
user3445588
  • 39
  • 1
  • 8