Are the sketches in your cloud web editor sketchbook linked to and therefore synced from your local computer? Or is the only way to have the latest version of something you did on your computer to copy and paste into the online editor? You're not able to reupload because it says there is already a sketch of that name. The two are clearly linked because you can see sketches from web and local from within the IDE on the computer. If this is not a feature, then why are they connected, and why not is it not a feature?
If I'm just doing something wrong then please help me out.
Hi @justinmd. Thanks for your interest in the Arduino IDE 2.x Remote Sketchbook feature.
They are synced when you sync them.
If you hover your mouse pointer over a sketch in the "Remote Sketchbook" in Arduino IDE 2.x, you will see two icons appear to the right.
One looks like a cloud with a downwards pointing arrow. Click that icon to "pull" the latest version of the sketch from the Arduino Cloud sketchbook to the copy of the sketch on your computer.
One looks like a cloud with a upwards pointing arrow. Click that icon to "pus" the latest version of the sketch from your computer to the copy of the sketch in the Arduino Cloud sketchbook.
No, just click the "push" icon.
It is a feature.
You can learn about using the Arduino IDE 2.x remote sketchbook from this tutorial:
As seen in the below attached screenshot, all I have options to do are download, open in cloud editor and to share. There is no option to push the current version of the code from the local computer to the cloud.
The version of the program is up to date as far as I know.... It asked me to update when I launched it recently, and I closed and opened it today and no prompt to update.
This is because you have never pulled the remote sketch. Click the icon with the cloud that has a downward pointing arrow to pull the sketch. Once you have done that, you will be able to open the remote sketch in Arduino IDE, edit it, then push the changes back to the Cloud Sketchbook.
So I had to take a new sketch on my computer, upload it to the webeditor, then download it from the remote sketchbook on my computer back to my computer to give me the option to then reupload it if I make changes on my computer.
made a change to the local copy, and clicked the icon to push it to the web. Confirmed I wanted it to overwrite and now the web version is still the old copy. This "feature" doesn't seem very useful.
This is not necessary. Even though it is not mentioned in the tutorial, starting with Arduino IDE 2.0.2, you can create remote sketches in Arduino IDE. Simply click the big "NEW REMOTE SKETCH" button you see at the bottom of the Remote Sketchbook or select File > New Remote Sketch from the Arduino IDE menus.
Try refreshing the browser window that has the sketch open in the Arduino Web Editor. If you have the sketch open in the browser at the time you push from Arduino IDE, it will not be automatically refreshed in the browser even though the change was pushed to the copy of the sketch in the Cloud sketchbook.
I just did a test and it worked perfectly for me.
If you still aren't able to make it work then let me know and I'll investigate further.