- Видео 5
- Просмотров 50 527
AWSomeIoT
Великобритания
Добавлен 1 окт 2021
Hi, I started this channel to share and collaborate on IoT projects. Please suggest content that you would like to see as I'm open to new ideas and keen to help people solve problems.
IMPORTANT NOTE!
To be clear I work for AWS as an IoT Solutions architect in the UK, but the views expressed on this channel are entirely my own and I do not speak for or on behalf of AWS on this channel!
IMPORTANT NOTE!
To be clear I work for AWS as an IoT Solutions architect in the UK, but the views expressed on this channel are entirely my own and I do not speak for or on behalf of AWS on this channel!
AWS IoT Greengrass v2 (Part 5) Working with Shadows & Shadow Manager Component raspberry pi iot
***Comment for suggestions for future videos***
In this video I demonstrate how to use the AWS IoT Shadows concept to report status and control the Red LED on the Raspberry Pi device.
If you have any problems or questions please comment below.
Shadow Manager Doc Link;
docs.aws.amazon.com/greengrass/v2/developerguide/shadow-manager-component.html
Device Shadows overview of Topics;
docs.aws.amazon.com/iot/latest/developerguide/device-shadow-mqtt.html
Public and AWS components on GitHub;
github.com/aws-greengrass/aws-greengrass-software-catalog
Link to code samples
github.com/AWSomeIoT/Greengrassv2
Contents
00:00 Start
00:02 Intro to shadows
01:40 Create Shadowy component
06:50 Deploy the Shadowy component...
In this video I demonstrate how to use the AWS IoT Shadows concept to report status and control the Red LED on the Raspberry Pi device.
If you have any problems or questions please comment below.
Shadow Manager Doc Link;
docs.aws.amazon.com/greengrass/v2/developerguide/shadow-manager-component.html
Device Shadows overview of Topics;
docs.aws.amazon.com/iot/latest/developerguide/device-shadow-mqtt.html
Public and AWS components on GitHub;
github.com/aws-greengrass/aws-greengrass-software-catalog
Link to code samples
github.com/AWSomeIoT/Greengrassv2
Contents
00:00 Start
00:02 Intro to shadows
01:40 Create Shadowy component
06:50 Deploy the Shadowy component...
Просмотров: 5 342
Видео
AWS IoT Greengrass v2 (Part 4) MQTT Pub/Sub using VSCode for remote deployment on raspberry pi iot
Просмотров 6 тыс.2 года назад
Comment for suggestions for future videos In this video we look at how to use VSCode to remotely connect to the Pi to deploy components and monitor them using the debug console component. We also deploy a MQTT component to publish and subscribe to AWS IoT core that allows us to remotely control the red LED and recieve messages from the button press remotely. If you have any problems or question...
AWS IoT Greengrass v2 (Part 3) local Pub/Sub using GG IPC and Debug console
Просмотров 7 тыс.2 года назад
Comment for suggestions for future videos In this video we look into using the IPC to enable components deployed on GGv2 to communicate with each other. Also at the end we look into the local debug console component and how it helps us view the running config on the device. Contents 00:00 Start 00:54 Create new artifacts 02:10 Create Recipe structure 03:20 Add lighty.py code 04:29 Add lighty re...
AWS IoT Greengrass v2 (Part 2) Deploying a component.
Просмотров 12 тыс.2 года назад
In this video we will carry on from part one and deploy our first local component. Please comment for suggestions on future videos Contents 00:00 Start 00:41 Hardware overview 01:50 Test code 04:00 create folder structure 08:45 local deploy 11:50 update recipe to fix error 12:35 Remove component 12:55 Reinstall component 13:40 Summary github.com/AWSomeIoT/Greengrassv2 - Github repository for th...
AWS IoT GreengrassV2 (Part 1) Installing on a Raspberry Pi 3 2.0 aws iot
Просмотров 20 тыс.2 года назад
In this video i will go though the following steps to get a base device (RPI3) upon which we can build a working IoT product; Preparing the SD card/OS Installing GreengrassV2 Creating IAM credentials Installing Java... If you have any comments or suggestions on what you would like to see they are more than welcome. Contents 00:00 Start 00:38 Download and install RPI imager software 01:06 Create...
I had the same setup as you but I could not deploy mqtt. the logs say that the GPIO PINS were already in use. I am not entirely sure why this did not happen to you. once I stopped lighty and buttony (thus freeing the GPIO pins) I was able to deploy mqtt. but the 3 together did not work for me.
Great videos, thank you so much. No fluff, perfect pace, easy to follow. I’d love to pick your brain on a short zoom call, as well as pay you for your time. If that’s something you are open to, let’s talk!! Thanks for the video either way!!
Are there more videos still coming? this has been very helpful!
Thanks for sharing this. very well-organized tutorial. Help me a lot as a beginner.
Can we subscribe to multiple different topics on AWS IoT core?
Thanks a lot
Hello, thank you for this tutorial. I am facing an issue with my Greengrass device after deploying the com.example.blinky component. The LED does not blink and I have tried all the steps mentioned in this tutorial without success.
Can I run the python script for dht11 sensor in this artifacts ?and after deployment , can it show the data?
It is wonderful your job. Congratulations!!!
I found this series a HUGE help alongside the very disconnected AWS documentation/tutorials. just seeing someone actually do the things in realtime and figuring out what they need there and then is great, rather than just using the tutorials which seem to always end up with you stopping a step to start following a chain of definitions deeper and deeper till you start to forget what you were even trying to do... so thanks very much for these videos. a year out and they're still really helpful!
Excellent demo. Thanks for the info. Can you please make one video on deploying aws lambda function on greengrassv2 and invoking them from aws console?
You are indeed a lifesaver. I would love to connect with you
Great video :)
Another excellent video! I did run into a few things I thought I'd mention in the comments: 1. You updated blinky to version 1.0.1 that now passes a value for the blink rate, but that was not mentioned in the video as far as I can tell (it seemed assumed when you looked at blinky to adjust the value). It was simple to use the new code and re-deploy 2. I used your recipe that included installing awsiotsdk, but when I deployed the component, it did not seem to install this dependency. I found this out because when I deployed the component with your script, I would have my component BROKEN (in component list) and in the log it said that it could not find awsiot in the lighty or buttony components. I manually installed the sdk as "python3 -m pip install --user awsiotsdk" and that worked. 3. When I went to the AWS Console online and clicked on my greengrass core device, then I clicked on the Components tab, and it did show my running of blinky, lighty, and buttony alongside the others I deployed. Around 12:15 in your video, your list does not show the components we deployed -- maybe this is some AWS update? In any event, your video is easy to follow, thanks so much! Really curious about #2 issue above, if you have some thoughts.
hey! Did you code worked properly?..... I am having some issue can you help me with that?
Lovely content. Really helpful stuff.
As name suggest ("AWSomeIoT"), the author has covered greengrass topics nicely! Thank you very much for covering the content, Sir!!!!
If you have multiple components that need the local IPC and MQTT.. would each component use this code.. or have one component handle it to other components?
Hello man, I couldn't deploy blinky component :( It even doesn't say "BROKEN" it just doesn't appear, do you have any idea to solve this? I tried with first json deployment and the functional deployment for privileges issue, but it didn't work, "com.example.blinky" is not appearing in the list. Thank you in advance
I already delete and reset all the process, following each video step by step and nothing :(
Finally, i was be able to perform this action, I just had to give priveleges to each folder of greengrass/v2/...
@@Kanal_Sinko_MX for me also same problem occured. after providing the priveledges to greengrass/v2/.... its not showing the component list. Can you pls help me in this.
Thank you for this video ♥!
Great video to study Gg. Thanks a lot.
Thanks a lot. You videos is very very helpful for me.🥰
HOw to make it work for unnamed shadows?
Great series! I'd love to see a demonstration on automatic fleet provisioning and Bulk Registration.
Best online training videos in AWS Greengrass. He is expert in AWS cloud. I did follow all his online videos. Thank you and well done.
Great content, I have question though, how can we can recover BROKEN component automatically on my IoT device, assuming it deployed properly and was running for few hours before moving to final broken state.
It will only be broken if it has tried to run and failed, you can change the number of retries and can reinstall the component to move it out of the broken state.
To avoid to execute with elevated privilege you should do : usermod -a -G gpio ggc_user usermod -a -G dialout ggc_user It will give access to greengrass to GPIO input output.
Bro now when I try to open "logs" folder it doesn't allow me to see the information :( "Error Open directory "greengrass/v2/logs": Permissions denied"
I can confirm this works great, thanks! I prefer to do this as opposed to running the component as sudo. BTW, the video shows around 11:06 that the log error is about setting GPIO pin. I am running on an Rasp Pi 4 Model B, and I am getting the error "Not running on a RPi!". Once I added the ggc_user then it worked without errors/warns.
@@Kanal_Sinko_MX you have to open the file browser with elevated permissions, i.e., sudo pcmanfm
Thank you for this video!
Thank you for this video!
Nice!
Nice!
Nice!
I am struggling to deploy this at scale because the recipe must indicate a specific device name and cannot use a variable. Any ideas?
You can make the recipe generic when deployed back from the cloud you can set up some rules depending on OS and only deploy to those types.
Great content! Just wondering if you could explain a little bit better the Log Manager Component and how to use it.
Great suggestion!
Hi, I went through your videos about GGC. I would like to connect multiple ESP32 devices to Raspberry Pi GGC. How can I achieve that ? Thanks.
Yes you can using the local MQTT broker and connect the local devices (ESP32) directly to that broker.
Great explanation about Green Grass Deployment on Raspberry Pi device
Thanks, it seems like we need greengrass resource access role policy attached too for the installation on pi to succeed.
Yes to set up to provision the device you will need this. This is more of a quick start method in practice you would provision just the certs to the device after installing the GG software.
Great series! I was struggling with Greengrass and AWS workshops to make it work on my Pi, but your series made things so much clearer in no time. There's one thing that I got difficult to understand and make it work. How do you continuously publish data through MQTT to the IoT core for processing or logging in DynamoDB or S3. I got a DHT11 temperature and moisture sensor connected to Pi but I still don't know how to use Streams to push the data to AWS IoT without using callback or sending requests to components. Maybe something you could touch upon in the next video.
Ok I will try to cover that in the coming month.
Very detail, in-depth, and easy to understand from A-Z on this series. Thank you. Looking forward to your next series. If you can show how to connect Home Assistant to Greengrass, that would be Awesome as the community for Home Assistant is huge. Another suggested Series might be Modbus TCP to greengrass or NodeRed to Greengrass. Thank you.
Thanks for the feedback, there is a nodered community component to run nodered within greengrass so that you can deploy the flows remotely. I will have to look into Home Assistant as currently i use NodeRed at home. Thanks for the suggestions i will put them on the list.
Great tutorial I would be great if you could explain a little bit about local client devices and how they work thanks a lot!
Thanks for the feedback i will add it in the list for when i get motivated to make the next one!
Thank you this is a great explanation.
Thank you, for making this video :)
Very educational video, thanks a lot. If you could, it would be nice to have your coaching with aws mqtt bridge if that is possible. Any basic level would be great. Thanks again
Great Explanation. Could you please explain how to connect others device like ESP32 that connect to IoT core trough greengrass core ?
Sure I will add it to the list. I will get started on the videos again in the new year.
Hey your videos are so much helpful for me and my team... Could you please create new video on how can we connect aws IoT greengrass core to aws lambda function.
Sure I will add it on the list for the next video.
1. Using nearly exact same setup I still get authorization issues with a named shadow, not sure how to further debug. 2. Can you show how one would update the unnamed shadow? If I just leave shadow name blank will it assume the classic shadow?
It should just be a case of making sure that the topics for the classic shadow are added to the recipe file. I will check on monday and update the video and reply here if i hit an issue.
@@awsomeiot1448 thanks, I'll keep trying on the authorization for named shadow using your example. Was able to get it going while using an empty string for shadowname in the python script, but it did not appear to update the classic shadow in the AWS console, synchronization was enabled on shadowmanager.
@@awsomeiot1448 was able to get it to classic shows with empty string. thx
You are a lifesaver a i love you
Thank you, very interesting 👍👍👍