I'm currently working on a project that does something useful with those cheap RGB LEDs I like so much. :)
Its a small circuit based on a picaxe 08m that is listening to signals on the serial port of a USB->serial adapter, a rather dumb device that switches output 1 high when a "1" is received, "2" switches output 2 high, "4" means outputs 1 and 2 are high etc. Basically it takes the last (or first? forgot) three bits of the incoming ascii sign and uses it to encode its outputs accordingly..
The software part is a bit more complex and consists of a bunch of python and zenity scripts that listens on the dBus system bus for message alerts issued by pidgin and thunderbird (the latter thanks to" dbus notifications" extensions for thunderbird).
The scripts also check my twitter account for new tweets every minute.
When a new message is received the magic begins: The LED lights up in the corresponding color (see below) and a system notification showing corresponding icon and either the full message (pidgin/twitter) or the message header (for email) is shown for a few seconds in the upper right screen area. Further a system tray icon appears (again showing the type of new message through icon type).
When I have seen the LED, read my mail/messages and have the feeling of being totally connected in and out :-) I can cllick on the tray icon and the LED goes off again.
The whole can be started by clicking on a small "parrot" icon, which causes a "parrot" tray icon to appear. Clicking this icon again closes the whole bunch of scripts (sadly also all other python scripts are closed then too, so this "exit" feature is not implemented very well if you have other python scripts running too)
Anyway I'm lucky since I can see my email inbox from several meters away with eepc lid closed. ha. ;)
Of course I would welcome it if any experienced python wizard would have the pity to write a small GUI using gtk2 or something for this. Thus I've opened a sourceforge account to enable several developers to work on this project at once. Note that this was my first try in python at all(!) so almost everyone with some experience will probably help alot here.
Devs are welcome!
Plans are to etch a very tiny PCB and fit this thingie into my eee1000h. I feel the message notifier makes more sense than this ambilight adventure I once started a while ago.. ;)
You can have a look at some pics and read more about the details on my blog, btw.
The sourcecode in form of a tarball can be accessed here: http://sourceforge.n...s/dbirdnotifier
(you can also extract inside your home dir, then navigate to the newly created subfolder "/LEDnotifier" and read HowTo.txt
for further instructions on how to make this run - some minor adjustments are probably necessary)
this is how it looks in action (new tweet was just received as I took this pic)
due to problems with BBcode "img" tag here is the same picture as url:
Edited by AlphaCentauri, 05 June 2009 - 09:50 PM.