Fix OTA
This commit is contained in:
parent
e8924e14e9
commit
100a16308b
|
@ -2643,7 +2643,7 @@ void OvmsWebServer::HandleCfgFirmware(PageEntry_t& p, PageContext_t& c)
|
|||
"<p>Automatic updates are normally only done if a wifi connection is available at the time. Before allowing updates via modem, be aware a single firmware image has a size of around 3 MB, which may lead to additional costs on your data plan.</p>");
|
||||
c.print(
|
||||
"<datalist id=\"server-list\">"
|
||||
"<option value=\"https://ovms.bit-cloud.de/firmware/ota\">"
|
||||
"<option value=\"https://ovms-ota.bit-cloud.de\">"
|
||||
"<option value=\"https://api.openvehicles.com/firmware/ota\">"
|
||||
"<option value=\"https://ovms.dexters-web.de/firmware/ota\">"
|
||||
"</datalist>"
|
||||
|
@ -2654,7 +2654,7 @@ void OvmsWebServer::HandleCfgFirmware(PageEntry_t& p, PageContext_t& c)
|
|||
"</datalist>"
|
||||
);
|
||||
c.input_text("Update server", "server", server.c_str(), "Specify or select from list (clear to see all options)",
|
||||
"<p>Default is <code>https://ovms.bit-cloud.de/firmware/ota</code>.</p>",
|
||||
"<p>Default is <code>https://ovms-ota.bit-cloud.de</code>.</p>",
|
||||
"list=\"server-list\"");
|
||||
c.input_text("Version tag", "tag", tag.c_str(), "Specify or select from list (clear to see all options)",
|
||||
"<p>Default is <code>main</code> for standard releases. Use <code>eap</code> (early access program) for stable or <code>edge</code> for bleeding edge developer builds.</p>",
|
||||
|
|
|
@ -749,7 +749,7 @@ std::string OvmsWebServer::CfgInit3(PageEntry_t& p, PageContext_t& c, std::strin
|
|||
if (server.empty())
|
||||
server = MyConfig.GetParamValue("ota", "server");
|
||||
if (server.empty())
|
||||
server = "https://ovms.bit-cloud.de/firmware/ota";
|
||||
server = "https://ovms-ota.bit-cloud.de";
|
||||
|
||||
MyOTA.GetStatus(info, true);
|
||||
|
||||
|
|
13
README.MD
13
README.MD
|
@ -18,7 +18,18 @@ The fork is fixed at Version 3.3.002 with their provided modified ESP-IDF
|
|||
|
||||
## Releases
|
||||
|
||||
Successful build will be uploaded to my own ovms-server at https://ovms.bit-cloud.de/firmware or under Releases tab so self host them
|
||||
Successful build will be uploaded to my own OTA ovms-server at https://ovms-ota.bit-cloud.de or under Releases tab so self host them. You can just enter my OTA server URL under Config -> Firmware -> Update Server and click Flash from web-tab with empty URL to flash my firmware.
|
||||
|
||||
I will maintain main and edge version tag, please only flash main versions if you want to use it.
|
||||
|
||||
### Version numbers
|
||||
|
||||
Firmware versions will be named like openvehicles ones. I will add a dash with a counting number so I can signal if an update is available. If I push my fork to newest version from openvehicles, I increase original Firmware number.
|
||||
|
||||
Example
|
||||
> Version string: 3.3.002-cs131 <br>
|
||||
> 3.3.002 = Original firmware my fork based on. <br>
|
||||
> -cs131 = counting number of my version.
|
||||
|
||||
## Build prerequisites
|
||||
|
||||
|
|
Loading…
Reference in a new issue