mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2025-12-13 19:12:10 +01:00
Update release binaries
Update the binaries to the current release
This commit is contained in:
parent
71e5b8a648
commit
2730a994a7
4 changed files with 2 additions and 1 deletions
Binary file not shown.
Binary file not shown.
2
Web.cpp
2
Web.cpp
|
|
@ -184,7 +184,7 @@ void Web::begin() {
|
||||||
uint8_t target = 255;
|
uint8_t target = 255;
|
||||||
somfy_commands command = somfy_commands::My;
|
somfy_commands command = somfy_commands::My;
|
||||||
if (method == HTTP_GET || method == HTTP_PUT || method == HTTP_POST) {
|
if (method == HTTP_GET || method == HTTP_PUT || method == HTTP_POST) {
|
||||||
if (server.hasArg("shadeId")) {
|
if (apiServer.hasArg("shadeId")) {
|
||||||
shadeId = atoi(apiServer.arg("shadeId").c_str());
|
shadeId = atoi(apiServer.arg("shadeId").c_str());
|
||||||
if (apiServer.hasArg("command")) command = translateSomfyCommand(apiServer.arg("command"));
|
if (apiServer.hasArg("command")) command = translateSomfyCommand(apiServer.arg("command"));
|
||||||
else if(apiServer.hasArg("target")) target = atoi(apiServer.arg("target").c_str());
|
else if(apiServer.hasArg("target")) target = atoi(apiServer.arg("target").c_str());
|
||||||
|
|
|
||||||
|
|
@ -1318,6 +1318,7 @@ class Somfy {
|
||||||
document.getElementById('btnLinkRemote').style.display = 'none';
|
document.getElementById('btnLinkRemote').style.display = 'none';
|
||||||
document.getElementsByName('shadeUpTime')[0].value = 10000;
|
document.getElementsByName('shadeUpTime')[0].value = 10000;
|
||||||
document.getElementsByName('shadeDownTime')[0].value = 10000;
|
document.getElementsByName('shadeDownTime')[0].value = 10000;
|
||||||
|
document.getElementById('fldTiltTime').value = 7000;
|
||||||
document.getElementById('somfyMain').style.display = 'none';
|
document.getElementById('somfyMain').style.display = 'none';
|
||||||
document.getElementById('somfyShade').style.display = '';
|
document.getElementById('somfyShade').style.display = '';
|
||||||
document.getElementById('btnSaveShade').innerText = 'Add Shade';
|
document.getElementById('btnSaveShade').innerText = 'Add Shade';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue