> For the complete documentation index, see [llms.txt](https://docs.efento.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.efento.io/nb-iot-loggers/installation/logger-specific-installation-guidelines/motion-occupancy.md).

# Motion / occupancy

The Efento Motion / Occupancy Logger is equipped with a passive infrared (PIR) sensing element paired with a multi-segment Fresnel lens. It is designed to detect human motion and room occupancy in offices, conference rooms, warehouses, archives, and residential facilities.

## **How the Passive Infrared (PIR) Sensor Works**

1. **Thermal Radiation Detection:**\
   Human bodies emit heat in the form of infrared radiation. The PIR sensor does not emit any energy; it passively detects changes in infrared radiation within its detection area.
2. **Fresnel Lens Optical Zones:**\
   The front lens divides the detection area into multiple optical detection zones.
3. **Differential Sensing:**\
   Inside the sensor, a four-element pyroelectric detector responds to changes in infrared radiation. When a warm body moves between detection zones, the resulting change in infrared energy is registered and interpreted as **movement**.
4. **Motion vs. Presence (Occupancy):**
   * **Motion detection:** Triggered by physical movement of a heat source across the detection zones, for example when a person walks through or enters the monitored area.
   * **Occupancy (presence):** The logger uses configurable sensitivity thresholds and detection periods to determine the occupancy state. This allows short incidental movements to be filtered and prevents the state from changing immediately during brief periods without detected movement.

## **Mounting and detection area**

Optimal performance depends heavily on the mounting height, orientation, and angle of the device relative to expected pedestrian traffic.

* **Detection Range:** Up to 12m for temperature difference ≥ 4°C, up to 17m for temperature difference ≥ 8°C
* **Detection angle:** 40°×105°
* **Recommended Mounting Height:** **2.0 m to 2.4 m** above the floor.

The detection area of the motion sensor is shown in the picture below.

![](https://content.gitbook.com/content/GPFUI36OraG706yJS7dJ/blobs/ehiRxoiHxQfTOyNqAeD3/Unknown%20image)

An example of using a motion sensor in an office room with six workstations is shown in the picture below. The device was installed on the wall and covers all the desks in the room.

<figure><img src="https://content.gitbook.com/content/GPFUI36OraG706yJS7dJ/blobs/29idgwhGwfIXwhWzGz7m/Unknown%20image" alt=""><figcaption></figcaption></figure>

## **Instalation best practices**

| Recommended                                                                                                                        | Avoid                                                                                                                               |
| ---------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| **Mount at 2.0–2.4 m:** Ensures proper downward inclination and eliminates immediate floor-level dead zones.                       | **Do not mount behind glass:** Glass filters out thermal infrared wavelengths completely; the sensor will be blind through windows. |
| **Angle across paths:** Orient the device so people walk across the sensor beams rather than straight into the lens.               | **Do not aim at air vents:** Air conditioning drafts and heating units blowing directly on the lens cause false triggers.           |
| **Keep the lens clean:** Wipe the Fresnel lens only with a dry, soft microfiber cloth (no solvents or alcohol).                    | **Do not paint over the lens:** Paint or coatings permanently block infrared transmission through the plastic dome.                 |
| **Account for pets/small animals:** In areas where pets roam, aim the sensor horizontally higher or adjust sensitivity thresholds. | **Do not place directly in sunlight:** Rapid solar heating through windows creates false motion alarms.                             |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.efento.io/nb-iot-loggers/installation/logger-specific-installation-guidelines/motion-occupancy.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
