APC USV im WebFront

Hallo,

Für APC USVs habe ich unter http://www.ip-symcon.de/forum/f53/apc-usv-daten-einlesen-6840/ ein Auslesescript bereit gestellt. Hier die passende Seite fürs WebFront:

<!--
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-->

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Cache-Control" content="no-store, no-cache, must-revalidate">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="0">

<style type="text/css">@import "../webfront.css";</style>
<style type="text/css">@import "default.css";</style>

</head><body>

<div class="deviceContainer" style="background: transparent url(../img/icons/png/Power.png) no-repeat scroll 10px 4px;">
    <div class="deviceTitle"><div class="deviceTitleContent">APC Smart-UPS SC450 RM</div></div>
    <div class="deviceState"><div class="variableDisplay"><div class="deviceStateContent"><?php echo substr(GetValueString(40492), 11); ?></div></div></div>
    <div class="variablesContainer" style="height: auto;">
        <div class="variableContainer" style="background: transparent url(../img/icons/png/Graph.png) no-repeat scroll 10px 4px;">
            <div class="deviceTitle"><div class="deviceTitleContent">Minimale Netzsspannung</div></div>
            <div class="deviceState"><div class="variableDisplay"><div class="deviceStateContent"><?php printf("%.01f VAC", GetValueFloat(12439)); ?></div></div></div>
        </div>

        <div class="variableContainer" style="background: transparent url(../img/icons/png/Graph.png) no-repeat scroll 10px 4px;">
            <div class="deviceTitle"><div class="deviceTitleContent">Maximale Netzspannung</div></div>
            <div class="deviceState"><div class="variableDisplay"><div class="deviceStateContent"><?php printf("%.01f VAC", GetValueFloat(47292)); ?></div></div></div>
        </div>

        <div class="variableContainer" style="background: transparent url(../img/icons/png/Power.png) no-repeat scroll 10px 4px;">
            <div class="deviceTitle"><div class="deviceTitleContent">Eingangs-Netzspannung</div></div>
            <div class="deviceState"><div class="variableDisplay"><div class="deviceStateContent"><?php printf("%.01f VAC", GetValueFloat(27993)); ?></div></div></div>
        </div>

        <div class="variableContainer" style="background: transparent url(../img/icons/png/Power.png) no-repeat scroll 10px 4px;">
            <div class="deviceTitle"><div class="deviceTitleContent">UPS-Ausgangsspannung</div></div>
            <div class="deviceState"><div class="variableDisplay"><div class="deviceStateContent"><?php printf("%.01f VAC", GetValueFloat(39453)); ?></div></div></div>
        </div>

        <div class="variableContainer" style="background: transparent url(../img/icons/png/Graph.png) no-repeat scroll 10px 4px;">
            <div class="deviceTitle"><div class="deviceTitleContent">Ausgangsfrequenz</div></div>
            <div class="deviceState"><div class="variableDisplay"><div class="deviceStateContent"><?php printf("%.01f Hz", GetValueFloat(52841)); ?></div></div></div>
        </div>

        <div class="variableContainer" style="background: transparent url(../img/icons/png/Battery.png) no-repeat scroll 10px 4px;">
            <div class="deviceTitle"><div class="deviceTitleContent">Batteriespannung</div></div>
            <div class="deviceState"><div class="variableDisplay"><div class="deviceStateContent"><?php printf("%.01f VDC", GetValueFloat(27190)); ?></div></div></div>
        </div>

        <div class="variableContainer" style="background: transparent url(../img/icons/png/Intensity.png) no-repeat scroll 10px 4px;">
            <div class="deviceTitle"><div class="deviceTitleContent">UPS-Belastung</div></div>
            <div class="deviceState"><div class="variableDisplay"><div class="deviceStateContent"><?php printf("%.01f%%", GetValueFloat(17522)); ?></div></div></div>
        </div>
    </div>
</div>

</body></html>