mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2025-12-13 19:12:10 +01:00
Increase WiFi passphrase length to 63 + terminator. #13
This commit is contained in:
parent
9b8a952db9
commit
b1b8d1be46
5 changed files with 8 additions and 14 deletions
8
Web.cpp
8
Web.cpp
|
|
@ -905,10 +905,10 @@ void Web::begin() {
|
|||
server.send(500, _encoding_json, F("{\"status\":\"ERROR\",\"desc\":\"Shade not found to pair\"}"));
|
||||
}
|
||||
else {
|
||||
if(shade->bitLength == 56)
|
||||
shade->sendCommand(somfy_commands::Prog, 7);
|
||||
else
|
||||
shade->sendCommand(somfy_commands::Prog, 1);
|
||||
//if(shade->bitLength == 56)
|
||||
shade->sendCommand(somfy_commands::Prog, 4);
|
||||
//else
|
||||
// shade->sendCommand(somfy_commands::Prog, 1);
|
||||
shade->paired = true;
|
||||
shade->save();
|
||||
DynamicJsonDocument doc(512);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue