AWSomeIoT
AWSomeIoT
  • Видео 5
  • Просмотров 50 527
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...
Просмотров: 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...

Комментарии

  • @olle6da6low
    @olle6da6low 3 месяца назад

    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.

  • @deanludeke
    @deanludeke 4 месяца назад

    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!!

  • @johanvandeventer9462
    @johanvandeventer9462 10 месяцев назад

    Are there more videos still coming? this has been very helpful!

  • @frankzheng5221
    @frankzheng5221 10 месяцев назад

    Thanks for sharing this. very well-organized tutorial. Help me a lot as a beginner.

  • @aacasd
    @aacasd 10 месяцев назад

    Can we subscribe to multiple different topics on AWS IoT core?

  • @donsahgodfred9941
    @donsahgodfred9941 Год назад

    Thanks a lot

  • @sylvainngacham8914
    @sylvainngacham8914 Год назад

    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.

  • @pravin4592
    @pravin4592 Год назад

    Can I run the python script for dht11 sensor in this artifacts ?and after deployment , can it show the data?

  • @FabricioReis
    @FabricioReis Год назад

    It is wonderful your job. Congratulations!!!

  • @julianhigginson1044
    @julianhigginson1044 Год назад

    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!

  • @dallushenoy
    @dallushenoy Год назад

    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?

  • @michaelosumune2149
    @michaelosumune2149 Год назад

    You are indeed a lifesaver. I would love to connect with you

  • @nanditasahu2358
    @nanditasahu2358 Год назад

    Great video :)

  • @JonathanKaye1
    @JonathanKaye1 Год назад

    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.

    • @chandannayak9008
      @chandannayak9008 6 месяцев назад

      hey! Did you code worked properly?..... I am having some issue can you help me with that?

  • @ruandut
    @ruandut 2 года назад

    Lovely content. Really helpful stuff.

  • @pankeshpatel6835
    @pankeshpatel6835 2 года назад

    As name suggest ("AWSomeIoT"), the author has covered greengrass topics nicely! Thank you very much for covering the content, Sir!!!!

  • @michaelr9510
    @michaelr9510 2 года назад

    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?

  • @Kanal_Sinko_MX
    @Kanal_Sinko_MX 2 года назад

    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

    • @Kanal_Sinko_MX
      @Kanal_Sinko_MX 2 года назад

      I already delete and reset all the process, following each video step by step and nothing :(

    • @Kanal_Sinko_MX
      @Kanal_Sinko_MX 2 года назад

      Finally, i was be able to perform this action, I just had to give priveleges to each folder of greengrass/v2/...

    • @swarnaprabhajena
      @swarnaprabhajena 7 месяцев назад

      @@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.

  • @thanhbinhlunguyen8929
    @thanhbinhlunguyen8929 2 года назад

    Thank you for this video ♥!

  • @cronglee6717
    @cronglee6717 2 года назад

    Great video to study Gg. Thanks a lot.

  • @pittwolf7956
    @pittwolf7956 2 года назад

    Thanks a lot. You videos is very very helpful for me.🥰

  • @vitorsdedeus1366
    @vitorsdedeus1366 2 года назад

    HOw to make it work for unnamed shadows?

  • @thesalcedo
    @thesalcedo 2 года назад

    Great series! I'd love to see a demonstration on automatic fleet provisioning and Bulk Registration.

  • @veselhaxha6477
    @veselhaxha6477 2 года назад

    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.

  • @parth_325
    @parth_325 2 года назад

    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.

    • @awsomeiot1448
      @awsomeiot1448 2 года назад

      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.

  • @xxwildxxful
    @xxwildxxful 2 года назад

    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.

    • @Kanal_Sinko_MX
      @Kanal_Sinko_MX 2 года назад

      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"

    • @JonathanKaye1
      @JonathanKaye1 Год назад

      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.

    • @JonathanKaye1
      @JonathanKaye1 Год назад

      @@Kanal_Sinko_MX you have to open the file browser with elevated permissions, i.e., sudo pcmanfm

  • @看海的男子阿達
    @看海的男子阿達 2 года назад

    Thank you for this video!

  • @renekuhn3810
    @renekuhn3810 2 года назад

    Thank you for this video!

  • @user-ot2dp5hb1o
    @user-ot2dp5hb1o 2 года назад

    Nice!

  • @user-ot2dp5hb1o
    @user-ot2dp5hb1o 2 года назад

    Nice!

  • @user-ot2dp5hb1o
    @user-ot2dp5hb1o 2 года назад

    Nice!

  • @dylanatevergreen4304
    @dylanatevergreen4304 2 года назад

    I am struggling to deploy this at scale because the recipe must indicate a specific device name and cannot use a variable. Any ideas?

    • @awsomeiot1448
      @awsomeiot1448 2 года назад

      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.

  • @adrianacavalcanti7950
    @adrianacavalcanti7950 2 года назад

    Great content! Just wondering if you could explain a little bit better the Log Manager Component and how to use it.

  • @jitendrazala4993
    @jitendrazala4993 2 года назад

    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.

    • @awsomeiot1448
      @awsomeiot1448 2 года назад

      Yes you can using the local MQTT broker and connect the local devices (ESP32) directly to that broker.

  • @jitendrazala4993
    @jitendrazala4993 2 года назад

    Great explanation about Green Grass Deployment on Raspberry Pi device

  • @bonomonod
    @bonomonod 2 года назад

    Thanks, it seems like we need greengrass resource access role policy attached too for the installation on pi to succeed.

    • @awsomeiot1448
      @awsomeiot1448 2 года назад

      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.

  • @rahvinos
    @rahvinos 2 года назад

    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.

    • @awsomeiot1448
      @awsomeiot1448 2 года назад

      Ok I will try to cover that in the coming month.

  • @qle303
    @qle303 2 года назад

    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.

    • @awsomeiot1448
      @awsomeiot1448 2 года назад

      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.

  • @Joseph20077
    @Joseph20077 2 года назад

    Great tutorial I would be great if you could explain a little bit about local client devices and how they work thanks a lot!

    • @awsomeiot1448
      @awsomeiot1448 2 года назад

      Thanks for the feedback i will add it in the list for when i get motivated to make the next one!

  • @Joseph20077
    @Joseph20077 2 года назад

    Thank you this is a great explanation.

  • @GhostGERD
    @GhostGERD 2 года назад

    Thank you, for making this video :)

  • @TheKmorales019
    @TheKmorales019 2 года назад

    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

  • @sutanmuhamadsadamawal715
    @sutanmuhamadsadamawal715 2 года назад

    Great Explanation. Could you please explain how to connect others device like ESP32 that connect to IoT core trough greengrass core ?

    • @awsomeiot1448
      @awsomeiot1448 2 года назад

      Sure I will add it to the list. I will get started on the videos again in the new year.

  • @appster4475
    @appster4475 2 года назад

    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.

    • @awsomeiot1448
      @awsomeiot1448 2 года назад

      Sure I will add it on the list for the next video.

  • @dylanatevergreen4304
    @dylanatevergreen4304 2 года назад

    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?

    • @awsomeiot1448
      @awsomeiot1448 2 года назад

      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.

    • @dylanatevergreen4304
      @dylanatevergreen4304 2 года назад

      @@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.

    • @dylanatevergreen4304
      @dylanatevergreen4304 2 года назад

      @@awsomeiot1448 was able to get it to classic shows with empty string. thx

  • @dylanatevergreen4304
    @dylanatevergreen4304 2 года назад

    You are a lifesaver a i love you

  • @SuperCeylonASMR
    @SuperCeylonASMR 2 года назад

    Thank you, very interesting 👍👍👍