Schakelaar('Slapen', 'Sleepy', 72, 400, 675);
 Schakelaar('Meldingen', 'Alarm', 72, 10, 7);
 Schakelaar('Terras', 'Light', 72, 90, 5);
 Schakelaar('Brander', 'Fire', 72, 890, 360);
 Schakelaar('Licht_Zolder', 'Light', 72, 805, 360);
 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);
 Schakelaar('garage', 'Light', 60, 305, 209);
 Schakelaar('zolderg', 'Light', 48, 315, 140);
 Schakelaar('lichten_auto', 'Clock', 40, 312, 299);
 Schakelaar('weg', 'Home', 70, 257, 417);
 Schakelaar('slapen', 'Sleepy', 70, 331, 417);
 Schakelaar('terras', 'Light', 48, 5, 16);
 Schakelaar('tuin', 'Light', 48, 59, 16);
 Schakelaar('zolder', 'Light', 70, 710, 260);
 Schakelaar('bureeltobi', 'Plug', 40, 730, 400);
 Schakelaar('badkamervuur', 'Plug', 28, 408, 348);
 Thermometer('living_temp', 120, 190);
 Thermometer('badkamer_temp', 403, 440);
 Thermometer('kamer_temp', 530, 440);
 Thermometer('tobi_temp', 433, 90);
 Thermometer('alex_temp', 544, 90);
 Thermometer('zolder_temp', 690, 125);
 Blinds('zoldertrap', 50, 675, 190);
 if ($Sweg == 'On' || $Sslapen == 'On') {
     Secured(52, 88, 250, 196);
     Secured(50, 345, 129, 57);
     Secured(255, 88, 316, 141);
     Secured(114, 345, 129, 134);
 }
 if ($Sweg == 'On') {
     Secured(404, 212, 129, 65);
     Secured(469, 214, 45, 66);
 }
 if ($Spirliving != 'Off' || $Spirliving != 'Off') {
     Motion(52, 88, 250, 196);
 }
 if ($Spirkeuken != 'Off') {
 Schakelaar('garage_auto', 'Clock', 40, 312, 299);
 Schakelaar('weg', 'Home', 60, 268, 420);
 Schakelaar('slapen', 'Sleepy', 60, 335, 420);
 Schakelaar('terras', 'Light', 60, 25, 10);
 //Schakelaar('tuin','Light',48,77,15);
 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;">';