|
With my additions to digitemp, another configuration file is now needed.
The name of the configuration file is .digitemprc_mysql
It takes the following paramaters:
| param | value |
| DBNAME | DATABASE_NAME |
| DBUSER | DATABASE_USERNAME |
| DBPASS | DATABASE_PASSWORD |
| DBHOST | HOSTNAME_WHERE_MYSQL_DB_LIVES |
A sample .digitemprc_mysql file is located in the download.
Please note that there is only one space between the param and value
Currently, I have digitemp run on a cron to take temps on my sensors
every 5 minutes. Below is the cron entry:
0-55/5 * * * * cd /home/user/digitemp-3.3.2;./digitemp -q -e
Also, more documentation on Home
|