Comments (2)
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) :
- upload an intermediate firmware (the one shipped with Espbuddy)
- 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.
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)
- Upload Second step without delay
- --retry=count to retry upload when failing
- Migrate from one firmware to another
- Keep N number of previous version and rotate them
- Fix directories with spaces or characters to escape
- Can't get it working for ESPEasy 2.0 and ESP8285 HOT 29
- Implements Crc4esp as post build script
- error when I try to upload file? HOT 7
- Implementing SonOTA
- Flashing a custom Firmware to Sonoff DIY devices, from the factory firmware HOT 5
- Clear TODOs
- Support for .bin.gz images HOT 2
- Wiki Documentation
- Spread The World HOT 1
- Reorganise built-in help command HOT 1
- Full firmware name
- Global Preferences HOT 1
- Per config or host : Git Checkout / pull
- Refactor command/config/host/global/ override mechanism
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from espbuddy.