2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 06:39:11 +00:00

xml-warning anstatt Fehler, homematic bei FS20-Buttons

git-svn-id: https://svn.fhem.de/fhem/trunk@1547 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
nitroxmh 2012-05-08 17:39:57 +00:00
parent a654718211
commit 0118488248
2 changed files with 10 additions and 60 deletions

View File

@ -41,7 +41,7 @@
echo"
set
<select name=fs20dev size=1>
<option></option>";
<option value=>FS20 Device</option>";
for ($m=0; $m < count($fs20devs); $m++)
{
echo $fs20dev;
@ -55,7 +55,7 @@
echo "
</select><select name=orderpulldown size=1>
<option></option>";
<option value=>Order</option>";
for ($m=0; $m < count($orders); $m++)
{
@ -76,33 +76,8 @@
echo "</select>
<select name=valuetime size=1> ### <------ valuetime muß eindeutig werden !!!
<option></option>";
echo "<option value=0>HH:MM:SS:MS</option>";
echo "<option value=0>00:00:00:00</option>";
echo "<option value=0.25>00:00:00:25</option>";
echo "<option value=0.5>00:00:00:50</option>";
echo "<option value=0.75>00:00:00:75</option>";
echo "<option value=1>00:00:01:00</option>";
echo "<option value=1.25>00:00:01:25</option>";
echo "<option value=1.5>00:00:01:50</option>";
echo "<option value=1.75>00:00:01:75</option>";
echo "<option value=2>00:00:02:00</option>";
echo "<option value=2.25>00:00:02:25</option>";
echo "<option value=2.5>00:00:02:50</option>";
echo "<option value=2.75>00:00:02:75</option>";
echo "<option value=3>00:00:03:00</option>";
echo "<option value=3.25>00:00:03:25</option>";
echo "<option value=3.5>00:00:03:50</option>";
echo "<option value=3.75>00:00:03:75</option>";
echo "<option value=4>00:00:04:00</option>";
echo "<option value=4.5>00:00:04:50</option>";
echo "<option value=5>00:00:05:00</option>";
echo "<option value=5.5>00:00:05:50</option>";
echo "<option value=6>00:00:06:00</option>";
echo "<option value=6.5>00:00:06:50</option>";
echo "<option value=7>00:00:07:00</option>";
echo "<option value=7.5>00:00:07:50</option>";
for ($m=8; $m < 15360; $m++) {
<option value=>HH:MM:SS</option>";
for ($m=0; $m < 15360; $m++) {
if ( $m > 16) $m = $m+1;
if ( $m > 32) $m = $m+2;
if ( $m > 64) $m = $m+4;
@ -113,7 +88,7 @@
if ( $m > 2048) $m = $m+128;
if ( $m > 4096) $m = $m+256;
if ( $m > 8192) $m = $m+512;
if ( $m > 7)
if ( $m > 0)
$sek=$m;
$std=floor($sek/3600);
$min=floor(($sek-$std*3600)/60);

View File

@ -43,7 +43,7 @@
echo"
set
<select name=culhmdev size=1>
<option></option>";
<option value=>HomeMatic Device</option>";
for ($m=0; $m < count($culhmdevs); $m++)
{
echo $culhmdev;
@ -57,7 +57,7 @@
echo "
</select><select name=orderpulldown size=1>
<option></option>";
<option value=>Order</option>";
for ($m=0; $m < count($orders); $m++)
{
@ -78,33 +78,8 @@
echo "</select>
<select name=valuetime size=1> ### <------ valuetime muß eindeutig werden !!!
<option></option>";
echo "<option value=0>HH:MM:SS:MS</option>";
echo "<option value=0>00:00:00:00</option>";
echo "<option value=0.25>00:00:00:25</option>";
echo "<option value=0.5>00:00:00:50</option>";
echo "<option value=0.75>00:00:00:75</option>";
echo "<option value=1>00:00:01:00</option>";
echo "<option value=1.25>00:00:01:25</option>";
echo "<option value=1.5>00:00:01:50</option>";
echo "<option value=1.75>00:00:01:75</option>";
echo "<option value=2>00:00:02:00</option>";
echo "<option value=2.25>00:00:02:25</option>";
echo "<option value=2.5>00:00:02:50</option>";
echo "<option value=2.75>00:00:02:75</option>";
echo "<option value=3>00:00:03:00</option>";
echo "<option value=3.25>00:00:03:25</option>";
echo "<option value=3.5>00:00:03:50</option>";
echo "<option value=3.75>00:00:03:75</option>";
echo "<option value=4>00:00:04:00</option>";
echo "<option value=4.5>00:00:04:50</option>";
echo "<option value=5>00:00:05:00</option>";
echo "<option value=5.5>00:00:05:50</option>";
echo "<option value=6>00:00:06:00</option>";
echo "<option value=6.5>00:00:06:50</option>";
echo "<option value=7>00:00:07:00</option>";
echo "<option value=7.5>00:00:07:50</option>";
for ($m=8; $m < 15360; $m++) {
<option value=>HH:MM:SS</option>";
for ($m=0; $m < 15360; $m++) {
if ( $m > 16) $m = $m+1;
if ( $m > 32) $m = $m+2;
if ( $m > 64) $m = $m+4;
@ -115,7 +90,7 @@
if ( $m > 2048) $m = $m+128;
if ( $m > 4096) $m = $m+256;
if ( $m > 8192) $m = $m+512;
if ( $m > 7)
if ( $m > 0)
$sek=$m;
$std=floor($sek/3600);
$min=floor(($sek-$std*3600)/60);