Sleeptracker under Mac OS X
(Si vous cherchez la version française de cette page, c'est ici : Sleeptracker sous Mac OS X)
To set up the sleeptracker under Mac OS X, you have N main steps:
- Install the usb-serial driver
- Download and install the perl serial module
- Download the perl script that extracts data and send it on the www.sleeptracker.net web site)
- Create an account on www.sleeptracker.net
- Custom the script to match your configuration
- Launch it
The usb-serial driver
- Download it from FTDI
- Install it as any Mac OS X application
- Reboot your computer
The perl serial module
In a terminal, type:
tar -xvzf Device-SerialPort-1.04.tar.gz
cd Device-SerialPort-1.04
perl Makefile.PL
make
sudo make install
Download and customise the script
- /Applications/Firefox.app/Contents/MacOS/firefox-bin if your use firefox
- /Applications/Safari.app/Contents/MacOS/Safari if you use safari
That's all folks !
Now you just have to launch the script:
perl sleeptracker.pl <serial file>
This serial file is easy to find, it is a file in the folder / dev/ named tty.usbserial-*
|
Mac OS X Instruction
A very big Thank You to Thomas!
|