For a long time I've wanted one of these, to serve as an "interruptility" indicator to others: green = "I'm looking at the internet, please interrupt me so I can possibly do something more useful", amber = "I'm working but okay", red = "only interrupt me if it's truly urgent". It could be programmable, so that (for example) it could automatically go to green when Firefox had HN as its frontmost window.
Imagine a lab or office in which everyone used an LED in this way. It might be nice.
When I was with Happy Camper Studios we used to stick colored index cards up on our desk backboards or atop a monitor to indicate willingness to be interrupted. Red meant leave me alone; green meant open for interruption; yellow meant you can poke me if it's work-related.
We looked around for lights and such (I wanted a traffic light) but they were too pricey so we went low-tech.
We use closet lights for this at my current startup, but I really like the idea of it automatically updating based on frontmost task. It'd be great if there were a project that provided the software side of this for at least Ubuntu, Windows, and Mac OS.
The whole area of ambient displays is interesting. So much information is on screens now, but for certain situations an ambient display would be a lot more convenient for conveying information.
See for example the ambient orb which can change colour according to what the Dow is doing, to name one example:
Or the nabaztag, the wifi rabbit, who raises his ears to different triggers, such as, I don't know, a broken link on your website or a customer support email landing in your inbox. Pretty cool.
Nifty, but my laptop already has LEDs that I don't use, namely numlock and scroll lock. There are many Linux utilities that can blink these and turn these on.
In the case of numlock on a laptop you need to be smarter than just toggling the light; many laptops overlay a numpad over the keys, so with numlock enabled hitting 'I' will send 5 instead.
Back in the day I had some kind of plugin that toggled the caps and scroll lights based on ethernet Rx and Tx traffic. Nifty hack, but got distracting real fast.
The key to notifications is filtering. Don't make it light up for every email, only make it light up when an email that needs immediate action arrives.
I'm going to set one of these up to monitor my work email. If someone sends a message to me (which is a small minority of messages I receive), it will light up. Then when I'm in bed and feel like hitting the snooze button, I can glance at the LED and determine whether or not I need to get up and check my email or not.
Do you really need the microcontroller to do that? He doesn't say exactly what the ATtiny does, but if it's just setting one of three LEDs based on two pins, it seems you could accomplish the same thing with a couple of logic gates? (But maybe these days it's easier to get a microcontroller than to wire up a few gates?)
Parallel printer port, which was often used for this kind of hacks, disappeared from PC several years ago. A USB device is usually the best for general purpose I/O.
And I don't know how to build a USB device 'with a couple of logic gates'.
USB also provides enough power to light a bright LED. There was no power on a printer port, though people would steal power by setting a lot of pins high and hoping for the best.
I think I'd just spend the $2.40 and use an AT90USB82 instead. It has USB built in so you don't have to wrestle with software USB. I've done software USB on an Atmel and getting 98% of the way there is easy, but I never really trusted the end result.
On the down side, it doesn't come in a DIP package, but you could use any little breakout carrier card to get to the pins. On the plus side you'd have a couple dozen pins to play with.
I'd like to have some light that indicates the status of our continuous build. However, I can only find solutions that require too much low-level hacking (like the original article, very cool but it'd take me ages), or are two expensive, or not customizable enough (Ambient Orb).
Very neat. It would be interesting to know if there is a only-software way to use the available lights on every laptop (battery, wifi indicators) as email notifiers. Do you think that this would be possible?
Imagine a lab or office in which everyone used an LED in this way. It might be nice.