Home Automation using HoloLens
HoloLens was connected with the Raspberry Pi via Internet, using Azure IoT Hub. Azure IoT Hub is a medium between both devices to exchange messages. Two Universal Windows Platform (UWP) applications were developed, one was developed for HoloLens and the other for Raspberry Pi. The Raspberry Pi is th
2025-06-28 16:32:55 - Adil Khan
Home Automation using HoloLens
Project Area of Specialization Augmented and Virtual RealityProject SummaryHoloLens was connected with the Raspberry Pi via Internet, using Azure IoT Hub. Azure IoT Hub is a medium between both devices to exchange messages. Two Universal Windows Platform (UWP) applications were developed, one was developed for HoloLens and the other for Raspberry Pi. The Raspberry Pi is the brain which will make simple home appliances smart. We connected the bulb with the Raspberry Pi via a 4-Channel Relay and then sent a turn on/off signal to the Raspberry Pi by tapping on the virtual/augmented button visible besides an electronic device. Whenever we tapped on the button, the UWP application running on the HoloLens has forwarded and stored the corresponding command at the Microsoft Azure IoT Hub and then command sent to the connected devices at IoT Hub. Raspberry Pi supplied voltage on the basis of command turn on/off (min is 0 and max is 5). If the command received is “ON” then the bulb/fan/ac or other appliances in the room was successfully turned on and if the command received is “OFF” then bulb was successfully turned off.
Project ObjectivesHome Automation has been around for many years implemented using different technologies like smartphones, Alexa, Google Home. But these technologies have drawbacks which made them inefficient for Home Automation. For instance, to turn on/off an electric appliance using smartphones, one has to go through a lot of stages like opening the application, selecting the specific room among many rooms, and selecting specific electric appliance among many. The resulting overhead is similar to the achieving the same task using a mechanical switch.
The above scenario can easily be solved by using HoloLens, following simple steps like wearing the HoloLens and look at the specific appliance which will make appear an augmented 3D switch. Now, you just have to look at the button and perform the Air Tap gesture using your hand, which will make the specific appliance turn on/off.
Project Implementation MethodApproach:
We have solved the problem of Home Automation through HoloLens. A user will be provided with a Universal Windows Platform (UWP) application integrated Raspberry Pi. Both will be sending and receiving messages through Microsoft Azure IoT Hub.
Method:
Whenever we tap an augmented/virtual button (with a gesture) visible besides the electronic device then HoloLens will store that command at Azure IoT Hub and then this command will be forwarded to the Raspberry Pi through IoT Hub. All the commands are stored at Microsoft Azure IoT Hub.
Benefits of the ProjectUsers can easily interact with the appliances in home and control them with gestures.
Admin can efficiently monitor all the devices that are turned on or off and he will easily control them from server room or a remote location.
Electricity can be saved at greater extent by continuously monitoring of all electric appliances in the building.
Technical Details of Final Deliverable- HoloLens UWP Software
- Raspberry Pi UWP Software
- Software Documents
| Item Name | Type | No. of Units | Per Unit Cost (in Rs) | Total (in Rs) |
|---|---|---|---|---|
| Total in (Rs) | 70000 | |||
| AR/VR Device | Equipment | 1 | 70000 | 70000 |
| 0 | Miscellaneous | 0 | 0 | 0 |
| 0 | Miscellaneous | 0 | 0 | 0 |