From 5228b17e7a1b35227683d30659652a6d774c00db Mon Sep 17 00:00:00 2001 From: Max Date: Wed, 14 Sep 2022 00:55:43 +0200 Subject: [PATCH] Small clarification --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b7fa7de..90d8d7f 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ If outside was the initial trigger direction, and inside the last, no matter wha Most importantly, the sensor should be in the door frame, pointing down. The orientation of the sensor is also important, since you want it to increase the count for people walking into your room, and decrease the count for people walking out. -In the photos below you can see my current setup. The piece of cardboard is supposed to block sunlight from interfering with the sensor. Before the cardboard piece was attached, I had more issues with the sensors, especially in the morning, when sun was shining through a nearby window. +In the photos below you can see my current setup. The piece of cardboard is supposed to block sunlight from interfering with the sensor. Before the cardboard piece was attached, I had more issues with the sensor, especially in the morning, when sun was shining through a nearby window. The piece of cardboard is on the side of my room, which might help you to orient the sensor properly. @@ -99,7 +99,7 @@ If you walk in, it will increase the counter. If the counter is >0, the lights w If you walk out, it will decrease the counter. The counter does not go below 0. If the counter reaches 0, the lights will turn off, otherwise will stay on. -Everytime someone triggers an event, the current state of the lights is checked. If the count should be 0, but the lights were on, it will be adjusted to 1, before applying the corresponding count (-1 for walking out, +1 for walking in). +Everytime someone triggers the sensor, the current state of the lights is checked. If the count should be 0, but the lights were on, it will be adjusted to 1, before applying the corresponding count (-1 for walking out, +1 for walking in). If the count should be >0, but the lights were off, it will be adjusted to 0, before applying the corresponding count.