Skip to content

On Home Assistant 2026.10 or older? Open it in HACS

Independent directory, made by the developer of Vulpo. Not affiliated with Home Assistant or the Open Home Foundation.

About

Wasp in a Box is a Marketplace integration that provides occupancy helpers for enclosed spaces such as bathrooms. Each helper combines a motion sensor and a door sensor to keep a room marked as occupied while a person stays inside, even when they are still or out of range of the motion sensor. It is meant for single occupancy rooms where the door is shut when in use, and it does not work for multiple occupancy. Settings include a door closed delay, a door open timeout, and an immediate on option that decides whether occupancy turns on at once or after the delay. A reset action sets the state to unoccupied and cancels pending timers, and the motion and door states are exposed as attributes on the binary sensor. It runs locally and is set up in the UI.

Automatic summary of the README and code of andrew-codechimp/HA-Wasp-In-A-Box. Something wrong, or are you the maintainer and want your own text here? Get in touch

Shows in Vulpo

Apple Watch.

Installs over time

51
Oct 21Nov 14

#1,561 of 1,584 Marketplace integrations. Installs sharing analytics.

Supports

  • Works locallyTalks to your devices on your own network. No vendor cloud in between.
  • From the MarketplaceInstalled through the Marketplace, formerly HACS.
  • Actively maintainedIts author released or pushed a change in the last six months.

Setting it up

Install it from the Marketplace and restart Home Assistant, then add it under Settings, Devices and services.

Create Wasp in a Box

  • Name
  • Motion sensorSelect the motion sensor for the room.
  • Door sensorSelect the door sensor for the room.
  • Door closed delaySet the delay (in seconds) after the door is closed before determining if the room is occupied. If motion is detected when the delay expires, the helper is set to occupied. Should be set to about 10 seconds above how long your motion sensor stays active after motion has stopped.
  • Door open timeoutThe timeout (in seconds) after which if there is no motion detected and the door is open, the helper will be set to unoccupied.
  • Immediate onWhen enabled, occupancy turns on immediately when motion is detected or the door is opened. When disabled, the door closed delay applies before turning on.

After setup

  • Motion sensorSelect the motion sensor for the room.
  • Door sensorSelect the door sensor for the room.
  • Door closed delaySet the delay (in seconds) after the door is closed before determining if the room is occupied. If motion is detected when the delay expires, the helper is set to occupied. Should be set to about 10 seconds above how long your motion sensor stays active after motion has stopped.
  • Door open timeoutThe timeout (in seconds) after which if there is no motion detected and the door is open, the helper will be set to unoccupied.
  • Immediate onWhen enabled, occupancy turns on immediately when motion is detected or the door is opened. When disabled, the door closed delay applies before turning on.

Texts from the code of andrew-codechimp/HA-Wasp-In-A-Box.

Actions

  • ResetReset the occupancy sensor to off and clear any pending timers.

From the README

Wasp in a Box Helpers for Home Assistant

From the README of andrew-codechimp/HA-Wasp-In-A-Box, MIT License. Shortened.

Information

Installs
51 sharing analytics
GitHub stars
8
Connection
Works locally
Upkeep
Updated in the last 6 months
Version
1.1.4,
Category
Sensors, Motion and presence
Kind
Marketplace integration
Needs
Needs the Marketplace (HACS on 2026.10 and older)
Domain
wasp_in_a_box

You might also like

Independent directory, made by the developer of Vulpo. Not affiliated with Home Assistant or the Open Home Foundation. About these numbers

Looking for an app? The best Home Assistant apps for iPhone, by need.