Copyright © https://mongoose-os.com

Mongoose OS Forum

frame

AWS Shadow OTA not triggering OTA process

JackJack Australia

I am trying this library

https://github.com/mongoose-os-libs/ota-aws-shadow/tree/release

My device registered to my AWS IoT. I could see the shadow state.

{
"reported": {
"ota": {
"fw_id": "20171207-000001/???",
"mac": "30AEA4067B4C",
"device_id": "esp32_067B4C"
}
}
}

When I follow the demo by entering

{
"desired" : {
"ota_url" : "https://mongoose-os.com/dashboard/ota/xxxx/fw1.zip"
},
"reported": {
"ota": {
"fw_id": "20171207-000001/???",
"mac": "30AEA4067B4C",
"device_id": "esp32_067B4C"
}
}
}

The device received the delta but did not attempt update.

{
"desired": {
"ota_url": "https://mongoose-os.com/dashboard/ota/xxxx/fw1.zip"
},
"reported": {
"ota": {
"fw_id": "20171207-000001/???",
"mac": "30AEA4067B4C",
"device_id": "esp32_067B4C"
}
},
"delta": {
"ota_url": "https://mongoose-os.com/dashboard/ota/xxxx/fw1.zip"
}
}

Am I missing something? Actually me device is also not reporting OTA url.

Comments

Sign In or Register to comment.