Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[INFO] ElegantOTA is replaced with ArduinoOTA #5

Open
RomanAlexandroff opened this issue Nov 25, 2023 · 0 comments
Open

[INFO] ElegantOTA is replaced with ArduinoOTA #5

RomanAlexandroff opened this issue Nov 25, 2023 · 0 comments

Comments

@RomanAlexandroff
Copy link
Owner

RomanAlexandroff commented Nov 25, 2023

After experiencing countless issues and instabilities using ElegantOTA (not only) in this project, the decision has been made to migrate all the OTA functionality to ArduinoOTA. The changes to the project has been made and tested. So far, ArduinoOTA has shown much greater stability and reliability.

To update with ArduinoOTA:

  1. make sure the device is ON and within range of the Wi-Fi network you defined as HOME_SSID in your credentials.h file;
  2. type your OTA password into the Telegram chat. Wait for OTA activation confirmation and proceed to the next step.

Do not forget to start your password message with a slash (/) symbol. By this symbol the Telegram bot understands that you are addressing him.
Do not spam the chat with messages. In Home mode the device wakes up once every 30 minutes, so it may take some time to answer.
Do not just leave the device with activated OTA mode. The device will be waiting for you to start the update for hours upon hours, what will quickly drain out the battery! If you suddenly decided not to update, send the device a message with any other command — that will cancel OTA mode and put it to sleep.

  1. in Arduino IDE go to Tools > Port and click on the device name. If the name is not in the port list, restart your Arduino IDE and repeat the step;
  2. Click on the Burn button to upload the new firmware to the device.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant