Mac OS 10.7 & Temperature Log

First posted on the 7th August, 2011 – IT
Last modified on the 25th August, 2011, at 6:01 pm

Having done a clean install of Mac OS 10.7 the back end of the temperature logger for my house needed to be reinstalled. If only I had written down what I did to get it working!

Install SiLabs USB-to-UART driver from their website
Install the perl Device-SerialPort module by downloading from here, extracting then running:

perl Makefile.PL
make
make test
sudo make install

In order to run make Xcode, all associated tools, needs to be installed too.

Install the launch agent to keep the tempget perl script always running. The file com.local.tempget.plist is installed in ~/Library/LaunchAgents containing:

<\?xml version="1.0" encoding="UTF-8"\?\>

Label
com.local.tempget
OnDemand

ProgramArguments

/Users/lzparkma/.bin/tempget.pl