Wow, this just makes me love America's Test Kitchen even harder.
Edit: and it's served from a statically-generated jekyll blog that is on their github page. Did I mention they have a github account. Very random and awesome.
Does this method fail if someone closes the door behind them when they leave the bathroom? I'm not sure of the exact setup of the bathroom, but I can imagine that many people would instinctively close the door behind them rather than leave it open. Maybe at ATK they have a strong culture of open = unoccupied.
What would be ideal is if it could be wired to the locking mechanism of the door. That's probably decently simple to do if the door is locked using a deadbolt because something physical is actually entering the doorframe. If it's just a lock that prevents the doorknob from turning, then you'd likely need to disassemble the locking mechanism and see where you can attach a switch.
There is a strong culture for leaving the door open, to avoid the awkward door knock. This defiantly does mean we can have false "occupied" states, but in practice at our office this doesn't happen.
Actually, if you were to implement something that monitors the state of the door lock, the same hardware could run an OCCUPIED/VACANT LED on the door itself to avoid the awkward door knock in the event that the door is closed while the bathroom is unoccupied.
Of course, if someone forgets to lock the door, that's basically an invitation for everyone else to walk in on them. On second thought, it seems to me that the best solution here is to mount webcams in the bathroom so that anyone can see if it's occupied. Seems like the only foolproof way to go here.
On a related note, we have a take home fridge at ATK, there was some discussion about how to tell when new food was added to the fridge. Cameras might have been an option there.
My favorite part: "The next step involves complex analysis of historical bathroom visit data, to allow for statistical insight into bathroom habits. Oh, and a 💩 icon for when the bathroom has been occupied for more than 5 minutes."
I wonder when the productivity benefit to ATK employees will outweigh the $$ they spent paying you to make this.
It actually would have been very interesting to poll employees and get data on 'failed bathroom trips' per day per employee before you finished the project.
From there, you could extrapolate the (supposed) daily productivity increase and do things like plotting the $$ or minutes saved per day on the screen.
Well aside from the fact that most of this development was done in my free time, I can say personally it's saved my a good amount of frustration and time. Hard to really quantify though.
Edit: and it's served from a statically-generated jekyll blog that is on their github page. Did I mention they have a github account. Very random and awesome.