A series of Python scripts for recording and remotely
monitoring temperatures (from your browser) using an
MCP9808 thermal sensor,
compatible with Rasperry Pi and Arduino hardware.
In order for the monitor to work, you'll have to
- Set up an account with plot.ly
plot.ly to download the relevant keys and access your the live stream. - Install the MCP9808 Python library (see here for details)
- Download and set-up Dropbox Uploader (optional, used for writing debug statement to a remote logfile)
- Edit the relevant user defined paths at the top of
brew_monitor.py
The monitor can be started using
./brew_monitor.py which will live stream data from a MCP9808 thermal sensor to your account on plot.ly.
auto_start_bm.py is an example script to auto start the monitor when you machine is switched on. To use it, you'll need to edit the relevant paths to point to the McBrew directory. Putting the full path of auto_start_bm.py
at the bottom of the file /etc/rc.local will automatically
start the monitoring when your machine is booted.
wireless_connect.sh is called when the network connection is
lost. You can edit this file such that it tries to re-connect to
your network of choice, or you can just leave it as it is and it
won't do anything!
Tested with Python 2.7.*.