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

AWS IoT - Why topic namespace is isolated for regions?

Just read the AWS IoT document. I am very curious about the design of its message broker: The topic namespace is isolated for each AWS account and region pair. For example, the Sensor/temp/room1 topic for an AWS account is independent from the…
shihpeng
  • 5,283
  • 6
  • 37
  • 63
0
votes
1 answer

Shadow status is out of sync in aws iot how to resolve

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 The…
user3445588
  • 39
  • 1
  • 8
0
votes
1 answer

Modify received message in AWS IoT and republish

In the tutorial of rules engine, they say it is possible to say that every time we receive a message that indicates "blue" as the desired color of the light bulb the rules engine transforms it to "green" To do this, I thought about creating a rule…
Karim KARAA
  • 101
  • 3
0
votes
2 answers

AWS Stream data from IOT to dashboard graphs

We need to get data from 1000s of IOT devices (temperature, pressure, RPM etc total 50+ parameters) and show it on a dashboard without much processing (just checking if numbers are in range otherwise raise alarm) but real time. I have reviewed and…
Junaid
  • 1,004
  • 8
  • 24
0
votes
1 answer

Aws Iot create rule error while creating new rule

I am creating a new rule using the following command aws iot create-topic-rule --rule-name my-rule --topic-rule-payload file://myrule.json The content of myrule.json contents is { "sql": "SELECT * FROM 'iot/test'", "ruleDisabled": false, …
0
votes
0 answers

How to consume AWS IoT Service on device or machine

Yesterday I configured my Raspberry Pi to connect with AWS IoT web services. Now my pi can publish and listen messages. On Pi I connected light sensor which will update shadow after every 30 sec. Now I want to write a client (Mobile app or Web app)…
SangamAngre
  • 809
  • 8
  • 25
0
votes
1 answer

Unable to connect AWS IoT to Arduino Yun using Basic Pub/Sub example

I am trying to establish a connection from Amazon Web Service IoT (Internet of Things) to my Arduino Yun. I followed a tutorial about sending and receiving messages using "BasicPubSub" Arduino example, but it would say: Failed to Connect! -13 And…
Jay
  • 11
  • 3
0
votes
2 answers

Sending files from AWS IoT to S3 but bucket is empty

I am sending a file from an IoT device and trying to store into S3. I have created a rule and created a role with policy s3:PutObject for the rule. On publishing the file I am checking the bucket and it remains empty. Question 1: I am not authorized…
Nirupama Rachuri
  • 113
  • 1
  • 1
  • 13
0
votes
2 answers

AWS IoT private.pem.key doesn't exist

When I am trying to run the following node.js example from AWS IoT I get this error(following this tutorial): pi@raspberrypi:~/aws-iot-device-sdk-js/examples $ node device-example.js -g private.pem.key doesn't exist (--help for usage) However I…
Mona Jalal
  • 34,860
  • 64
  • 239
  • 408
0
votes
0 answers

How to interpret the response from OpenSSL?

So in the AWS IoT tutorial I get this: pi@raspberrypi:~/certs $ openssl s_client -connect iot.us-west-2.amazonaws.com:443 -CAfile root-CA.pem -cert certificate.pem.crt -key private.pem.key CONNECTED(00000003) depth=2 C = US, O = "VeriSign, Inc.",…
Mona Jalal
  • 34,860
  • 64
  • 239
  • 408
0
votes
1 answer

AWS Node JS SDK - Amazon IOT - MalformedPolicyException: Policy document is Malformed

I was trying to generate an IOT policy using AWS SDK for Node JS using the following code. var params = { policyDocument: 'file:///tmp/mypolicy.json', policyName: 'my_custom_policy' }; iot.createPolicy(params, function(err, data) { if (err)…
0
votes
1 answer

To connect with AWS IoT broker in iOS

We are developing an application which needs to consume AWS IoT service based on a MQTT protocol deviation. We are currently facing issues to get connected with MQTT broker provided by AWS IoT cloud server. Following is the environment: iOS…
0
votes
1 answer

How to create X.509 compatible to AWS IoT?

I am trying to create self signed X.509 certificate to use in AWS IoT. I could understand that it is not different than normal OpenSSL certificate, but i stumbled on the PEM file which AWS creates is something different. Since i am new to OpenSSL i…
Virtu
  • 130
  • 1
  • 7
0
votes
1 answer

ImportError: cannot import name HTTPSHandler using OpenWrt

I'm trying to install AWS-IoT-Arduino-Yún-SDK following the instructions and got this erros: pip install paho-mqtt Traceback (most recent call last): File "/usr/bin/pip", line 9, in load_entry_point('pip==7.1.2', 'console_scripts',…
lsilvs
  • 104
  • 1
  • 3
-1
votes
1 answer

I want to use my domain link to access s3 objects instead of s3 object link

I'm working on a OTA update, my requirement is that I need a domain link from where the iot device will fetch the update file (which will be stored in s3) , how do I link the s3 bucket through the domain link ( can't use the s3 bucket link directly…