Occupancy Sensor - Still no solution

Hi
Purpose is Home automation, needs to close energy of room if someone is not in room including rest room.

rooms are large, are you sure CO2 will work coz it will take time to reach threshold.