When one of the buttons is clicked, the js function setValues(string) is called. The given parameter "string" contains a string in the format "id|content|type". In setValues these information get parsed out of the string and the element (of DOM) with the id "id" will be replaced by the value of "content" (type is just the type of element, in my case div). So far so good...
I just added OTA functionality to my ESP Project, so that I can visit http://IP/update to update it.
But how can I tell the buton to start the update after uploading the binary? Which function do I have to call?
Sadly there is didn't find a documentation for the ESP8266HTTPUpdate library, just this page http://esp8266.github.io/Arduino/versions/2.0.0/doc/ota_updates/ota_updates.html, but there is no description how to modify it, just how to use it.
Thanks for your help!