mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2025-12-13 11:02:12 +01:00
Support for Garage doors
This commit is contained in:
parent
64d7abdc16
commit
92b9b679f9
4 changed files with 6 additions and 5 deletions
Binary file not shown.
Binary file not shown.
3
Web.cpp
3
Web.cpp
|
|
@ -36,8 +36,9 @@ void Web::startup() {
|
||||||
}
|
}
|
||||||
void Web::loop() {
|
void Web::loop() {
|
||||||
server.handleClient();
|
server.handleClient();
|
||||||
yield();
|
delay(1);
|
||||||
apiServer.handleClient();
|
apiServer.handleClient();
|
||||||
|
delay(1);
|
||||||
}
|
}
|
||||||
void Web::sendCORSHeaders(WebServer &server) {
|
void Web::sendCORSHeaders(WebServer &server) {
|
||||||
//server.sendHeader(F("Connection"), F("Keep-Alive"));
|
//server.sendHeader(F("Connection"), F("Keep-Alive"));
|
||||||
|
|
|
||||||
|
|
@ -3,11 +3,11 @@
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<link rel="stylesheet" href="main.css?v=2.1.2" type="text/css" />
|
<link rel="stylesheet" href="main.css?v=2.1.4" type="text/css" />
|
||||||
<link rel="stylesheet" href="widgets.css?v=2.1.2" type="text/css" />
|
<link rel="stylesheet" href="widgets.css?v=2.1.4" type="text/css" />
|
||||||
<link rel="stylesheet" href="icons.css?v=2.1.2" type="text/css" />
|
<link rel="stylesheet" href="icons.css?v=2.1.4" type="text/css" />
|
||||||
<link rel="icon" type="image/png" href="favicon.png" />
|
<link rel="icon" type="image/png" href="favicon.png" />
|
||||||
<script type="text/javascript" src="index.js?v=2.1.2"></script>
|
<script type="text/javascript" src="index.js?v=2.1.4"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="divContainer" class="container main" data-auth="false">
|
<div id="divContainer" class="container main" data-auth="false">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue