Need a dummy Sensor

I built my own sensor to detect if a person entered a room. i use laser gates in doors to detect in wich direction someone walked through the door. and my plan is that for example when someone walked in the kitchen the “kitchen precence counter” is set to 1, if someone leaves it counts one less.

that way i can track if and how many people are in a room. if a room counter is 0 then there is nobody, if its >= 1 there is someone in the room.

my problem now is that i have no clue how i can add this dummy room precence counter entity.

all the logic will be made with nodered.

You can use a counter for that. Add a counter for each room that you tracking.

1 Like