Browse through the questions and answers listed below or filter and sort to narrow down your results.
AWS IoT Thing Connected Event, Find the thing Name from Event.
How I can get the thing name from the AWS IoT Lifecycle event of connected/disconnected. I also want to add filter while listing the lifecycle event such that I can get only the selected thing's event. #1. One is from client Id must be thing name. (this might not be viable in our usecase) #2 Is there any way I can decode the "principalIdentifier" and find out the thing-name? (at iot rule filter OR at lambda function) #3 is there any better solution for knowing the device online/offline status? (only if connected to IoT Core)
Can lambda function return additional custom information/message when "allowProvisioning" : "false"?
If the Lambda function doesn't return "allowProvisioning" : "true" in the response, the provisioning request fails with ACCESS_DENIED. Is it possible to add additional custom information for the user when "allowProvisioning" : "false" in the response ? e.g. information why provisionig failed
AWS IOT thing packet missing
Hi, I am using the **AWS IOT Core** service, In that, I created a Thing and I used **Thing API** directly in the **EC2 instance**. I am receiving data from the topic to which I subscribed. But here I am **losing lots of packets from that topic**. Is it because lots of devices are connected to a single thing? and how to solve this problem? please suggest to me how to solve this...
Device MetaData in AWS IOT core
Can we store Device/Thing MetaData in AWS IOT core ? We have iot things that we provision using fleet provisioning. These devices have metadata associated with it and other characteristics example battery health data which can change. What is a good practice to maintain this data ? Should we use device shadows to maintain the battery health etc ? This data only flows from the device to aws and not vice versa , is the device shadow still a good place to hold the information ? How do we store the metadata associated with a thing ? We will need to retrieve this data using api's when needed.
IoT Wireless Device Profile LoRaWAN Rx1Delay does not work
When trying to create a Device Profile for LoRaWAN Rx1Delay defaults to 1 second delay no matter what it is set to. The range is 1 - 15 seconds. I looked in the EU868 spectrum with an SDR and the rx response from my LoRaWAN gateway is consistently about 1 second.
Aws iot core and greengrass for Android devices
We are looking into iot device management solutions and are analyzing the AWS iot core and greengrass among other products. Our iot devices can be of different types and we will also have zebra devices on android. The AWS iot documents mention that greengrass is supported on Linux and windows. Can we effectively use it for Android devices also? Also we are looking at fleet provisioning of the iot devices. Is this supported for Android devices? Thank you.
Creating IoT Wireless downlinks with Boto3
I might be missing something here, but I'd like to use Boto3 to create and queue downlink messages to LoRa devices. However, the docs only appear to support `delete_queued_messages()` and `list_queued_messages()`. https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/iotwireless.html Does boto3 really only support listing and deleting downlinks? Is there no way to create?
Duplicate MQTT messages being received at DynamoDB
So I have some sensors that are sending MQTT data using the IOT Core to DynamoDB. However I note that there are always 2 messages(duplicates). I am using Select for the topic, set up a Rule as was needed,etc. ITs all working fine, except for the duplicates. I looked through the questions but didn't find an answer. Any suggestion to find the root cause appreciated. Regards 6/11/22 additional data Some additional info might be useful so I have provided it here. Rule query statement The source of the messages you want to process with this rule. Extract below............. SELECT state.reported.value as state_reported_value FROM '#' Using SQL version 2016-03-23 Actions Actions are what happens when a rule is triggered. Insert a message into a DynamoDB table Extract end................. Hope this helps in directing me. Regards
Is this specific board "ESP32-S2-DevKitC-1" compaitble with IoT Core, FreeRTOS Quick Connect and setup, etc?
[this page](https://docs.aws.amazon.com/freertos/archive/202012.00/userguide/getting_started_espressif.html) explains how to easily connect. Does this also work with DevKitC-1 or only DevKitC-4? Does my specific devboard support quick connect and all the benefits listed [here](https://devices.amazonaws.com/detail/a3G0h0000077nRtEAI/ESP32-WROOM-32SE)? I don't have much experience, so any help would be greatly appreciated.
IoT Custom job for running a ota update fails via aws-iot client service
Hello, i have been using aws iot jobs for sending custom jobs like restarting a service, rebooting a device or running a custom ota job like pulling from git. I have noticed that when i run the built binary of aws-iot-client manually from a shell with the job's config file it works when it recieves a custom ota job. But when the same binary with same config file is run from aws iot service it doesn't work. The job reports failed state with a message code exited with status code 1. Can you help me more on this. The update-software.sh file for ota handler is: ``` #!/usr/bin/env sh set -e echo "Running update-software.sh" user=$1 echo "Username: $user" if id "$user" 2>/dev/null && command -v "git" > /dev/null then echo "Starting the update command" . /home/pi/triton_software/update.sh else "Update failed!!" exit 1 fi echo "update-software command is done" ``` and the update.sh script which is being called is ``` #!/usr/bin/env sh cd /home/pi/amazon-kinesis-video-streams-producer-sdk-cpp; git pull origin main; cd build/; cmake -DBUILD_GSTREAMER_PLUGIN=TRUE ..; make; ``` Any help is appreciated, Thanks Subham