mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2025-12-13 19:12:10 +01:00
Add repeater function #261
This commit is contained in:
parent
b458435ddf
commit
4e0d89e7db
15 changed files with 430 additions and 81 deletions
|
|
@ -3,11 +3,11 @@
|
|||
<head>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta charset="UTF-8">
|
||||
<link rel="stylesheet" href="main.css?v=2.3.3" type="text/css" />
|
||||
<link rel="stylesheet" href="widgets.css?v=2.3.3" type="text/css" />
|
||||
<link rel="stylesheet" href="icons.css?v=2.3.3" type="text/css" />
|
||||
<link rel="stylesheet" href="main.css?v=2.4.0" type="text/css" />
|
||||
<link rel="stylesheet" href="widgets.css?v=2.4.0" type="text/css" />
|
||||
<link rel="stylesheet" href="icons.css?v=2.4.0" type="text/css" />
|
||||
<link rel="icon" type="image/png" href="favicon.png" />
|
||||
<script type="text/javascript" src="index.js?v=2.3.3"></script>
|
||||
<script type="text/javascript" src="index.js?v=2.4.0"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="divContainer" class="container main" data-auth="false">
|
||||
|
|
@ -295,7 +295,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div id="divSomfySettings" style="display:none;">
|
||||
<div class="subtab-container"><span class="selected" data-grpid="divSomfyRooms">Rooms</span><span class="" data-grpid="divSomfyMotors">Shades</span><span data-grpid="divSomfyGroups">Groups</span><span data-grpid="divVirtualRemote">Virtual Remote</span></div>
|
||||
<div class="subtab-container"><span class="selected" data-grpid="divSomfyRooms">Rooms</span><span class="" data-grpid="divSomfyMotors">Shades</span><span data-grpid="divSomfyGroups">Groups</span><span data-grpid="divRepeater">Repeater</span><span data-grpid="divVirtualRemote">Virtual Remote</span></div>
|
||||
<div id="divSomfyRooms" class="subtab-content" style="padding-top:10px;">
|
||||
<div id="divRoomListContainer">
|
||||
<div style="font-size:.8em;">Drag each item to set the order in which they appear in the list.</div>
|
||||
|
|
@ -631,6 +631,17 @@
|
|||
</div>
|
||||
|
||||
</div>
|
||||
<div id="divRepeater" style="display:none;padding-top:10px;" class="subtab-content">
|
||||
<div id="divRepeaterListContainer">
|
||||
<div style="font-size:.8em;">All repeated remote addresses are listed below.</div>
|
||||
<div id="divRepeatList" class="edit-repeaterlist"></div>
|
||||
<div class="button-container">
|
||||
<button id="btnLinkRepeater" type="button" onclick="somfy.linkRepeatRemote();">
|
||||
Scan Remote
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="divVirtualRemote" style="display:none;" class="subtab-content">
|
||||
<div class="field-group" style="margin-top:-18px;display:inline-block;width:100%;">
|
||||
<select id="selVRMotor" style="width:100%;">
|
||||
|
|
@ -926,24 +937,24 @@
|
|||
mouseDown = false;
|
||||
});
|
||||
(async () => { await init(); })();
|
||||
/*
|
||||
security.init();
|
||||
//(async () => { await general.init(); })();
|
||||
general.init();
|
||||
wifi.init();
|
||||
somfy.init();
|
||||
mqtt.init();
|
||||
firmware.init();
|
||||
*/
|
||||
/*
|
||||
security.init();
|
||||
//(async () => { await general.init(); })();
|
||||
general.init();
|
||||
wifi.init();
|
||||
somfy.init();
|
||||
mqtt.init();
|
||||
firmware.init();
|
||||
*/
|
||||
/*
|
||||
let o = {
|
||||
general: { hostname: 'hostname', ntpServer: 'pool.ntp.org', posixZone: '<-10>10', ssdpBroadcast: true }
|
||||
|
||||
}
|
||||
*/
|
||||
//ui.toElement(document.getElementById('divContainer'), o);
|
||||
//console.log(ui.fromElement(document.getElementById('divContainer')));
|
||||
//(async () => { await initSockets(); })();
|
||||
//ui.toElement(document.getElementById('divContainer'), o);
|
||||
//console.log(ui.fromElement(document.getElementById('divContainer')));
|
||||
//(async () => { await initSockets(); })();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue