INSTALLATION · 5 MIN READ

Place your ESPectre sensor

Distance, antenna orientation, obstacles, and a repeatable room test for finding a placement that detects movement without chasing noise.

Top-down room showing a router, an ESP32, a walking person, and reflected Wi-Fi paths
A useful starting geometry: keep the endpoints apart, the antenna clear, and normal movement crossing several radio paths.

ESPectre does not watch a circular area around the board. The access point sends Wi-Fi packets to the ESP32 over a direct path and many reflections from walls, furniture, and people. Motion is easiest to distinguish when it changes several of those paths, so the access point, the sensor, and the route people take through the room all matter.

Placement changes the radio baseline more than a small threshold adjustment does. Find a stable location first, then calibrate and tune.

A good starting placement

Distance: use RSSI as the final check

Metres are only a starting point: walls, access-point power, antennas, and furniture change the link. When your frontend exposes Wi-Fi RSSI, use it to confirm the result. ESPHome publishes a diagnostic WiFi RSSI sensor, and Monitor displays the value in Diagnostics.

Observed RSSIWhat it suggestsWhat to do
Above -40 dBmThe receiver may be too close to the access point.Move the sensor farther away before raising thresholds.
-40 to -70 dBmGood CSI headroom for a first installation.Run the quiet-and-motion test below.
-70 to -80 dBmThe link is weaker and placement effects become more important.Test carefully, and prefer a clearer path if results vary.
Below -80 dBmThe signal is weak and more noise is likely.Move the sensor or access point, or remove a heavy obstacle.

Do not optimize for the strongest possible RSSI. A very short link can be less useful than a moderate, stable link that crosses the occupied part of the room.

Angle and antenna orientation

There is no universal best angle for every ESP32 board and access point. PCB antennas, external whip antennas, enclosures, and nearby materials all change the pattern. Use the following as a controlled starting test:

  1. Start clear and facing the link

    Keep the antenna end away from the wall or enclosure and start with the device facing the access point. For an external whip antenna, start with it vertical.

  2. Record one quiet baseline

    Keep the room empty and still long enough to see whether the score remains stable.

  3. Walk the real route

    Use the doorway, corridor, or path the installation is meant to detect; do not test only by waving a hand next to the board.

  4. Rotate by 90 degrees

    Change only the orientation, recalibrate when using Lightweight, and repeat the same walk. Keep the orientation with the clearer separation between quiet and motion.

The comparison matters more than the nominal angle. Avoid making several changes at once, or you will not know which one improved the link.

Room layouts

Single room

  • Place the endpoints apart.
  • Let common walking routes cross the link.
  • Keep the sensor out of cabinets and from behind furniture.

Doorway or corridor

  • Put the link across, or diagonally across, the route.
  • Test the whole approach, not only the doorway.
  • Watch for motion leaking in from adjacent rooms.

One per floor or apartment

  • Use one sensor per floor or apartment as a practical starting point.
  • Add another when tests reveal blind areas or you need room-level state.
  • Label and tune each sensing link independently.

Placements to avoid

A repeatable ten-minute test

  1. Check the link

    Confirm steady packet traffic and, when available, an RSSI in the preferred range.

  2. Establish quiet

    With Lightweight, boot or recalibrate with the room still during the startup calibration. Then observe an empty room for one or two minutes; the live threshold may still come down if the opening was noisier than the rest of the session.

  3. Exercise the target area

    Walk the routes that should trigger motion, including the farthest and weakest-looking part of the room.

  4. Check unwanted areas

    Move in adjacent spaces that should remain ignored, and run any fans or appliances normally present.

  5. Change one thing

    Move or rotate the sensor, recalibrate Lightweight, and repeat the same sequence. With High Accuracy, repeat the empty-and-motion comparison after every move even though it does not run the Lightweight startup bootstrap.

  6. Tune only after placement

    Once the best physical position is stable, make small threshold or filtering changes if they are still needed.

ESPectre detects changes in the radio environment. It does not identify people, guarantee an exact boundary, or replace a safety-certified presence sensor.