This is used for AWS IOT Greengrass discussions. AWS IoT Greengrass is an Internet of Things (IoT) open source edge runtime and cloud service that helps developers build, deploy, and manage device software. https://aws.amazon.com/greengrass/
Questions tagged [aws-iot-greengrass]
155 questions
2
votes
3 answers
Cannot put object to S3 using aws lambda running on Greengrass
I am trying to store some sensor data to S3 from RPi using AWS Greengrass and Lambda running on the edge device.My code is very basic now with the objective of checking the S3 write. Though I am getting an exception for my lambda when I try to run…

Bipradip
- 21
- 1
2
votes
3 answers
How to write unit tests with files which directly or indirectly `import greengrasssdk`
Whenever a file imports import greengrasssdk the unit tests fail, because the module greengrass_commondoesn't exists on my local machine and I cannot install it via pip.
I am executing the tests with PyCharm. The Greengrass lambda, I try to test,…

Toby
- 229
- 1
- 2
- 7
2
votes
2 answers
Execute lambda function on local device using greengrass
I am trying to learn AWS greengrass and so I was following this tutorial https://docs.aws.amazon.com/greengrass/latest/developerguide/gg-gs.html which explains step by step on setting up with greengrass on raspberry pi and publishing some messages…

Nik391
- 517
- 2
- 7
- 24
1
vote
1 answer
Can't get greengrass to work with TPM privkey and cert
I'm trying to get greengrass working with a SLB9670 tpm, and can't seem to get it working no matter what I try. All documentation online seems incorrect or deprecated in relation to this process. This is the script I'm using to generate the key/cert…

Joshua S
- 11
- 3
1
vote
1 answer
(nucleus):IDT 4.7.0 for greengrass v2 cloudcomponent test failed Failed at 'the Greengrass deployment is COMPLETED on the device after 180 seconds
Hope someone can help me out with this ; stuck on the error for days
Describe the Error
Running IDT shows error in cloudcomponent log
the Greengrass deployment is COMPLETED on the device after 180 seconds
comes up with
2023-Mar-29 10:22:22,494…

jason yu
- 21
- 5
1
vote
1 answer
Greengrass V2 generates extra `stdout` logs
I deploy greengrass components into my EC2 instance. The deploy greengrass components have been generating logs which wraps around my python log.
what is causing the "wrapping" around it? how can I remove these wraps.
For example, the logs in bold…

user-517752
- 1,188
- 5
- 21
- 54
1
vote
0 answers
I need to find connectors of some protocols for IoT greengrass v2
Can anyone help me finding greengrassV2 connectors for the below listed protocols. I have been searching for them.
IEC 60870- 5-101
IEC 60870-5-103
IEC 60870-5-104
DNP3.0 TCP/IP

khÜs h
- 51
- 6
1
vote
1 answer
Ingest video by Edge connector Kinesis video streams or ProducerSDK?
I want to ingest videos and datas from IoTCar. I will install greengrass core to car's edge gateway. According to aws docs, I found two ways to deal with this.
1, Using stream manager to ingest data and export to kinesis data streams; Using edge…

user7472559
- 13
- 4
1
vote
1 answer
While browisng OPC-UA nodes, My code is iterating for tag nodes too weather if it has further nodes or not. How can I know If a node is a tagor not?
Here my code is for iterating the nodes, but its also iterating for the leaf node and checking for its child(which is the tag node), how can I directly know if the current node is tag node or not, without seeing for its child.
below is my java…

khÜs h
- 51
- 6
1
vote
0 answers
Greengrass StreamManager unable to connect to IoTAnalytics
I'm quite new to AWS and Greengrass v2 and step by step I seem to get the hang of it. But now I'm stuck and I wanted to ask this question here:
I have a functioning Greengrass Core device installed using the --provision true option, so the Role and…

Hans Cornelis
- 63
- 1
- 7
1
vote
2 answers
AWS Greengrass V2 Node Publishing problem with aws-iot-sdk-v2 JS
For the past few days I've been trying to solve the problem of publishing a message from Lambda to the AWS cloud, using Greengrass v2.
The code in python was even provided in the documentation, only had to be slightly reworked.
When it comes to SDK…

ChristopherTal
- 9
- 1
1
vote
1 answer
collection.find({matchQuery}) in MongoDb is taking too long
I am trying to read some limited records after performing a match query on find() collection in mongoDb.
The query takes forever to process.
In the next line, I try to read elements of the returned collection and that also takes a lot of time to…

MMA
- 41
- 5
1
vote
0 answers
ResourceRegistrationFailureException when calling the RegisterThing operation - thing groups conflict
I am getting the following error when trying to use the RegisterThings action from AWS IoT. Within the API, call, I am trying to set the thing groups but getting the following error:
An error occurred (ResourceRegistrationFailureException) when…

Chris Mutzel
- 91
- 1
- 2
1
vote
3 answers
AWS IOT ShadowManager - Synchronization error
I'm working on an IoT project using AWS IoT and Greengrass v2 and I'm trying to integrate the ShadowManager component to use local shadows but when I deploy it on my device, it return a fatal exception during the synchronization…

paboccard
- 11
- 1
1
vote
1 answer
AWS Greengrass Quickstart Docs - Invalid Token Error
Following the AWS Greengrass Quickstart Docs
Install the AWS IoT Greengrass Core software step 5 leads to the error :
The security token included in the request is invalid
I have tried:
with both my normal creds, temporary creds (as…

av0000
- 1,917
- 6
- 31
- 51