Lighting controller counts how many people are in a room
About Mike Szczys  @szczys Google+     1. This will go wrong
when two people leave or enter the room together…    2. I saw
this a week ago on reddit :(    3. Destate9 says:      These
photoresistor/phototransistor based sensors work really well
when you have the light source that close, but when you have
your gate mounted on oposite sides of a door, things might get a
little funky. Also, it’s always a good idea to be able to
manually overide the current number, so the number doesn’t get
too far off    4. I Thought about doing exactly the same thing,
cause atm the traditional sensors are absolutely not perfect
(when I’m sitting in the room at my laptop, after a few minutes
the light switches off).      But how can this be extended to
detect when two persons are going through the door, one leaving
and one entering?     I already thought about infrared
thermometers or thermal imaging cameras, but they’re either to
expensive or I couldn’t imagine the ‘p