squix78 / esp8266-ci-ota Goto Github PK
View Code? Open in Web Editor NEWExample for a continuus delivery by OTA
Example for a continuus delivery by OTA
Hi Dan, as you have probably have gathered I have been working towards re-creating your awesome continuous delivery project, and learning lots in the process. I think I'm almost there. I've got Travis and platformio setup to auto generating the compiled .bin on a release, see blog post. Today I setup the server php script and the ESP code. At first it seemed to work when the build number of the firmware matched the build number on the GitHub release I saw the following output from the ESP:
Going to update firmware...
Checking for Update. Current version: 0.0.1
HTTP_UPDATE_NO_UPDATES
However when I released a point updated release on Github (0.0.1 > 0.0.2), I got the following update from the ESP:
Going to update firmware...
Checking for Update. Current version: 0.0.1
HTTP_UPDATE_FAILD Error (-106): Verify bin header failedGoing to update firmwar.
Have you any idea what could be causing the bin header failed
error? The PHP script is obviously working to serve up the updated .bin, however the ESP http updater seem to be throwing an error.
Here is my ESP code with modified URL for the php scrip. The server code is unchanged ([appart from the repo URL])(https://github.com/openenergymonitor/EmonESP/blob/ota/ota/firmware.php#L3). My php script is served from here if you want to test it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.