Facebook LED blink on new notifications and messages

Facebook LED blink on new notifications and messages
In this instructable I will show you how to make a LED blink when you have a new notification or message on Facebook via the parallel port. Check out the following video for a demonstration:


It is a quick and easy project to do, provided you have the required stuff.
 
Remove these adsRemove these ads by Signing Up
 

Step 1How does it work?

There are two parts that power this project.

The first part is a small program that turns on or off the LEDs that are on a parallel port using inpout32.dll. The program hosts a tiny server that its one and only purpose is to understand HTTP requests.

The second part is a Greasemonkey script that detects when you have a new notification/message.
If you have a new notification or a message, the script will request a URL from the server the program described above hosts, and the program will understand the URL, and will start blinking the requested LED.
After you read your new notification/message, the script will request the same URL as before, which tells the program to stop blinking the LED.

Simple eh?
« Previous StepDownload PDFView All StepsNext Step »
91 comments
1-40 of 91next »
Aug 6, 2010. 7:02 AMwebart says:
hi guys I just wonder, can I use this and make it work same way ? http://www.dcs.dk/CNet/digitalcontent/ccs/6D1382DF-846B-4B5A-B64C-85D337E875AF.jpg
Aug 7, 2010. 2:57 PMcooltech786 says:
any chance this can be done with a serial port (unfortunately dont have a parallel port or any open PCI ports) - Thanks!
Aug 7, 2010. 4:40 PMDarkStar851 says:
Yeah, Serial ports are strictly rx/tx data transmission pins. No voltages suitable for LED fun. :(
Jan 29, 2012. 11:31 PMAZsid says:
Oh, it can be done. I don't know about this script but I've been doing it in VB by switching the DTR and RTS pins on and off to tell me if I have email. I've also been doing it with a USB to Serial adapter so I don't need an on board serial port.

I guess the first step is to see if inpout32.dll ca handle serial port action or if it strictly does parallel ports.
Dec 29, 2010. 2:53 PMJTigchelaar says:
the message light doesnt work? plz help
Dec 30, 2010. 9:31 AMJTigchelaar says:
oh its for chat not an actual inbox! Is there an way to modify the script so it detedts inboxes?
Dec 30, 2010. 7:07 PMJTigchelaar says:
please do
Jan 1, 2011. 7:56 PMJTigchelaar says:
does the new code only use the one LED becasue the one still wont flash when i get a message
Jan 2, 2011. 12:46 PMJTigchelaar says:
Yes they both work when i test them with the link but not when i recieve a message i doesnt flash
Jan 2, 2011. 3:16 PMJTigchelaar says:
ya it shows when i have an unread message and the LED notification light works fine
Dec 20, 2011. 7:31 PMoldsmarracin says:
i get an error in chrome
uncaught type error: can not read property 'location' of undefined

please help
Jan 1, 2011. 6:31 AMJTigchelaar says:
Thanks so much
Nov 6, 2011. 12:52 AMOrigommi says:
Anyway to make this talk to a USB LED instead?
Oct 16, 2011. 4:14 PM'3;02G52'' says:
I have a problem. Everything works properly, manually start and stop the LEDs. When I start the plugin with Facebook lose manual control. Nothing flashes and can not run LEDs manually. I can restore manual control only when I stop the plugin and process from Task Manager and start again LEDblinker. Guess the plugin is out off date, but don't know what needs to change.

(I try the plugin both on Mozzila and Chrome. Also, i use Windows 7, if there matters)
Oct 19, 2011. 11:17 AM'3;02G52'' says:
Works excellent! Thank you very much. :)
Aug 27, 2011. 6:08 AMmlakhwani says:
dear sir,
in my case both the led's are working with your given link but not with gresemonkey script...is that due to new facebook pattern or some thing else..please help me out....

regards
Oct 9, 2011. 1:22 AMareyie ahmad says:
me too. :(
help me pls
Oct 21, 2011. 10:19 PMareyie ahmad says:
Works excellent.!
thank a lot Stonos.!
Mar 25, 2011. 10:29 PMhuang.wencong says:
Can you do the same thing for Twitter? Like Twitter replies (@mention) and Twitter Direct Messages?
Mar 14, 2011. 10:56 AMbaven says:
I have built one
LED Blinker.jpg
Nov 13, 2010. 11:16 PMpossum888 says:
Before I embark on this, has anyone had any success using this with a USB-to-Parallel adapter? I can use this on a computer which has a parallel port, but I'd prefer if I could use this on my laptop, which doesn't have a parallel port.
Nov 29, 2010. 12:07 AMtuckersaspy says:
Usb to parallel adapters do not work on anything but printers, i did a project last year making a cnc driver and did extensive research on the topic because i too wanted to use it on my laptop, there were a few models that claimed to be "fully intigrated" or whatever but the cheapest one was 465 usd
Sep 28, 2010. 5:14 PMaccount3r2 says:
what are the other holes for?
Sep 8, 2010. 6:28 AMatilimizgu says:
i just finished project that works really good :)) but my green led is blinking on only chat window when somebody post some thing..
Aug 29, 2010. 5:21 AMbeehard44 says:
it works! i added a parallel port switch to switch from printer to "FB Notificationator"
Aug 29, 2010. 1:01 AMbeehard44 says:
it's so weird how nearly everyone of you aren't reliant on your parallel ports...

i just can't let go of my canon BJC1000SP....
Aug 24, 2010. 5:54 PMcomsa42 says:
Can this work with gmal?
Aug 13, 2010. 7:45 PMaccount3r2 says:
Oh, also is there some program or something that can just make it turn on or off or just make it blink on or off?
Aug 13, 2010. 7:39 PMaccount3r2 says:
what kind of led? like a 3v?
1-40 of 91next »

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
8
Followers
2
Author:Stonos