Skip to content

Commit

Permalink
Update info.md
Browse files Browse the repository at this point in the history
  • Loading branch information
wernerhp authored Jul 25, 2020
1 parent 00bcaa2 commit 2eee41f
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions apps/info.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@
## Introduction
Wasp in a Box is an AppDaemon app for detecting occupancy using door and motions sensors.

If the box (door) is open, we assume there is no wasp (person) in the box.
If I see a wasp (motion), then there is a wasp in the box.
If I close the box, then there is a wasp in the box.
If the box has not been opened, we assume the wasp is still in the box.

If the box (door) is open, we assume there is no wasp (person) in the box.
If I see a wasp (motion), then there is a wasp in the box.
If I close the box, then there is a wasp in the box.
If the box has not been opened, we assume the wasp is still in the box.
The state of the generated binary sensor can be used for triggering automations.

### Example:
If someone enters the bathroom and motion is detected, then turn on the light.
If the door is closed and motion is detected, then keep the light on as long as the door is closed.
If the door is open and no motion is detected, then turn off the light.
If someone enters the bathroom and motion is detected, then turn on the light.
If the door is closed and motion is detected, then keep the light on as long as the door is closed.
If the door is open and no motion is detected, then turn off the light.

## Installation
Download the `wasp` directory from inside the `apps` directory to your local `apps` directory, then configure the `wasp` module in `apps.yaml`.
Expand All @@ -40,4 +40,4 @@ key | optional | type | default | description
`class` | False | string | | The name of the Class.
`name` | True | string | Defaults to the app name, e.g. Bathroom Wasp | The friendly_name of the sensor.
`door_sensors` | False | list | | A list of door sensor entity_ids.
`motion_sensors` | False | list | | A list of motion sensor entity_ids.
`motion_sensors` | False | list | | A list of motion sensor entity_ids.

0 comments on commit 2eee41f

Please sign in to comment.