Likewise, the motion detectors are designed to switch the light on and off automatically by motion detection. - Read now the in-house magazine. }, New emergency luminaire range with … How To Interface Inbuilt Bluetooth of ESP32 Development Board With Arduino IDE? "color": "#000000" Like the Gira Sensotec, the Gira Sensotec LED also works using a high-frequency sensor. (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(script); key switch contactless key contactless switch Prior art date 1967-12-19 Legal status (The legal status is an assumption and is not a legal conclusion. A platform for tech faculty and institutions, Enabling commerce between buyers & sellers of electronics in India, Everything you want to know about India's electronics industry, Enabling you to benefit from investments in technology, Connectors With Cable Assemblies For Rugged Industrial Conditions, New Wireless Charging Solution For Portable Devices. "margin-left": "0", "margin-bottom": "50px" } "margin-left": "0", When motion is detected, the integrated LED … }, var scriptURL = 'https://sdks.shopifycdn.com/buy-button/latest/buy-button-storefront.min.js'; Then create a loop function to update the sensor readings and use your hand gestures as an input to control the pin. BEG Lighting Controls have a range of wall-mounted sensors with different features. } }, "margin-left": "0px", You can build the project yourself by going through the rest of the blog. If you want to leave your comment, please register or log in. Energy consumption. }, } Career advice and jobs related to electronics and IOT. "padding-right": "20px", First of all we need to install the required library in the Arduino IDE. if (window.ShopifyBuy.UI) { "iconPath": { Volume discounts. "padding-right": "20px", } "modalProduct": { However, as businesses look at introducing products to the market which can help slow the spread of the virus, manually touching light switches can easily be avoided by automatic motion or occupancy sensors. "price": { Contactless sensing with the Hall Effect Contactless sensing through the Hall Effect is becoming a key technology for motor control and appliances. "margin-bottom": "0px" }, Good Project. "styles": { BEG Lighting Controls is highlighting the importance of safer ‘contactless light switching’ to the electrical industry - and how it can help deal with the Covid-19 pandemic. can somebody please tell me, how did that display came there in the project. node: document.getElementById('product-component-fed23f822c9'), touch switch light radiation chamber contactless touch Prior art date 1968-12-10 Legal status (The legal status is an assumption and is not a legal conclusion. "styles": { } else { }); Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.) "font-weight": "bold" "font-weight": "bold" } else { "quantity": false "description": false, Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.) } }); The switch output polarity can be set with an external pull down on the POL input pin. BEG Lighting Controls is highlighting the importance of safer ‘contactless light switching’ to electrical contractors and their customers – and how it can help deal with the Covid-19 pandemic. The top countries of … 7 SCO materials have been proposed as active parts of memory devices and displays, 8 mechanical actuators, 9 and sensors for temperature, pressure, 10 or the presence of small molecules. Making a safe electrical connection in the garden with... Keep the Kids Safe at Night with LightwaveRF, The PICO series- only 16mm installation height, Stay organised with the colourful Wiha ErgoStar, Make comments and influence our community, Register for our newsletters so you never miss an update. "max-width": "100%", Contact-less controlled automatic wardrobe light turns on the LED when you open the wardrobe door. Remarkably, the metal‐based molecules in SCO materials have the unique ability to switch between different spin states under the influence of temperature variations, light, or mechanical deformations. "margin-left": "-20px" loadScript(); } (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(script); domain: 'grab-electronics-for-you.myshopify.com', moneyFormat: '%E2%82%B9%20%7B%7Bamount%7D%7D', Scientists have made it clear that the coronavirus can live on surfaces for hours and light switches is one of the many ways the disease can be transmitted. Whether it's elevator buttons at your office building or light switches in a public restroom, Wave can help you keep your hands clean. Digital Disruption Will Shine a Light on Contactless Technology in 2021. Add to basket in stock PDF Product Page; Switch on or switch off the light … "variantTitle": false, The light is activated until it is switched off again with the light switch. right? "width": "240px", "max-width": "100%", var client = ShopifyBuy.buildClient({ “Unlike standard light switches, BEG occupancy sensors activate the lighting as soon as movement is detected, so touching the product is not necessary at all. Allowed HTML tags:
-
-
- . This highly integrated solution offers high reliability and ease of design compared to a discrete solution. "productSet": { options: { There are 52 suppliers who sells contactless hand wave sensor switch on Alibaba.com, mainly located in Asia. "padding-right": "20px", }); “Unlike standard light switches, BEG occupancy sensors activate the lighting as soon as movement is detected so touching the product is not necessary at all. script.onload = ShopifyBuyInit; (function () { With increased technological advancements, switches require updating with current times. Top 30+ Electrical Engineering Project Ideas, Build This IoT-Based Smart Home Controller Using Blynk, Government Job: Assistant Programmer At TNSIC, Sound Based Computer Automation Using Python, Create A GUI Program For Raspberry Pi And Arduino, How To: Interfacing 8×8 LED Matrix with Arduino Development Board, Arduino Projects: Sending SMS using GSM Module, Automotive Qualified MOSFETs Offer High Avalanche Performance. The Gira Sensotec LED uses an integrated LED light to provide orientation lighting that switches on automatically, thereby uniting the functions of a motion detector, an LED orientation light, and a contactless switch within a single device for the first time. "footer": { "color": "#ffffff" } var script = document.createElement('script'); An occupancy detector activates the lighting as soon as movement is detected. The Omni polar Hall Effect switch provides contactless control of the regulated LED current, which is set by a single reference resistor R3. An infrared sensor overrides the test switch on the personnel tester and allows operators to perform tests without touching any parts. "text": { apiKey: '9376eb61a9f55ce9a4b6ec35750efb8c', "color": "#000000" "price": { } "options": false, WDN-04 Proximity Switch and Contactless Sensor, control any light source WDN-04 Proximity Switch and Contactless Sensor, control any light source. Shortlisted for Lux Awards 2020 for 'Control Product of the Year' SPECIFICATIONS. A resource for professional design engineers. The connection with OLED is the same as both are I2C based devices. "font-size": "12px", } "description": false, "imgWithCarousel": false, When you will move your hand in an upward direction, the relay will be moved and lights will switch ON. Gesture Contactless Light Switch. "button": { If anyone wants to expend extra money then he can add OLED and the code is attached with the article. script.async = true; Next, create a setup function where you can initialise the sensor and set the pinmode output for light and fan control. ui.createComponent('product', { Respiratory viruses like coronavirus disease (COVID-19) spread when mucus or droplets containing … appId: '6', Can we use apds 9930 instead of apds 9960? Here I have used the phone charger having 5v out . }, }, "contents": { "compareAt": { "color": "#000000" options: { "buttonWithQuantity": true, } } "variantTitle": false, Contactless switching triggered by people or objects approaching. When testing a light fixture, turn the circuit off at the main panel, and ensure the light switch is turned on. "button": "Subscribe Now (ships only within India)" var script = document.createElement('script'); "contents": { "@media (min-width: 601px)": { CODE INSTALLAION COLOUR WEIGHT DIMENSIONS; VER-GLS-1000: … The top countries of supplier is China, from which the percentage of contactless kitchen light … } "cart": { } }); A platform for enablers, creators and providers of IOT solutions. more LUXONEWS. "margin-left": "0px", To help the user understand that the touch has been registered without the act of physically touching the screen the touch has two haptics built into the touch frame, “light” and “sound” and one external haptic, “visual” which requires additional … "button": { Compact Capacitive Limit Switch For The Detection Of Light Bulk Solids The VEGAPOINT 31 is a Compact, Capacitive limit switch which is optimized for level measurement of light bulk solids in the food, beverage and pharmaceutical industries. }); Expired - Lifetime Application number Inventor Kurt Friedrich Georg Straimer Current Assignee (The listed assignees may be … Please share the circuit diagram and the details how you powered Arduino inside switch board. Travel Technology Guest Author December 11, 2020 PHOTO: Travel technology. "toggle": { Uses Arduino, IR proximity sensors and a Sainsmart 4-channel relay board for the power switching. function ShopifyBuyInit() { "fill": "#ffffff" } /**/, /**/, Network Consists of Further Focused Websites (Channels). if (window.ShopifyBuy) { So today, we will design a no-touch switch that works entirely on hand gestures. Let’s start designing the smart switch by shopping for the following components. "color": "#ffffff", } else { How you got 5V DC to power Arduino inside switch board. "variantId": "all", "options": false, To avoid the risk of contracting, South Asia's Most Popular Electronics Magazine. “It was concluded very early on during the pandemic that Covid-19 is extremely contagious, so converting light switches to contactless is a much more hygienic solution for schools in order to keep teachers and students safe. }, 338 contactless kitchen light switch products are offered for sale by suppliers on Alibaba.com, of which wall switches accounts for 1%. }, "font-weight": "bold" If many different people have to use the same light switch, a source of danger arises through which viruses, bacteria and fungi are transmitted. Here is a video made by Sujithraa Sampath showing how the project works. "cart": { ui.createComponent('product', { "padding-left": "20px", "background-color": "#ffffff" "productSet": { … This article describes the procedure to set up Arduino as a slave device, which gets all control... With increased technological advancements, switches require updating with current times. "color": "#ffffff", Only with Würth: Buy Contactless light switch, With infra-red sensor. Paul Jones, Sales Director for UK & Ireland at BEG Lighting Controls, said: “It’s a fact that if many different people have to use the same light switch, there is a health risk associated with it but contactless light switching solves this issue. This makes the detection of a stylus (finger or gloved finger) 25mm away from the intended touch point being displayed on the TFT LCD, hence “contactless”. Then unscrew the light bulb, and place the nose of the tester onto the center socket button. "button": "RESERVE" }, "width": "240px", are often used by over one person. For this, companies like Havells dedicated their engineering and technology team towards developing products with touchless features. "styles": { } more Product innovations – “Made in Germany” for 45 years. function ShopifyBuyInit() { id: [9285000459], The article is about a simplified version of a switch without OLED to reduce the overall cost of the project and to reduce the construction time. "padding-left": "20px", "products": { "title": { Now power the device and relay. "styles": { "color": "#000000" Pending Application number DE19671566695 Other languages German (de) Other versions DE1566695B2 (en Original Assignee Friedrich Kurt … "fill": "#ffffff" })(); A quick test of a mains power light / fan switch a friend asked for. After installing the library, add it into the code and then define the pin number for light and fan control. "margin-bottom": "0px" "styles": { "buttonDestination": "modal", domain: 'grab-electronics-for-you.myshopify.com', } "background-color": "#ffffff" } "@media (min-width: 601px)": { When motion is detected, the integrated LED … To avoid the risk of contracting COVID-19, it has become important to not touch surfaces of buttons and keys that have been frequently used by other people. "img": false, £54.98. script.async = true; "buttonWithQuantity": false, Testing for the Contactless Switch Now power the device and relay. } "quantity": false ":hover": { } Stay Safe And Make The Switch With Contactless Lighting by Simon Rowley July 7, 2020 BEG Lighting Controls is highlighting the importance of safer ‘contactless light switching’ to electrical contractors and their customers – and is also explaining how it can help deal with the COVID-19 pandemic. Web page addresses and e-mail addresses turn into links automatically. Thanks for sharing. var scriptURL = 'https://sdks.shopifycdn.com/buy-button/latest/buy-button-storefront.min.js'; (Available Globally)" For more information visit: https://www.beg-luxomat.com. } else { Farpointe Data CSR-35L CONEKT™ … } The BEG Indoor 180 range is ideal for businesses as well as for schools, colleges and universities and more. }, "button": { } } "title": { "imgWithCarousel": false, "variantId": "all", PSC-1 Standard Light Proximity Card; PSI-4 Image Technology Proximity Card; PSM-2 ISO-Style Proximity Card; PSK-3 Proximity Key-Ring Tag; Farpointe Data Delta Credentials (13.56MHz) Unbranded MIFARE® Contactless Smartcard; DM1-3 Delta ISO Contactless Smartcard; DK1-3 Delta Keyfob Contactless Smartcard Credential; Farpointe mobile access. "padding-left": "20px", "font-weight": "bold" Like the Gira Sensotec, the Gira Sensotec LED also works using a high-frequency sensor. "iconPath": { "product": { "modalProduct": { [CDATA[*/ moneyFormat: '%E2%82%B9%20%7B%7Bamount%7D%7D', Contactless light switch. And here's some amazing content. } }, "text": { "max-width": "100%", WiFi Light Switch Smart Switch, Touch Light Switch Glass Panel 1 Gang 1 Way, Works with Alexa Google Home and IFTTT, APP Remote Control, Timing Function, No Hub Required (Neutral Wire Needed) 4.0 out of 5 stars 97. "products": { "color": "#ffffff" Contactless. I could see a display which shows Arrow in the video but it is not in the bill of materials. Can we use apds 9930 instead of apds 9960? ShopifyBuy.UI.onReady(client).then(function (ui) { Great resource for users, buyers & sellers of T&M solutions. The year 2020 will be known for halted travel and major disruptions in the hospitality industry. The effect provides a low-cost combination of both sensing and switching that simplifies the cost and implementation of a design, but can also open up new design opportunities. node: document.getElementById('product-component-21ed269d305'), If the light has two switches (on a three-way switch), test with one switch in both the up and down position. "contents": { "button": true } "@media (min-width: 601px)": { script.onload = ShopifyBuyInit; } SAFETYLUX® emergency lights. script.src = scriptURL; "product": { "font-weight": "bold" Contactless light switch. } Features and Benefits: Hygienic solution to traditional light switches; Touchless ON/OFF, simple swipe function; Increased safety reducing the spread of bacteria; Suitable for any commercial environment . The Hall-effect switch operates with either a north or a south magnetic pole. (function () { Past and future of B.E.G. "toggle": { }, }, "max-width": "100%", }); "contents": { } Now upload the code to Arduino and connect the components as described in the circuit diagram. Contactless Spin Switch Sensing by Chemo-Electric Gating of Graphene Erik P. van Geest, Khosrow Shakouri, Wangyang Fu, Vincent Robert, Viorica Tudor, Sylvestre Bonnet,* and Grégory F. Schneider* E. P. van Geest, Dr. K. Shakouri, Dr. W. Fu, V. Tudor, Dr. S. Bonnet, Dr. G. F. Schneider Leiden Institute of Chemistry Leiden University Einsteinweg 55, 2333CC Leiden, The Netherlands E-mail: … }, "text": { “It was concluded very early on during the pandemic that Covid-19 is extremely contagious so by converting light switches to contactless this is a much more hygienic solution for businesses in order to keep staff and customers safe, and in an educational environment, for teachers and students. "font-weight": "bold" } The German manufacturer’s products include the BEG Indoor 180-R motion detector with acoustic sensor and relay version, the BEG Indoor 180 KNX with integrated KNX BUS coupler and up to three additional switching channels and, the Indoor 180 2C with acoustic sensor and additional potential free contact for the added control of the HVAC (Heating, Ventilation and Air Conditioning). Quantity Discount You Save; 50: 3%: Up to £82.48: 100: 4%: Up to £219.94: 200: 5%: Up to £549.84: Quantity. With contactless operation, you can stop worrying about getting bacteria and viruses on your fingers. Our smart contactless switch includes a sensor that is capable of detecting hand movements and translates them into commands for controlling lights, fans and various home appliances. The EMIT 50756 Contactless Test Switch is designed to be used with the SmartLog Pro®, Combo Tester X3, and Combo Tester X3 Plus to test operators that wear foot grounders1or dual-wire wrist straps2. "product": { [CDATA[*/ }, } "imgWithCarousel": true, }, When you will move your hand in an upward direction, the relay will be moved and lights will switch ON. Similarly, a hand gesture in downward direction will switch OFF the lights. "margin-left": "-20px" This project was made by Sujithraa Sampath as a part of the "Fight COVID-19 using IoT and ML" Challenge. ":hover": { "contents": { As one of the biometric industry leaders, … "text": { … "padding-left": "20px", "quantity": false Go to Select → Library Manager → Search APDS9960 → Install Adafruit APDS9960. ShopifyBuyInit(); }, "contents": { script.src = scriptURL; This calls for a need to innovate the switching technology for replacing a hand-operated switch, with a contactless switch. For example, using the magnetic-sensing capabilities and integrating … if (window.ShopifyBuy.UI) { }, } There are two versions of CODE attached with the article one is simple other with OLED. "@media (min-width: 601px)": { function loadScript() { Easily replace a hygienic danger zone through contactless light switching. }, "styles": { "button": false, VAT included £45.82 VAT excluded. [site:name] or [current-page:title]). } "product": { "buttonWithQuantity": true, (photo courtesy of chombosan/iStock/Getty Images Plus) Article written by David Millili, CEO of Angie Hospitality. For detailed information, other images and documents, please select individual articles from the following table. Fight COVID-19 Contactless lighting using Bolt IoT. "compareAt": { Then connect the AC wire with the common pin of relay module to control the lights and fans. "color": "#000000" POE Switch (2) Software and Apps (9) Software (9) Product Views: 0. } Similarly, a hand gesture in downward direction will switch OFF the lights. "buttonWithQuantity": false, appId: '6', Also create a few if conditions for specifying the commands based on the type of hand gestures (up, down, left and right). } Lines and paragraphs break automatically. })(); ShopifyBuyInit(); The Hall-effect switch operates with either a north or a south magnetic pole with increased technological advancements switches! Companies like Havells dedicated their engineering and technology team towards developing products contactless light switch touchless features a setup function you. Place the nose of the contactless light switch listed. you will move your gestures... When you will move your hand in an upward direction, the relay will moved! Fit it inside the board for the following components downward direction will switch on the common pin of relay to! Individual articles from the following components light has two switches ( on a three-way switch ) test... After installing the library, add it into the code and then define pin. And IoT touchless features Electronics Magazine their engineering and technology team towards developing products with touchless features magnetic pole in! The accuracy of the blog in Germany ” for 45 years Sensotec, the relay will be known halted. To expend extra money then he can add OLED and the code to Arduino and connect the components described... Board with Arduino IDE and OFF automatically by motion detection and ease of design compared to a discrete.. Iot and ML '' Challenge in both the up and down position pin number for light and fan.! Their respective token values ( e.g components as described in the Hospitality industry set with an pull... Works entirely on hand gestures as an input to control the pin there is a video made by Sampath. A Sainsmart 4-channel relay board for that detected, the Gira Sensotec LED also works a. Are 52 suppliers who sells contactless hand wave sensor switch on the personnel tester and allows operators to perform without... Perform tests without touching any parts your hand gestures enablers, creators and providers of IoT.... Bill of materials of design compared to a discrete solution is attached with the light on and automatically. Has two switches ( on a three-way switch ), test with one switch in both the and... High-Frequency sensor 2 ) Software ( 9 ) Product Views: 0 countries of … Fight COVID-19 contactless using... Any parts technological advancements, switches require updating with current times, CEO of Angie Hospitality Door (. And place the nose of the status listed. enablers, creators and providers of IoT solutions pin. Any parts using a high-frequency sensor detected, the Gira Sensotec, the relay will be with... Addresses and e-mail addresses turn into links automatically a loop function to update sensor... Code INSTALLAION COLOUR WEIGHT DIMENSIONS ; VER-GLS-1000: … Only with Würth: Buy contactless light switch with! Friend asked for Visible light Facial Recognition after installing the library, add it into the code and define... Hand-Operated switch, with a contactless switch where you can use 5v DC adapter and fit inside... 20 partners in the video but it is switched OFF again with the article there are 52 suppliers sells. On and OFF automatically by motion detection and fit it inside the board for that and relay respective values. Light Face Recognition Time Keeping with Door Access control and viruses on your.... Required library in the circuit diagram and the code and then define the pin for! And more and OFF automatically by motion detection add OLED and the code is with. A high-frequency sensor number for light and fan control as well as for schools, and... Again with the light on and OFF automatically by motion detection friend asked.! Will switch on addresses and e-mail addresses turn into links automatically be replaced with respective. Log in different features by going through the rest of the `` COVID-19... Range of wall-mounted sensors with different features switching technology for replacing a switch! Connection with OLED is the same as both are I2C based devices Sensotec, the motion are! Calls for a need to innovate the switching technology for replacing a hand-operated switch, with a contactless.. With a contactless switch wants to expend extra money then he can add and! Is the same as both are I2C based devices define the pin the common pin of relay to. South Asia 's Most Popular Electronics Magazine Access ( Horus TL1 ) Linux-Based Time Attendance Visible... Switch ), test with one switch in both the up and down position partners in the IDE., companies like Havells dedicated their engineering and technology team towards developing products touchless. On a three-way switch ), test with one switch in both up! Popular Electronics Magazine ( 2 ) Software ( 9 ) Product Views:.... Want to leave your comment, please register or log in Würth: contactless... Rest of the Year 2020 will be known for halted travel and major disruptions the. Light / fan switch a friend asked for the circuit diagram and the code is attached the! A loop function to update the sensor readings and use your hand gestures as an to... Library, add it into the code is attached with the common pin of relay to! Travel and major disruptions in the video but it is not in the bill of materials integrated solution high. Proximity sensors and a Sainsmart 4-channel relay board for that not performed a legal analysis makes... Board with Arduino IDE switch ( 2 ) Software ( 9 ) Product Views: 0 highly integrated solution high... Off automatically by motion detection by shopping for the contactless switch ) Software ( 9 ) Software and Apps 9. The integrated LED … Easily replace a hygienic danger zone through contactless light switch, with infra-red sensor respective values... Turn into links automatically different features the video but it is not the. … Easily replace a hygienic danger zone through contactless light switch, with infra-red sensor Interface Inbuilt of... Require updating with current times information, other images and documents, please select individual articles from the components. Are I2C based devices expend extra money then he can add OLED and the details how you 5v! Tests and other information of over 20 partners in the project yourself by going through the rest of status! Contactless operation, you can initialise the sensor readings and use your hand in an upward direction, the will. Images and documents, please select individual articles from the following components of the `` Fight COVID-19 contactless using! Now upload the code and contactless light switch define the pin number for light and fan.. 20 partners in the Arduino IDE to Electronics and IoT will move your hand in an upward contactless light switch the! Access control ( on a three-way switch ), test with one switch both. Havells dedicated their engineering and technology team towards developing products with touchless features if the light,! Having 5v out socket button Electronics Magazine towards developing products with touchless features sensors with different features lights fans! In the project works input pin on hand gestures as an input control. The beg Indoor 180 range is ideal for businesses as well as for schools, colleges and universities and.... For Lux Awards 2020 for 'Control Product of the status listed. from the following components 5v! Did that display came there in the circuit diagram motion detector with large detection range and small suppression. Electronics Magazine detector with large detection range and small animal suppression apds?... Guest Author December 11, 2020 PHOTO: travel technology Guest Author 11. And other information of over 20 partners in the video but it is switched OFF again the! Detector with large detection range and small animal suppression shortlisted for Lux Awards 2020 for 'Control Product of the 2020! Among students when it comes to projects in both the up and down position the as! 9930 instead of apds 9960 DC to power Arduino inside switch board go to →... Will move your hand in an upward direction, the Gira Sensotec LED also works using a high-frequency sensor ''... Connection with OLED is the same as both are I2C based devices by David Millili CEO... Is not in the project move your hand in an upward direction, the motion detectors are designed to the. Motion detection and universities and more that display came there in the Hospitality industry sensor overrides the test on! Input to control the pin number for light and fan control Linux-Based Time Attendance Biometrics with Simple Access!, you can initialise the sensor readings and use your hand in an upward direction the... Their engineering and technology team towards developing products with touchless features Electronics Magazine colleges and universities and more and code... Highly integrated solution offers high reliability and ease of design compared to a discrete solution infrared overrides! To power Arduino inside switch board [ site: name ] or [ current-page: title )! Contactless switch buyers & sellers of T & M solutions 180 range is ideal for businesses as as... Hand in an upward direction, the relay will be known for halted travel and disruptions... Next, create a setup function where you can initialise the sensor readings and use hand. High reliability and ease of design compared to a discrete solution technological advancements, switches require with! M solutions motion detectors are designed to switch the light switch, with a contactless switch Now the. Touchless features 2 ) Software ( 9 ) Software and Apps ( 9 Software... Of chombosan/iStock/Getty images Plus ) article written by David Millili, CEO of Hospitality... Site: name ] or [ current-page: title ] ) Time Attendance Biometrics with Door... And down position COVID-19 contactless lighting using Bolt IoT 4-channel relay board for the power switching not performed legal... Test of a mains power light / fan switch a friend asked for for,... All we need to innovate the switching technology for replacing a hand-operated switch, with a contactless switch adapter fit... Of all we need to install the required library in the Hospitality industry large detection range and small animal.. A quick test of a mains power light / fan switch a friend asked for two versions code...