Schakelaar('Bureel_Tobi', 'Plug', 54, 910, 560);
 Smokedetector('SD_Hall_General', 54, 500, 325);
 Smokedetector('SD_Zolder_General', 54, 830, 500);
 Thermometer('Buiten', 130, 175, 13);
 Thermometer('Living', 100, 150, 310);
 Thermometer('Badkamer', 100, 500, 690);
 Thermometer('Slaapkamer', 100, 660, 690);
 Thermometer('Slaapkamer_Tobi', 100, 540, 150);
 Thermometer('Slaapkamer_Tobi', 100, 670, 150);
 Thermometer('SD_Hall_Temperatuur', 100, 540, 320);
 Thermometer('SD_Zolder_Temperatuur', 100, 850, 150);
 Setpoint('Living', 50, 183, 240);
 Setpoint('Badkamer', 50, 533, 620);
 Setpoint('Slaapkamer', 50, 693, 620);
 Setpoint('Slaapkamer_Tobi', 50, 573, 95);
 Setpoint('Slaapkamer_Tobi', 50, 703, 95);
 Radiator('LivingZE', 90, 200, 487);
 Radiator('LivingZZ', -90, 273, 81);
 Radiator('BadkamerZ', 0, 487, 533);
 if ($SwitchThuis == 'Off' || $SwitchSlapen == 'On') {
     Secured(63, 94, 421, 237);
     Secured(63, 527, 218, 68);
     Secured(309, 94, 532, 170);
 }
 if ($SwitchThuis == 'Off') {
     Secured(486, 306, 214, 79);
     Secured(565, 306, 75, 81);
 }
 if ($SwitchPIR_Living != 'Off') {
     Motion(63, 94, 421, 237);
 }
 Schakelaar('brander', 'Fire', 48, 765, 260);
 //Schakelaar('kerstboom','Kerstboom',48,172,88);
 Schakelaar('zolder', 'Light', 60, 695, 256);
 Schakelaar('bureeltobi', 'Plug', 48, 780, 380);
 Thermometer('buiten', 110, 120, 17);
 Thermometer('living', 85, 162, 222);
 Thermometer('badkamer', 85, 419, 447);
 Thermometer('kamer', 85, 560, 447);
 Thermometer('tobi', 85, 450, 167);
 Thermometer('julius', 85, 560, 140);
 Thermometer('zolder', 85, 707, 135);
 Setpoint('living', 50, 184, 177);
 Setpoint('badkamer', 50, 440, 405);
 Setpoint('kamer', 50, 582, 405);
 Setpoint('tobi', 50, 472, 88);
 Setpoint('julius', 50, 582, 88);
 //Radiator('livingZZ',-90,221,77);
 //Radiator('badkamerZ',0,403,349);
 //Radiator('tobiZ',-90,463,77);
 //Radiator('juliusZ',-90,583,77);
 //Radiator('kamerZ',90,542,456);
 if ($SSirene != 'Off') {
     Schakelaar('Sirene', 'Alarm', 96, 180, 258);
 }
 echo '<div id="Plus" class="dimmer" style="display:none;">';
 echo '<div style="position:absolute;top:100px;left:50px;z-index:1000;">';
 Schakelaar('meldingen', 'Alarm', 48, 0, 5);
 echo '<br><br><br>Meldingen</div>';
 echo '<div style="position:absolute;top:100px;left:150px;z-index:1000;">';
 Schakelaar('heating', 'Fire', 48, 0, 0);
 echo '<br><br><br>Heating</div>';