An mmWave sensor can solve that problem.
Best mmWave Sensor to Use with ST? (human presence sensor/occupancy sensor)