mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2025-12-13 02:52:11 +01:00
v2.0.0 Release Candidate
Added functions for emitting the last command for a motor.
This commit is contained in:
parent
cfd3bdc4a1
commit
42947690a2
7 changed files with 50 additions and 12 deletions
|
|
@ -484,9 +484,8 @@
|
|||
</select>
|
||||
</div>
|
||||
<div class="field-group" style="display:inline-block;width:77px;">
|
||||
<label for="selRadioType">Radio</label>
|
||||
<label for="selRadioType">Bit Length</label>
|
||||
<select id="selRadioType" name="radioType" data-bind="transceiver.config.type" data-datatype="int" style="width:77px;">
|
||||
<option value="none" selected>None</option>
|
||||
<option value="56">56-BIT</option>
|
||||
<option value="80">80-BIT</option>
|
||||
</select>
|
||||
|
|
@ -495,7 +494,8 @@
|
|||
<input id="cbEnableRadio" name="enableRadio" type="checkbox" data-bind="transceiver.config.enabled" style="display:inline-block;" />
|
||||
<label for="cbEnableRadio" style="display:inline-block;cursor:pointer;">Enable Radio</label>
|
||||
</div>
|
||||
<div class="field-group1" style="margin-top:-20px;white-space:nowrap">
|
||||
<div class="field-group" style="margin-top:-18px;"><label style="font-size:12px;">(default when adding new motors)</label></div>
|
||||
<div class="field-group1" style="white-space:nowrap">
|
||||
<div class="field-group radioPins">
|
||||
<select id="selTransSCKPin" name="transSCK" data-bind="transceiver.config.SCKPin" data-datatype="int"></select>
|
||||
<label for="selTransSCKPin">SCLK</label>
|
||||
|
|
|
|||
|
|
@ -470,6 +470,9 @@ async function initSockets() {
|
|||
case 'shadeState':
|
||||
somfy.procShadeState(msg);
|
||||
break;
|
||||
case 'shadeCommand':
|
||||
console.log(msg);
|
||||
break;
|
||||
case 'shadeRemoved':
|
||||
break;
|
||||
case 'shadeAdded':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue