If you are asking a question, please follow this template:
- My goal is: have OTA on esp32 using AWS automatically update the shadow with the url and commit the new firmware
- My actions are: currently I have to do a: mgos_shadow_updatef(0, “{ota:{url: %Q}}”,url); /* clear OTA url so an OTA update does not start again*/ otherwise I get an endless loop. In addition I commit the firmware manually because otherwise it timesout and reverts to the original fw
- The result I see is: have to manually update shadow and commit new ota fw
- My expectation & question is: I expect the shadow to be updated automatically. Is this an error? Another developer says that he never had to update the shadow.