Hallo Community,
kann mir bitte jemand sagen was in diesem Skript falsch ist?
<?
$soll = GetValue (15554 /[Haus\Erdgeschoss\Büro\Heizung Büro\Temperatur]/);
$ist = GetValue (45384 /[Haus\Erdgeschoss\Büro\Heizung Büro\Soll Temperatur]/);
if ($soll >= $ist);
FS20_SwitchMode(27797 /[Haus\Erdgeschoss\Büro\Heizung Büro\EIN/AUS]/, true);
else ($soll <= $ist);
FS20_SwitchMode(27797 /[Haus\Erdgeschoss\Büro\Heizung Büro\EIN/AUS]/, false);
?>
bekomme immer diesen fehler!
Parse error: syntax error, unexpected ‚else‘ (T_ELSE) in [Haus\Erdgeschoss\Büro\Heizung Büro\Heizung] on line 7
Abort Processing during Fatal-Error: syntax error, unexpected ‚else‘ (T_ELSE)
Error in Script C:\Programme\IP-Symcon\scripts\43234.ips.php on Line 7
Danke für Eure Hilfe