The PyPortal has a built-in Temperature and Light sensor that we will make good use of, but we can always add more. Motion sensors are a good way to tell if a person is in a particular room and so we will be using a passive infrared (or PIR) sensor as a "people detector".
On the PyPortal, there are two STEMMA 3-Pin JST connectors that make it easy to connect new sensors. Here is what you will need:
You will want to connect the STEMMA 3-Pin JST to the D3 port on the PyPortal.
The other end of the wires get connected to the PIR sensor.