infrared presence sensor is a simple solution
I bought this for a small office renovation project. The infrared presence sensor was easy to install in the ceiling, and it works well for detecting people when they enter the room. The setup did not take much time, but I had to find the right sensitivity setting to avoid unnecessary triggering. Overall, it does exactly what I needed for automatic lighting control.