mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2025-12-13 02:52:11 +01:00
Added functionality to support low level triggers for GPIO types #206
This commit is contained in:
parent
0c36c8e746
commit
c0621d82ec
9 changed files with 75 additions and 44 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.2.2c" type="text/css" />
|
||||
<link rel="stylesheet" href="widgets.css?v=2.2.2c" type="text/css" />
|
||||
<link rel="stylesheet" href="icons.css?v=2.2.2c" type="text/css" />
|
||||
<link rel="stylesheet" href="main.css?v=2.2.2d" type="text/css" />
|
||||
<link rel="stylesheet" href="widgets.css?v=2.2.2d" type="text/css" />
|
||||
<link rel="stylesheet" href="icons.css?v=2.2.2d" type="text/css" />
|
||||
<link rel="icon" type="image/png" href="favicon.png" />
|
||||
<script type="text/javascript" src="index.js?v=2.2.2c"></script>
|
||||
<script type="text/javascript" src="index.js?v=2.2.2d"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="divContainer" class="container main" data-auth="false">
|
||||
|
|
@ -415,6 +415,12 @@
|
|||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div id="divLLTrigger" style="margin-top:-10px;">
|
||||
<div class="field-group">
|
||||
<input id="cbLLTrigger" name="hasLLTrigger" data-bind="gpioLLTrigger" type="checkbox" style="" />
|
||||
<label for="cbLLTrigger" style="display:block;font-size:1em;margin-top:0px;margin-left:7px;display:inline-block;">Low Level Trigger</label>
|
||||
</div>
|
||||
</div>
|
||||
<div id="divSunSensor" style="margin-top:-10px;">
|
||||
<div class="field-group">
|
||||
<input id="cbHasSunsensor" name="hasSunSensor" data-bind="sunSensor" type="checkbox" style="" />
|
||||
|
|
|
|||
|
|
@ -1252,7 +1252,7 @@ var security = new Security();
|
|||
|
||||
class General {
|
||||
initialized = false;
|
||||
appVersion = 'v2.2.2c';
|
||||
appVersion = 'v2.2.2d';
|
||||
reloadApp = false;
|
||||
init() {
|
||||
if (this.initialized) return;
|
||||
|
|
|
|||
|
|
@ -211,6 +211,14 @@
|
|||
width: 70px;
|
||||
display: inline-block;
|
||||
}
|
||||
#somfyShade #divLLTrigger {
|
||||
display:none;
|
||||
}
|
||||
|
||||
#somfyShade[data-proto="8"] #divLLTrigger,
|
||||
#somfyShade[data-proto="9"] #divLLTrigger {
|
||||
display: block;
|
||||
}
|
||||
#somfyShade[data-proto="8"] #divStepSettings,
|
||||
#somfyShade[data-proto="9"] #divStepSettings,
|
||||
#somfyShade[data-proto="8"] #divGPIOMy,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue