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

Remove OTA feature #1738

Closed
proddy opened this issue May 4, 2024 · 3 comments
Closed

Remove OTA feature #1738

proddy opened this issue May 4, 2024 · 3 comments
Labels
enhancement New feature or request technical Technical enhancement, or tech-debt issue
Milestone

Comments

@proddy
Copy link
Contributor

proddy commented May 4, 2024

I'm planning on removing the OTA feature. You can upload firmware versions over-the-air via the WebUI upload feature or via a Python script in platformIO or standalone via the CLI.

This will also free up some memory in EMS-ESP for other features.

@MichaelDvP agree with this? I'll make a PR

@proddy proddy added enhancement New feature or request technical Technical enhancement, or tech-debt issue labels May 4, 2024
@proddy proddy added this to the v3.7.0 milestone May 4, 2024
@MichaelDvP
Copy link
Contributor

OK,
i've used it very few times when i broke the webinterface and don't want to walk stairs, but i think normal users never need it.
Also remove the OTA description from docs.

@proddy
Copy link
Contributor Author

proddy commented May 4, 2024

Ok, I'll do the change now. I've added a script so you can still upload a .bin file from a Linux or DOS prompt

proddy added a commit to proddy/EMS-ESP32 that referenced this issue May 4, 2024
@proddy
Copy link
Contributor Author

proddy commented May 4, 2024

with OTA removed there is 8kb flash free'd up and I'm my ESP32-S3 about 2kb more heap and alloc buffer space.

To upload from platformIO add this to your pio_local.ini

[env]
; upload settings
upload_protocol = custom
custom_emsesp_ip = 10.10.10.173
custom_username = admin
custom_password = admin
upload_port = /dev/ttyUSB*

and include the upload.py script like

extra_scripts =
  pre:scripts/build_interface.py ; comment out if you don't want to re-build the WebUI each time
  scripts/rename_fw.py
  scripts/upload.py

To upload from the command line use

python3 scripts/upload_cli.py -i 10.10.10.173 -f ./build/firmware/EMS-ESP-3_7_0-dev_8-ESP32_4M.bin

proddy added a commit that referenced this issue May 4, 2024
@proddy proddy closed this as completed May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request technical Technical enhancement, or tech-debt issue
Projects
None yet
Development

No branches or pull requests

2 participants