mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
55_InfoPanel.pm: commandref uses id-tags now
git-svn-id: https://svn.fhem.de/fhem/trunk@27670 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
cc1337dc94
commit
cbb67848d9
@ -74,6 +74,7 @@
|
||||
# 2023-02-20 - 27257 - added: show alias in overview
|
||||
# 2023-05-12 - 27557 - added: support for named parameters in define
|
||||
# for new define syntax
|
||||
# 2023-06-10 - - changed: commandref updated to id syntax
|
||||
#
|
||||
##############################################
|
||||
=cut
|
||||
@ -1516,7 +1517,7 @@ sub btIP_getURL {
|
||||
=item summary_DE erzeugt ein einfaches Statusdisplay
|
||||
=begin html
|
||||
|
||||
<a name="InfoPanel"></a>
|
||||
<a id="InfoPanel"></a>
|
||||
<h3>InfoPanel</h3>
|
||||
|
||||
<ul>
|
||||
@ -1543,7 +1544,7 @@ sub btIP_getURL {
|
||||
</ul>
|
||||
<br/><br/>
|
||||
|
||||
<a name="InfoPaneldefine"></a>
|
||||
<a id="InfoPanel-define"></a>
|
||||
<b>Define</b><br/><br/>
|
||||
<ul>
|
||||
<code>define <name> InfoPanel layout=layoutFileName</code><br/>
|
||||
@ -1553,9 +1554,10 @@ sub btIP_getURL {
|
||||
</ul>
|
||||
<br/><br/>
|
||||
|
||||
<a name="InfoPanelset"></a>
|
||||
<a id="InfoPanel-set"></a>
|
||||
<b>Set-Commands</b><br/><br/>
|
||||
<ul>
|
||||
<a id="InfoPanel-set-reread"></a>
|
||||
<li><code>set <name> reread</code>
|
||||
<ul><br/>
|
||||
Rereads the <a href="#InfoPanellayout">layout definition</a> from the file.<br/><br/>
|
||||
@ -1565,16 +1567,19 @@ sub btIP_getURL {
|
||||
Autoread can be disabled via <a href="#InfoPanelattr">attribute</a>.
|
||||
</ul>
|
||||
</ul></li><br/>
|
||||
<a id="InfoPanel-set-ovEnable"></a>
|
||||
<li><code>set <name> ovEnable <xconditionName></code>
|
||||
<ul><br/>
|
||||
set an override "1" to named xcondition
|
||||
</ul>
|
||||
</li><br/>
|
||||
<a id="InfoPanel-set-ovDisable"></a>
|
||||
<li><code>set <name> ovDisable <xconditionName></code>
|
||||
<ul><br/>
|
||||
set an override "0" to named xcondition
|
||||
</ul>
|
||||
</li><br/>
|
||||
<a id="InfoPanel-set-ovClear"></a>
|
||||
<li><code>set <name> ovClear <xconditionName>|all;</code>
|
||||
<ul><br/>
|
||||
delete an existing overrides to named xcondition. "all" will clear all overrides.<br/>
|
||||
@ -1583,17 +1588,20 @@ sub btIP_getURL {
|
||||
</ul>
|
||||
<br/><br/>
|
||||
|
||||
<a name="InfoPanelget"></a>
|
||||
<a id="InfoPanel-get"></a>
|
||||
<b>Get-Commands</b><br/><br/>
|
||||
<ul>
|
||||
<a id="InfoPanel-get-counter"></a>
|
||||
<li><code>get <name> counter</code>
|
||||
<ul><br/>
|
||||
return value from internal counter<br/>
|
||||
</ul></li><br/>
|
||||
<a id="InfoPanel-get-layout"></a>
|
||||
<li><code>get <name> layout</code>
|
||||
<ul><br/>
|
||||
return complete layout definition<br/>
|
||||
</ul></li><br/>
|
||||
<a id="InfoPanel-get-overrides"></a>
|
||||
<li><code>get <name> overrides</code>
|
||||
<ul><br/>
|
||||
return list of defined overrides<br/>
|
||||
@ -1602,25 +1610,37 @@ sub btIP_getURL {
|
||||
</ul>
|
||||
<br/><br/>
|
||||
|
||||
<a name="InfoPanelattr"></a>
|
||||
<a id="InfoPanel-attr"></a>
|
||||
<b>Attributes</b><br/><br/>
|
||||
<ul>
|
||||
<a id="InfoPanel-attr-autoread"></a>
|
||||
<li><b>autoreread</b> - disables automatic layout reread after edit if set to 1</li>
|
||||
<a id="InfoPanel-attr-refresh"></a>
|
||||
<li><b>refresh</b> - time (in seconds) after which the HTML page will be reloaded automatically.<br/>
|
||||
Any values below 60 seconds will not become valid.</li>
|
||||
<a id="InfoPanel-attr-showTime"></a>
|
||||
<li><b>showTime</b> - disables generation timestamp in state if set to 0</li>
|
||||
<a id="InfoPanel-attr-size"></a>
|
||||
<li><b>size</b> - The dimensions of the picture in the format
|
||||
<code><width>x<height></code></li>
|
||||
<a id="InfoPanel-attr-useViewPort"></a>
|
||||
<li><b>useViewPort</b> - add viewport meta tag to fit mobile displays</li>
|
||||
<a id="InfoPanel-attr-mobileApp"></a>
|
||||
<li><b>mobileApp</b> - add support for mobile fullscreen experience</li>
|
||||
<a id="InfoPanel-attr-title"></a>
|
||||
<li><b>title</b> - webpage title to be shown in Browser</li>
|
||||
<br/>
|
||||
<a id="InfoPanel-attr-bgcenter"></a>
|
||||
<li><b>bgcenter</b> - background images will not be centered if attribute set to 0. Default: show centered</li>
|
||||
<a id="InfoPanel-attr-bgcolor"></a>
|
||||
<li><b>bgcolor</b> - defines the background color, use html-hexcodes to specify color, eg 00FF00 for green background. Default color is black. You can use bgcolor=none to disable use of any background color</li>
|
||||
<a id="InfoPanel-attr-bgdir"></a>
|
||||
<li><b>bgdir</b> - directory containing background images</li>
|
||||
<a id="InfoPanel-attr-bgopacity"></a>
|
||||
<li><b>bgopacity</b> - set opacity for background image, values 0...1.0</li>
|
||||
<a id="InfoPanel-attr-tmin"></a>
|
||||
<li><b>tmin</b> - background picture will be shown at least <code>tmin</code> seconds,
|
||||
no matter how frequently the RSS feed consumer accesses the page.</li>
|
||||
no matter how frequently the feed consumer accesses the page.</li>
|
||||
<br/>
|
||||
<b>Important:</b> bgcolor and bgdir will be evaluated by <code>{ <a href="#perl"><perl special></a> }</code> use quotes for absolute values!<br/>
|
||||
</ul>
|
||||
@ -1633,7 +1653,7 @@ sub btIP_getURL {
|
||||
</ul>
|
||||
<br/><br/>
|
||||
|
||||
<a name="InfoPanellayout"></a>
|
||||
<a id="InfoPanel-layout"></a>
|
||||
<b>Layout definition</b><br/>
|
||||
<br/>
|
||||
<ul>
|
||||
|
Loading…
Reference in New Issue
Block a user