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
4 answers

Unzipped size must be smaller than 262144000 bytes aws-iot-device-sdk-v2

just installed aws-iot-device-sdk-v2 into my lambda cluster. I am able to install the package just fine into the project. Unfortunately, I got the error An error occurred: exampleLambda - Resource handler returned message: "Unzipped size must be…
Sean
  • 592
  • 4
  • 9
  • 19
4
votes
0 answers

esp32 x509 over GPRS to AWS MQTT (8883)

i am new to iot and aws, i am facing a problem communicating with aws mqtt over gsm module first i used an example to communicate with AWS MQTT using a WIFI library by setting the private,root,and certificate, using wifi client like this …
mohammad
  • 2,142
  • 7
  • 35
  • 60
4
votes
1 answer

Why is my AWS IoT SDK thing shadow update request timing out using the Node SDK?

Following an AWS example here and referencing a balena.io example, I'm attempting to to get a "thing" (currently a script on my Mac) to update a thing shadow on AWS. I'm getting close. So far I can successfully register interest in a thing shadow…
4
votes
2 answers

How to attach Cognito Identity ID to the AWS IoT Policy?

I am trying to make a connection between AWS IoT and my React JS APP. I followed this tutorial (https://medium.com/serverlessguru/serverless-real-time-reactjs-app-aws-iot-mqtt-17d023954045), and it is not clear to me how to attach the Cognito…
4
votes
3 answers

How to solve: premature close at onclosenexttick in Node.js Server?

How to solve this error, I am running my Node.js with AWS IoT then it at times shows this error: throw er; // Unhandled 'error' event ^ Error: How (/home/ec2-user/work/nodejs_27_01/node_modules/end-of-stream/index.js:54: …
user12423529
4
votes
2 answers

Using Amazon MQ or AWS IoT for self managed IoT Devices

I've tried Amazon MQ today and found out that it is very easy to setup and we can integrate the pub/sub feature on our IoT device side quickly. But unfortunately, when I check the limitations of Amazon MQ, the maximum connection for an instance is…
JLT
  • 3,052
  • 9
  • 39
  • 86
4
votes
1 answer

Connect timeout exception for AWS IOT

AWSIoTPythonSDK.exception.AWSIoTExceptions.connectTimeoutException I'm getting this exception after running the sample python code on my machine. Referred to the github exmaple. https://github.com/aws/aws-iot-device-sdk-python/issues/223 I tried…
XLR8 Robotics
  • 41
  • 1
  • 3
4
votes
3 answers

can not connect to aws iot device with react native

i am building IoT app with react native. used this package https://github.com/aws/aws-iot-device-sdk-js but got error while running app import React, {Component} from 'react'; import {Platform, StyleSheet, Text, View, …
Yash Vaghela
  • 562
  • 1
  • 5
  • 16
4
votes
2 answers

AWS IoT Subdomain Too Long for AWS IoT Button (Gen 1)

I'm trying to connect a generation 1 AWS IoT Button (the blue kind) to my AWS IoT core instance. In the configuration, it says to input a subdomain that is 14 characters long so that it can create the endpoint for the button. However, my IoT…
M.S.
  • 893
  • 1
  • 7
  • 12
4
votes
0 answers

Unable to connect to aws-iot using paho-mqtt java client code

I created thing on AWS core. Then downloaded cert, private key and rootCa certificate too. My main goal is to publish and subscribe to AWS shadow so that I can automate my home lighting system. I tried to connect to aws iot using paho mqtt java…
subodh007
  • 153
  • 7
4
votes
1 answer

spring boot web app for authentication/autorization using AWS Cognito Java API

AWS Cognito primarly meant for Serverless user authentication from Mobile or Web application (Javascript). The primary concern is that, we need to do client implementation for each of the client like Android, IOS and Javascript. Instead of that can…
Praveen Kumar
  • 1,515
  • 1
  • 21
  • 39
4
votes
1 answer

aws greengrass core running in docker container on rPi3

I have an AWS Greengrass Core setup in a docker container. Everything seems to check out fine, but the greengrass daemon fails to start - error is: Greengrass deamon xx failed to start Failed to create overlay fs for container nosysRootfs operation…
jdeason
  • 73
  • 5
4
votes
1 answer

AWS IoT Python SDK and asyncio

I need to use AWS IoT MQTT service. I am doing some experimenting with https://github.com/aws/aws-iot-device-sdk-python currently. My application will be using websockets to communicate with another service, and then publish / subscribe to MQTT…
Giannis
  • 5,286
  • 15
  • 58
  • 113
4
votes
1 answer

Creating AWS IoT "things" with policies and certificates on-the-fly

I am using NodeJS along with AWS JS SDK and AWS IoT Device JS SDK in order to automatically create a new thing and assign certificates and policies to it once it connects to my server. I was following "Just-in-Time Registration" article in order to…
errata
  • 5,695
  • 10
  • 54
  • 99
4
votes
2 answers

Thing Types in CloudFormation template

From the documentation, there is a syntax for creating things in AWS IoT but I can't find how to connect it to Things Type. Is it possible to write it like this? AWSTemplateFormatVersion: "2010-09-09" Resources: MyThing: Type:…
DrSensor
  • 487
  • 6
  • 18