Great video mate! Really explained everything in details. I could not find any video explaining the AWS iot pub sub process so well.. Big thumbs up.. Keep it up..
@ThingsSchool
3 жыл бұрын
Thanks for the comment Shakti :) Hoping to keeping up with the work!
@MeWhoYes
2 жыл бұрын
Very Nice, the little bits of explanation above the standard AWS FAQs goes a long way to help with understanding. Many thanks
@ThingsSchool
2 жыл бұрын
Thanks @Ian :) Much appreciated.
@rutdvajrawal7933
Жыл бұрын
You are my saviour.. I was after this issue for the last 20 days
@ThingsSchool
Жыл бұрын
You're welcome R! and thanks for the kind words :)
@federicocanete2905
3 жыл бұрын
Hey this is amazing man! It's very useful and you went into great detail. Thank you!
@ThingsSchool
3 жыл бұрын
Thanks mate :)
@gabrieldavid7664
3 жыл бұрын
I love you very much! Everything went well, I am extremely grateful!
@ThingsSchool
3 жыл бұрын
Pleasure ☺️
@trepivideos
10 ай бұрын
Awesome tutorial - keep it up with these! This does a great job of breaking down the aspects step by step and explaining how AWS IoT pub/sub works. Would like to hear a little more about incorporating this into existing code.. If we had code prior that is able to output certain data into serial monitor or via BLE, what aspects of line 59 (+ other lines) need to be changed to send that data to AWS IoT Cloud? Again - appreciate it!
@ThingsSchool
10 ай бұрын
Thanks for the kind words Kim :) You have got it right! If your existing code collects sensor data and is able to output in Serial monitor, assign it to JSON keys the way I have done it in line 59. You basically need to merge your existing code into my template by copy pasting your code from headers, initialisation, setup, loop and an custom functions into mine at the top so the lines of code in template follows your lines of code (making sure you use only one Serial initialisation since I have done it already in my code). This should help. If this doesn't help, send me an email so I could help further!
@TheMarcelobunito
3 жыл бұрын
Thank you very much. That was very informative.
@AzwarNrst
3 жыл бұрын
thank you brother, you save my day 😁👍🏻
@lordfooby
3 жыл бұрын
Great Video! Thanks for taking the time to walk through this
@ThingsSchool
3 жыл бұрын
Pleasure is mine :)
2 жыл бұрын
Thank you very much for make and share this tutorial! I have problems to receive msg from AWS IoT and you help me to solve the problem! Very good video!
@ThingsSchool
2 жыл бұрын
Glad it helped!
@akulsinha1247
2 жыл бұрын
The code only uploads the first reading of the sensor on the cloud. To get updated readings of the sensor every second, we need to use shadows which was briefly explained at the start of the video. I have tried both ways and finally got output using the shadows.
@rahulvethekar6780
3 жыл бұрын
thank you for uploading this video. plz do more video on aws iot.
@ThingsSchool
3 жыл бұрын
Sure :) Thanks for the motivation!
@tzu-yilee7707
Жыл бұрын
thank you so much!! it's very helpful
@ThingsSchool
Жыл бұрын
Glad it helped!
@rassinpk6927
3 жыл бұрын
thanks bro, it worked perfectly
@katiarodrigues897
3 жыл бұрын
Excellent!! You have my thanks. 👍
@ThingsSchool
3 жыл бұрын
Thank you so much Katia :)
@pipoyII
3 жыл бұрын
thank you, you save my day
@ThingsSchool
3 жыл бұрын
You're welcome :) Happy to know it was of help.
@preethichintam5239
12 күн бұрын
thank you it is working
@stephen279
3 жыл бұрын
thanks so much for this very good
@jeand1286
2 жыл бұрын
Thank you!
@bhargavirani5261
2 жыл бұрын
You are ausum,ThankYou Much
@ThingsSchool
2 жыл бұрын
Thank you ☺️
@alagarasanr2189
3 жыл бұрын
Thank you very much for the tutorial.. Its any possible to get any intimation if device or thing goes offline
@ThingsSchool
3 жыл бұрын
You're welcome A! We can deploy a lambda check to periodically for the device shadow if it has the latest timestamp... This is one of the quick solutions I can think of
@sanchitadas9837
2 жыл бұрын
Great tutorial... I want to know if I can connect Teensy device to aws iot core.. I dont see Teensy board in the aws supported device.
@ThingsSchool
2 жыл бұрын
Thanks Sanchita! Teensy (the ones I have come across thus far) doesn't have inbuilt WiFi, so unless you connect it with an external WiFi module, you won't be able to send messages from Teensy to AWS IoT Core
@Travis-cx5bf
2 жыл бұрын
Very nice tutorial! Thank you. I have one question: Instead of publishing data every second, how can I make the data available upon request by the user via a SMS text message instead? Are there any resources for getting started on how to do this? Thank you!!
@ThingsSchool
2 жыл бұрын
Thanks for the comment @Travis! Well, getting the data on request via SMS has its own challenges, but instead you can try one of the following 2 1. Update the Device Shadow from the IoT Device periodically, so only when you need the latest device status, you get it from the the Device shadow (by making a HTTP/REST API request to an API using API Gateway linked to a Lambda function that can fetch the device shadow) 2. Program the device such that only when it receives a certain message as part of it subscription, it publishes the device info. Then whenever you make a HTTP/REST API request via API Gateway that triggers the Lambda function, it publishes a message to IoT Core, which when received by the IoT device publishes the device info to a certain topic which you can receive. This will be purely on-demand message exchange as opposed to the first appraoch. Reach out to me at sufian@things.school if you need more help on this.
@Travis-cx5bf
2 жыл бұрын
@@ThingsSchool thank you very much for the detailed and helpful reply! I will look more in to the options you suggested :)
@onkargadale
2 жыл бұрын
I am not able to connect to the AWS all process done I don't what is exactly missing
@vishnudpillai
Жыл бұрын
my device is connected to AWS cloud, but unable to publish and subscribe. I have done everything as u explained here. can you please help me?
@meanonymous1000
2 жыл бұрын
Hey , please make project controlling multiple relays to esp32 using AWS iot
@knob340
2 жыл бұрын
Hi this video is great, I am making a project where my esp32 is sending data to my node.js project. the data is getting to the mqtt test client but when I try to subscribe to esp32/pub from my node.js project i get nothing. Any ideas? sorry to bother you but i've been trying for days haha
@ThingsSchool
2 жыл бұрын
Thanks for the review Brian! Are you not using aws-iot-device-sdk for node.js? If you do that, your node program will act as a client / another device and you'll be able to exchange message with esp32 easily. I just tried this and it works.
@knob340
2 жыл бұрын
@@ThingsSchool Thanks for the reply! Sorry I found the problem, I had left a line out of my policy thats was not allowing me to subscribe.
@ThingsSchool
2 жыл бұрын
@@knob340 No problem!
@harshavardhanay83
3 жыл бұрын
Is the code even applicable for Esp8266 Nodemcu ?
@ThingsSchool
3 жыл бұрын
Hi Harsha, I tried working with my code for ESP8266 but I wasn't successful. I'll try to work on this and publish the code later but when I tried the approach in electronicsinnovation.com/how-to-connect-nodemcu-esp8266-with-aws-iot-core-using-arduino-ide-mqtt/ it worked for me. You can work with that for time being
@harshavardhanay83
3 жыл бұрын
@@ThingsSchool Thank you 👍
@ThingsSchool
3 жыл бұрын
@@harshavardhanay83 Here is another simple way without too much work github.com/debsahu/ESP-MQTT-AWS-IoT-Core/tree/master/Arduino/PubSubClient
@saveplanet3977
3 жыл бұрын
Hi ,while compiling I am getting an error saying "error: secrets.h: No such file or directory".Please can you help .Thanks
@ThingsSchool
3 жыл бұрын
In the video, you might have seen I have 2 tabs in the Arduino IDE... one contains the code and the other contains the variables (secrets). In the github repo given in the description of this video, it has both of those files. Take a look at it. If you have trouble accessing it, here is the link for the secrets.h file in that repo github.com/Things-School/AWS-IoT/blob/master/ESP32_AWSIoTCore_Template/secrets.h Make sure you change the values of variables wherever it is commented with change this
@saveplanet3977
3 жыл бұрын
@@ThingsSchool Thanks for coming back. I tried to compile but still says secrets.h:No such file or directory
@saveplanet3977
3 жыл бұрын
When I go to the particular folder using Cmd ,it shows as secrets.h.ino. Is this correct ?
@ThingsSchool
3 жыл бұрын
@@saveplanet3977 Looks like you created a new Arduino program, since it adds a .ino in the end of secrets.h. That's not the way to go. Watch the video, it has all the answers. To be specific, you need to add another tab (Ctrl/Cmd + Shift + N) in your program which shows this error. Name the new tab as secrets.h and copy paste the content of link I shared in this thread. Then replace the values.
@saveplanet3977
3 жыл бұрын
@@ThingsSchool thankyou I didn't know. It is solved now. What basically did that mean .Ctr+Shift+N. We usually do that in folder structure to create a folder. This symbol was also different
@vishnudpillai
Жыл бұрын
what is the sensor value we are getting here?
@ThingsSchool
Жыл бұрын
It’s a constant value, but you can attach a sensor, get its value and add it to the json that’s being sent
@vishnudpillai
Жыл бұрын
@@ThingsSchool if i have a switch to operate like turn on or off some devices which visualisation platform can we use with the help of AWS cloud??
@ThingsSchool
Жыл бұрын
@@vishnudpillai I generally use Thingsboard, NodeRED or something custom built. These can be setup on an EC2 instance or your own PC
@vishnudpillai
Жыл бұрын
@@ThingsSchool did u made any videos related to this topic?
@ThingsSchool
Жыл бұрын
@@vishnudpillai I haven't made any video on this yet, atleast not for public use. One of the good places to see this in action is Thingsboard's official YT channel. and this video to be specific kzitem.info/news/bejne/2mOak5h8fYGih4I
@RajeevRanjanmypic
3 жыл бұрын
Great stuff, I have a query. If I choose to register a thing (single thing), can the same certificates be used for more than 1 device. My requirement is to do more than 20 esp32 and I don't want to do for each. Also maybe it can cost more if I register more devices. I appreciate anyone who will answer my query. Thanks.
@ThingsSchool
3 жыл бұрын
Hi Rajeev, Thank you. Yes, technically you can use the same certificate for as many devices you want and it will work. However it is not a recommended solution from the security perspective. You can look into Just in time registration process so you dont have to create certificate for each device, instead the device will register itself and create a certificate for itself. From the cost persepctive, I dont think you'll save cost by using a single device certificate, coz what you end up paying is for number of connections, number of messages and number of rules!
@RajeevRanjanmypic
3 жыл бұрын
@@ThingsSchool Thank you so much... you are doing great.
@ThingsSchool
3 жыл бұрын
@@RajeevRanjanmypic You're welcome :)
@fredrickraj9042
Жыл бұрын
Ya u though me a lot but it raise me lot of question please give me a mail id so i can chat u sir
Пікірлер: 83