Coder Social home page Coder Social logo

EspEasy upload via web interface about espbuddy HOT 2 CLOSED

soif avatar soif commented on July 23, 2024
EspEasy upload via web interface

from espbuddy.

Comments (2)

soif avatar soif commented on July 23, 2024

As ESPBuddy obviously needs some command line skills, as well as having php installed, It limits its usage to users who are a bit experimented, and thus are certainly able to git clone EspEasy, install PlatformIO, and add the OTA feature before letting EspBuddy built it and upload it. So the need of using pre-build binaries is really hypothetic IMHO.

But anyway, If you wish to add a curl upload method (ie -u) to Espbuddy, you're really welcome to submit a Pull Request (to the develop branch). 🍺

Notice that unfortunately this will not work directly for 1M devices because the current EspEasy is larger than (1M - 128k / 2), so in this case the curl upload should proceed in 2 steps (exactly as it does fo the Espbuddy OTA method) :

  1. upload an intermediate firmware (the one shipped with Espbuddy)
  2. upload the final firmware

Also you would have to slightly modify the archive mechanism so that if Firmware.bin is NOT a symlink ( you might even add a --firm=/path/to/firmware option), once uploaded, it is correctly moved to the firmware folder, and symlinked as Firmware.bin

And finally be sure to put some of the code in repo + repo_espeasy classes, so that it is cleanly extendable to Espurna or Tasmota.

from espbuddy.

kluszczyn avatar kluszczyn commented on July 23, 2024

Making changes in your code is over my head (unfortunately).
Idea was to replace OTA by curl upload for EspEasy, as web upload is enabled by default and available in pre-build binaries.

So, feel free to close this issue.
Thanks

from espbuddy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.