This repository has been archived by the owner on Feb 16, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #230 from DewGew/UI-SettingsPage
UI Settings page
- Loading branch information
Showing
11 changed files
with
713 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,175 @@ | ||
<div id="menu3" class="tab-pane fade" role="tabpanel"> | ||
<div class="col-md-8"> | ||
<div class="card"> | ||
<div class="card-header card-header-primary"> | ||
<h4 class="card-title">Help</h4> | ||
<p class="card-category"></p> | ||
<div class="row"> | ||
<div class="col-md-12"> | ||
<div class="card"> | ||
<div class="card-header card-header-primary"> | ||
<h4 class="card-title">Help</h4> | ||
<p class="card-category"></p> | ||
</div> | ||
<div class="card-body"> | ||
<p>For help or more information about configuration and to setup Action on Google:</br> | ||
<a href="https://github.com/DewGew/Domoticz-Google-Assistant/wiki" target="_blank" rel="noopener">Domoticz Google Assistant wiki</a> or at | ||
<a href="https://discordapp.com/invite/AmJV6AC" target="_blank" rel="noopener" aria-label="Discord">Discord</a></p> | ||
|
||
<h6>Manual update</h6> | ||
<p><kbd>bash <(curl -s https://raw.githubusercontent.com/DewGew/dzga-installer/master/install.sh)</kbd></p> | ||
|
||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="row"> | ||
<div class="col-md-12"> | ||
<div class="card"> | ||
<div class="card-header card-header-success"> | ||
<h4 class="card-title">Device Configuraton</h4> | ||
<p class="card-category"></p> | ||
</div> | ||
<div class="card-body"> | ||
<p> | ||
Nicknames, rooms, ack and report_state can also be set in the Domoticz user interface. New function hide ,hide devices from Google Assistant still but can still see this in UI as type 'Hidden'. Simply put the device configuration in the device description, in a section between 'voicecontrol' tags like: | ||
<br> | ||
<code><voicecontrol><br> | ||
nicknames = Kitchen Blind One, Left Blind, Blue Blind<br> | ||
room = Kitchen<br> | ||
ack = True<br> | ||
report_state = False<br> | ||
hide = True<br> | ||
</voicecontrol><br> | ||
</code> | ||
</p> | ||
<p> | ||
Other parts of the description are ignored, so you can still leave other useful descriptions. Every variable should be on a separate line. If there is no such configuration in the Domoticz device it will still try the config: | ||
<br><code> | ||
Device_Config:<br> | ||
123:<br> | ||
ack: true<br> | ||
room: 'Livingroom'<br> | ||
nicknames:<br> | ||
- 'Celing light'<br> | ||
- 'Smart light'<br> | ||
234:<br> | ||
room: 'Bedroom'<br> | ||
report_state: false<br> | ||
hide: true<br> | ||
<br> | ||
Scene_Config:<br> | ||
3:<br> | ||
room: 'Kitchen'<br> | ||
nicknames:<br> | ||
- 'Cool scene'<br> | ||
</code> | ||
</p> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="card-body"> | ||
<p>For help or more information about configuration and to setup Action on Google:</br> | ||
<a href="https://github.com/DewGew/Domoticz-Google-Assistant/wiki" target="_blank" rel="noopener">Domoticz Google Assistant wiki</a> or at | ||
<a href="https://discordapp.com/invite/AmJV6AC" target="_blank" rel="noopener" aria-label="Discord">Discord</a></p> | ||
<div class="row"> | ||
<div class="col-md-12"> | ||
<div class="card"> | ||
<div class="card-header card-header-primary"> | ||
<h4 class="card-title">Device Type</h4> | ||
<p class="card-category"></p> | ||
</div> | ||
<div class="card-body"> | ||
<p> | ||
Function to change device type, icon and some behavior depending on the device (e.g open/close instead of on/off).<br> | ||
<code> | ||
<voicecontrol><br> | ||
devicetype = oven<br> | ||
</voicecontrol><br> | ||
</code> | ||
or in config.yaml:<br> | ||
<code> | ||
Device_Config:<br> | ||
456:<br> | ||
devicetype: 'oven'<br> | ||
</code> | ||
</p> | ||
<p> | ||
Light or Switch devices can choose types from:<br> | ||
|
||
<h6>Manual update</h6> | ||
<p><kbd>bash <(curl -s https://raw.githubusercontent.com/DewGew/dzga-installer/master/install.sh)</kbd></p> | ||
|
||
<code>light, ac_unit, bathtub, coffeemaker, dishwasher, dryer, fan, heater, kettle, media,<br>microwave, outlet, oven, speaker, switch, vacuum, washer, waterheater, window, door, gate, garage </code>. | ||
</p> | ||
<p>For heater, kettle, waterheater, oven you can still use <code>merge_thermo_idx</code> to merge thermostat to control temperature.</p> | ||
<p>Door Contact devices can choose window, gate or garage.</p> | ||
<p>Blind devices can choose window, door, gate or garage.</p> | ||
<p>Selector devices can choose only vacuum</p> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="row"> | ||
<div class="col-md-12"> | ||
<div class="card"> | ||
<div class="card-header card-header-warning"> | ||
<h4 class="card-title">Thermostat Devices</h4> | ||
<p class="card-category"></p> | ||
</div> | ||
<div class="card-body"> | ||
<p><b>For thermostat devices only.</b><br> | ||
Function to merge actual temperature from another temp device or modes from selector device to thermostat. Merged device will automaticly hidden. Levels from selector device supported is: Off - Heat - Cool - Auto - Eco. | ||
Bug Thermostat idx must be a number above Temp/selector idx.<br> | ||
<code> | ||
<voicecontrol><br> | ||
actual_temp_idx = 123<br> | ||
selector_modes_idx = 234<br> | ||
</voicecontrol><br> | ||
</code> | ||
or in config.yaml:<br> | ||
<code> | ||
Device_Config:<br> | ||
456:<br> | ||
actual_temp_idx: '123'<br> | ||
selector_modes_idx: '234'<br> | ||
</code> | ||
|
||
<p><b>For heater/waterheater/kettle/oven devices only.</b><br> | ||
Function to merge thermostat device to control temperature. Merged device will automaticly hidden. | ||
Bug Thermostat idx must be a number above Temp/selector idx. | ||
<code> | ||
<voicecontrol><br> | ||
merge_thermo_idx = 123<br> | ||
</voicecontrol><br> | ||
</code> | ||
or in config.yaml:<br> | ||
<code> | ||
Device_Config:<br> | ||
456:<br> | ||
merge_thermo_idx: '123'<br> | ||
</code> | ||
</p> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="row"> | ||
<div class="col-md-12"> | ||
<div class="card"> | ||
<div class="card-header card-header-warning"> | ||
<h4 class="card-title">Security Device</h4> | ||
<p class="card-category"></p> | ||
</div> | ||
<div class="card-body"> | ||
<p>User-friendly name for the level in your language.. See: https://developers.google.com/actions/smarthome/traits/#supported-languages<br> | ||
<code> | ||
Armhome:<br> | ||
level_synonym:<br> | ||
- 'zuhause und bewachen'<br> | ||
- 'Level 1'<br> | ||
- 'SL1'<br> | ||
lang: 'de'<br> | ||
Armaway:<br> | ||
level_synonym:<br> | ||
- 'weg und bewachen'<br> | ||
- 'Level 2'<br> | ||
- 'SL2'<br> | ||
lang: 'de'<br> | ||
</code> | ||
</p> | ||
|
||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
</div> |
Oops, something went wrong.