|Syfaro 0356028940 Fix incorrect EXPOSE port.||1 month ago|
|persephone||1 month ago|
|.drone.yml||1 month ago|
|.gitignore||9 months ago|
|Dockerfile||1 month ago|
|Pipfile||1 month ago|
|Pipfile.lock||1 month ago|
|README.md||9 months ago|
|screenshot.png||9 months ago|
Easy way of managing firmware and configuration on ESP8266 devices using ESP8266httpUpdate.
Configuring updating is quite easy. First, you must have a version constant defined somewhere. Then, add the following line to your loop:
ESPhttpUpdate.update("192.168.1.2", 5000, "/update", version);
Replace the IP address and port as needed with where your server is located.
Setting up configuration is a little more difficult (until I finish the
library to do it for you). The
/config endpoint expects a
X-PERSEPHONE-CFG-UPDATE header with the unix timestamp of the last
configuration update. It also requires the
with your ESP8266’s MAC address (as it uses this to identify devices).
It will return a 304 if the configuration is already up to date, or
the contents of the configuration file otherwise. On the response, it
X-Update-Time header that you should store to send in the