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
2
Web.cpp
2
Web.cpp
|
|
@ -184,7 +184,7 @@ void Web::begin() {
|
|||
uint8_t target = 255;
|
||||
somfy_commands command = somfy_commands::My;
|
||||
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());
|
||||
if (apiServer.hasArg("command")) command = translateSomfyCommand(apiServer.arg("command"));
|
||||
else if(apiServer.hasArg("target")) target = atoi(apiServer.arg("target").c_str());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue