#14 Einstellungen reorganisieren
This commit is contained in:
parent
1ec0b46060
commit
ebc98694d1
@ -1,8 +1,7 @@
|
|||||||
<form class="form-horizontal">
|
<form class="form-horizontal">
|
||||||
<h4>General</h4>
|
<h4>General</h4>
|
||||||
<hr>
|
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label class="control-label">{{ _('IP-Address') }}</label>
|
<label class="control-label">{{ _('URL or IP-Address of your switch') }}</label>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<input type="text" class="input-block-level" data-bind="value: settings.plugins.mystromswitch.ip">
|
<input type="text" class="input-block-level" data-bind="value: settings.plugins.mystromswitch.ip">
|
||||||
</div>
|
</div>
|
||||||
@ -13,16 +12,21 @@
|
|||||||
<div class="controls">
|
<div class="controls">
|
||||||
<div class="input-append">
|
<div class="input-append">
|
||||||
<input type="number" class="input-mini text-right" data-bind="value: settings.plugins.mystromswitch.intervall">
|
<input type="number" class="input-mini text-right" data-bind="value: settings.plugins.mystromswitch.intervall">
|
||||||
<span class="add-on">sec</span>
|
<span class="add-on">seconds</span>
|
||||||
</div>
|
</div>
|
||||||
|
<span class="help-block"><small>{{ _('Intervall in seconds where relais state, power and engergy consumtion are refreshed') }}</small></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
<h4>Octoprint Hardware (Raspberry Pi) is not switched on/off by the relais</h4>
|
||||||
|
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<label class="checkbox">
|
<label class="checkbox">
|
||||||
<input type="checkbox" data-bind="checked: settings.plugins.mystromswitch.onOffButtonEnabled">Toggle Button Enabled
|
<input type="checkbox" data-bind="checked: settings.plugins.mystromswitch.onOffButtonEnabled">Toggle Button Enabled
|
||||||
</label>
|
</label>
|
||||||
|
<span class="help-block"><small>{{ _('Shows an on/off Button on the left side to switch the relais on or off. This setting is only recomended if only your printer is switched on/off') }}</small></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -32,20 +36,29 @@
|
|||||||
<input type="checkbox" data-bind="checked: settings.plugins.mystromswitch.powerOnOnStart">Turn relais ON on Octoprint start
|
<input type="checkbox" data-bind="checked: settings.plugins.mystromswitch.powerOnOnStart">Turn relais ON on Octoprint start
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
<span class="help-block"><small>{{ _('This setting switches your mySwitch on if Octoprint is starting up. Turn relais OFF on Octoprint shutdown could also be interesting for you') }}</small></span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
<h4>Octoprint Hardware (Raspberry Pi) is switched on/off by the relais</h4>
|
||||||
|
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<label class="checkbox">
|
<label class="checkbox">
|
||||||
<input type="checkbox" data-bind="checked: settings.plugins.mystromswitch.powerOffOnShutdown">Turn relais OFF on Octoprint shutdown
|
<input type="checkbox" data-bind="checked: settings.plugins.mystromswitch.powerOffOnShutdown">Turn relais OFF on Octoprint shutdown
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
<span class="help-block"><small>{{ _('This setting switches your mySwitch off if Octoprint is shuting down. If your Raspberry Pi is also switched by the relais its recomended to user an Relais Off Delay of 1 Minute or more. Keep in mind this switches also off if you restart Octoprint service') }}</small></span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label class="control-label">{{ _('Turn Relais Off Delay') }}</label>
|
<label class="control-label">{{ _('Turn Relais Off Delay') }}</label>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
|
<div class="input-append">
|
||||||
<input type="number" class="input-block-level" data-bind="value: settings.plugins.mystromswitch.powerOffDelay">
|
<input type="number" class="input-block-level" data-bind="value: settings.plugins.mystromswitch.powerOffDelay">
|
||||||
|
<span class="add-on">seconds</span>
|
||||||
|
</div>
|
||||||
|
<span class="help-block"><small>{{ _('Delay in seconds after octoprint is shutted down to switch off Relais. This settings is recommended to make sure that Raspberry Pi is completly shutted down when you turn off. Switching Power off when your Raspberry Pi is running could lead to unreparable damage to your SD Card.') }}</small></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
Loading…
Reference in New Issue
Block a user