Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic ESP8266 OTA with password how to (Read 755 times)
MB
Newbies
*
Offline


Posts: 5
Joined: Oct 16th, 2015
ESP8266 OTA with password how to
Nov 2nd, 2022 at 11:34am
Print Post  
Hello.
I am using ESP8266 ESP01 for several home automation projects. To avoid incidentally upload code to improper board I introduced password policy, so each board has different OTA password.

Problem is that if I attempt to upload code using Visual Micro as plugin to Visual Studio 2022, Password entry window doesn't come up, so I am not able to enter password. Therefore I have to open project in Arduino IDE and upload from there - Totally inconvenient.

My question is how could I enter OTA password into Visual Micro uploader to upload directly from VisualMicro?

Please advice.

Same situation could be also on other OTA cvompatible platform i.re ESP32.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: ESP8266 OTA with password how to
Reply #1 - Nov 2nd, 2022 at 2:39pm
Print Post  
Hi,

If you can post the info requested in yellow near the top of the page that will allow us to replicate and see why the password dialog does not appear.

However, with Visual Micro you don't need to use the dialog. You can use a local board.txt to declare port, password etc.

Please see the ESP guides in our main docs and in particular this page shows some examples of setting password etc. This gives password per project.

https://www.visualmicro.com/page/OTA-Uploads-for-ESP8266.aspx
https://www.visualmicro.com/page/OTA-Uploads-for-ESP32.aspx
« Last Edit: Nov 2nd, 2022 at 2:42pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint