As I have got older, and I first worked with microprocessors in the late 70s, I realise that whilst I may think I have the odd clever idea that no-one has thought about before, I then appreciate that several zillions of other people have probably also had the same clever idea.
So when there is no apparent (low cost) solution to an 'Occupancy Sensor' just maybe its possible that there is no solution.