Browse through the questions and answers listed below or filter and sort to narrow down your results.
2
answers
0
votes
56
views
asked 9 days ago
1
answers
0
votes
16
views
asked 14 days ago
1
answers
0
votes
23
views
asked 22 days ago
1
answers
0
votes
23
views
asked 24 days ago
LoRaWAN FUOTA task schedule - wrong time
Hello,
I'm creating a LoRaWAN FUOTA task and I'm trying to schedule it for now but I get an error:
"The date entered must be greater than or equal to the current calendar date and not greater then 48 hours"
For example, I'm doing this at May 29, 2022, 09:57:00 (UTC+0300) and I'm trying to enter May 29, 2022, 09:59 and I get this error.
I assume it somhow connected to UTCC and day light saving but I did not understand how.
As I'm doing testing of the FUOTA I need to activate the task now and not in a future time.
Thanks,
Eyal
Accepted AnswerAWS IoT Core
1
answers
0
votes
18
views
asked a month ago
Using one Certificate attached to a Thing with multiple ClientId
I have a device which consists of 2 modules: one High-Power and one Low-Power. High-Power module is connected to the Iot, but if nothing is happening, it goes to ac stand-by mode and the Low-Power module wakes up and connects to IoT. High-power module is using `${thingName}` as `clientId` in MQTT client and I would like Low-Power module to use the same certificate as High-Power but different `clientId`. For High-Power I have a IoT `iot:Connect` policy with resource `arn:aws:iot:REGION:ACCOUNT_ID:client/${iot:Connection.Thing.ThingName}` and it works fine. For Low-Power I'd like to use `clientId` `${thingName}-low`. I tried setting up the `iot:Connect` policy as follows: `arn:aws:iot:REGION:ACCOUNT_ID:client/${iot:ClientId}` but client cannot connect. If a Certificate is attached to a Thing does it mean I can use **only** `clientId` == `${thingName}`?
EDIT: When I attach the connect policy to the Device-Group - Lower-Power module CANNOT connect. When I attach the same policy directly to the Certificate, it CAN connect
Accepted AnswerAWS IoT Core
1
answers
0
votes
38
views
asked a month ago
What is AWSIOTDataPlaneBuilder?
Hi repost community,
I'm looking to populate AWS IOT core device shadow in a lambda function. I'm looking to use Device Shadow REST API.
After looking around, it looks like I need to add "Authorization" header myself. Then I looked into [documentation](https://docs.aws.amazon.com/general/latest/gr/signing_aws_api_requests.html) which suggested me to look into AWS SDK.
Finally I found [AWSIOTDataPlaneBuilder](https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/services/iotdataplane/IotDataPlaneClientBuilder.html) which does have a bunch of shadow methods I need. But there's no documentations or example for this.
1. So what is AWSIOTDataPlaneBuilder? Is this supposed to be used?
2. if not, is any example for REST API calling to device shadow(from cloud with auth header)? All I found is MQTT examples.
Accepted AnswerAWS IoT Core
1
answers
0
votes
20
views
asked a month ago
1
answers
0
votes
23
views
asked a month ago
JITP PROVISIONING DEVICE SHADOW CREATION
HI, I have followed the instructions from : https://aws.amazon.com/premiumsupport/knowledge-center/aws-iot-core-jitp-setup/,
and i have created a thing in the AWS IoT Core.
But there is no shadow created in the Device Shadows -- Device Shadows (0)Info.
How i can create also the Device Shadow with JITP Provision?
Thanks.
Accepted AnswerAWS IoT Core
1
answers
0
votes
12
views
asked 2 months ago
1
answers
0
votes
20
views
asked 2 months ago
Java IoT connection kit won't build...
I have successfully created an IoT device and was able to make it work with Windows and Python SDK. I then wanted to see how the Java code worked so I selected Windows and the Java SDK and on this page https://us-east-2.console.aws.amazon.com/iot/home?region=us-east-1#/connectdevice/, clicked next and selected the device which I had already set up and have working in Python. I clicked Next Step and clicked the link to download the Java SDK. I extracted the Java SDK and started a windows Power Shell. I unzipped the downloaded SDK, changed directory to it, ran the change to the execution policy "Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process" and then ran start.ps1. The example fails to build with the error:
>
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.373 s
[INFO] Finished at: 2022-04-28T15:29:22-07:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project aws-iot-device-sdk-java-samples: Could not resolve dependencies for project com.amazonaws:aws-iot-device-sdk-java-samples:jar:0.0.1-dev: Could not find artifact com.amazonaws:aws-iot-device-sdk-java:jar:0.0.1-dev in central (https://repo.maven.apache.org/maven2) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
Any ideas how to fix this?
Accepted AnswerAWS IoT Core
1
answers
0
votes
75
views
asked 2 months ago
Integrate AWS-IoT in Helium
I am trying to connect a LoRaWan device (DRAGINO; RS485-LN converter) via Helium so that you (AWS) can monitor and graphically represent data from devices that communicate via modBus-RTU (RS485).
In addition to "Access Key", "Secret Key", "Region" and "Topic" that Helium asks me to integrate AWS, what other data do I need and where is it for AWS to receive data from Helium?
Could it be wrong that "Region = Global" and "Topic = AWS IoT MQTT"?
What other parameters might be wrong or what am I missing for me to start communicating "Helium" with AWS?
Accepted AnswerAWS IoT Core
2
answers
0
votes
17
views
asked 2 months ago
AWS IoT - No Lifecycle events - Fleet Indexing shows all devices disconnected
I have enabled[ fleet indexing](https://docs.aws.amazon.com/en_us/iot/latest/developerguide/managing-index.html) with ["thing connectivity"](https://docs.aws.amazon.com/iot/latest/apireference/API_ThingConnectivity.html), however when I run a search on things using "search-index" all things come back as not connected.
I can see on the AWS IoT Monitor Dashboard, using the "Metric type rate(%)" Pie Chart, that there are definitely "Connect" and "Ping" metrics.
I have turned on debug logging in IoT and can search for logs in cloudwatch, but there are [no lifecycle events](https://docs.aws.amazon.com/iot/latest/developerguide/life-cycle-events.html) showing.
Any suggestions for how to debug this further?
Accepted AnswerAWS IoT Core
2
answers
0
votes
15
views
asked 3 months ago
3
answers
0
votes
58
views
asked 3 months ago
Clarification on which Gateways receive SendDataToWirelessDevice downlink messages
Our AWS account supports multiple private LoRaWAN networks (multi tenant- for different customers).
When sending a downlink to a Class A Device using [SendDataToWirelessDevice](https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_SendDataToWirelessDevice.html) Device ID is provided. Which Gateway(s) is this message dispatched to? Is it sent only to the Device's "Last connected gateway", or?
I want to ensure downlinks destined for CustomerA do not broadcast to CustomerB's Gateways.
Accepted AnswerAWS IoT Core
1
answers
0
votes
5
views
asked 3 months ago
Failed to send one byte message to AWS IOT Wireless device through queue downlink message
When I try to send a one byte message to my LoRa device that is connected to AWS IOT Wireless server I get a warning when I enter "1" in the Payload field and try to Submit that says:
```
Payload must follow pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$
```
This is under:
AWS IoT > Wireless connectivity > Wireless devices > [Device ID] > Queue downlink message
Accepted AnswerAWS IoT Core
1
answers
0
votes
8
views
asked 3 months ago