# Upcoming installation

**URL:** <https://community.gladysassistant.com/t/installation-en-devenir/8594>\
**Category:** Partagez votre installation\
**Created:** [December 7, 2023, 2:04pm UTC](https://community.gladysassistant.com/t/installation-en-devenir/8594 "2023-12-07T14:04:55Z")\
**Posts on this page:** 1\
**Showing post:** 119

<div class="post-metadata">

**Author:** ![Prof\_Techno](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/prof_techno/32/19038_2.png) [@Prof\_Techno](https://community.gladysassistant.com/u/Prof_Techno)\
**Post date:** [August 12, 2025, 10:00am UTC](https://community.gladysassistant.com/t/installation-en-devenir/8594/119 "2025-08-12T10:00:42Z")

</div>

I set up a scene to automatically manage the lighting in my hallway, so that it turns on only when necessary and without manual intervention.  
This setup relies on **two wireless motion sensors** (strategically placed at both ends of the hallway) and on **a switch integrated directly into the lamp**.

#### ⚙ Hardware used

- **2 battery-powered wireless Zigbee motion sensors** (discreet and easy to place)
- **1 Zigbee switch** (in-wall module if necessary)
- **Zigbee2MQTT** controller for device management
- Home automation software **Gladys** for creating the scene

#### ✅ Advantages

- Lights turn on only when needed
- No manual pressing of a switch
- Detection at each entrance of the hallway thanks to the two sensors

#### 🔍 How it works — see images :

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/2/f/2f97c414c5bbf121a21ff61dc7f6e6191569441f.png)

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/e/b/eb666fd27835b62af5a1fa5ef7e6cc3869f91cde.png)

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/a/9/a9dc92dc790c38099012e76f1e70a8e026368f1a.png)

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/4/3/432b4f6f0b7a824f719e30b2a58564ac5f9406a9.png)

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/f/a/fa7ed284e8a1740c4c205dfa3314b37bd726f972.png)

---

_[View the full topic](https://community.gladysassistant.com/t/installation-en-devenir/8594)._
