aws-samples / arduino-aws-greengrass-iot

This library uses AWS C-SDK to implement an Arduino class AWSGreenGrassIoT to make it easy to securely connect sensors/actuator to AWS IoT core, directly or by mean of an AWS greengrass device (i.e. Raspberry PI) using X509 certificates.
Apache License 2.0
44 stars 13 forks source link

OTA (Over The Air) Update #9

Open afloresalmeida opened 4 years ago

afloresalmeida commented 4 years ago

I'd like to know if you guys are planning to put in your Arduino AWS IoT Greengrass Library (by the way, it is awesome), the functionality for OTA (Over The Air) Update, to use it using the Arduino IDE and AWS IoT OTA. Thanks in advance for any help in this.

bvitali commented 4 years ago

Hi Alexandre, there is already a library that execute OTA for arduino, https://www.arduinolibraries.info/libraries/arduino-ota https://www.arduinolibraries.info/libraries/arduino-ota. Unless, you are thinking to something else, in which case, please try to be more specific and I will see what is feasible. Regards Bruno

On 15. Jun 2020, at 13:19, Alexandre Flores de Almeida notifications@github.com wrote:

I'd like to know if you guys are planning to put in your Arduino AWS IoT Greengrass Library (by the way, it is awesome), the functionality for OTA (Over The Air) Update, to use it using the Arduino IDE and AWS IoT OTA. Thanks in advance for any help in this.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/aws-samples/arduino-aws-greengrass-iot/issues/9, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHMR7VGNSVLKBVGG2WLVZ4DRWX7TLANCNFSM4N6CPEYA.

afloresalmeida commented 4 years ago

Hi Bruno, thanks for your answer. I've seen it before, but I was thinking about using the AWS IoT OTA job to control the updates. https://docs.aws.amazon.com/freertos/latest/userguide/ota-cli-workflow.html or https://docs.aws.amazon.com/freertos/latest/userguide/ota-console-workflow.html . If I am not wrong, the code you've sent above make it possible using Ethernet or Wifi, but I need to contact the device using a Web Page, and start the update manually. It takes security concerns, I think, because someone needs to contact the device directly, even behind a firewall. Using AWS IoT OTA, I could start it for a lot of devices, securely, using MQTT, without any person responsible locally for it (a mqtt update channel is opened at the boot of the device, maintaining a secured channel). mDash.net is a very interesting OTA system and one I can compare with what I was imagining. Does it make sense?

makerstorage commented 10 months ago

I also looking for the same thing as @afloresalmeida