How to initiate an OTA update ( from a Thing ) ?

At present I can compile and upload a sketch by clicking on the “upload button” on the Cloud Editor screen on my computer.

Is there any other method of initiating the same process ? i.e. via a “Dashboard” or “Trigger” associated with a cloud “Thing” ?

My goal is to modify an existing sketch ( which I currently occasionally modify and update over the air using the cloud editor myself ) to enable my device to initiate an OTA update if a revised sketch exists.

For example : when powered up, Connect to the local WiFi, connect to the cloud, read a cloud variable, compare to a local variable, if cloud variable is greater value initiate compilation and update.

In order to initiate the “verify / compile / upload process” from a remote location, would my “Device / Thing / Nano33 IOT / Sketch / function” have to generate and send some HTML code thats mimics or is the equivalent as me actually clicking on the “right arrow hotspot” on the CloudEditor page ? Or is there some other way to do this via a “Trigger” or “CloudVariable” ? - Sorry I’m ok writing the source code I but I lack the knowledge around the web stuff…. can someone point me in the right direction ?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.