-
Add the following lines to your Pi's /etc/modules
w1-gpio
w1-therm
-
Reboot, or run:
sudo modprobe w1-gpio
sudo modprobe w1-therm
-
Set the correct settings in the config.yml file
The software runs like an initscript. Once started, it daemonises and returns you to a terminal.
ruby temp.rb start
ruby temp.rb restart
ruby temp.rb stop