Thanks, got this thing working pretty good and figuring out the alarms and stuff. Got email setup and finally figured out my DNS setup for a subdomain. My domain purchaser won't let me DNS a subdomain, had to go through my server host.
Did you ever figure out the timed alarms? I think I had some combustion in my brisket smoke and was wanting to try the ramp up method, may just do foil boats next time.
I am thinking about trying this:
Start the at a 145 set point
Set my probe 0 high alarm at 100.
When it hits that alarm, it send me an email to let me know it hit it, so I can see what time it hit it.
Then I run this in the script for probe 0 high:
#!/bin/sh
# If no parameter, this is a regular alarm
if [ -z "$1" ] ; then
NOW=`date +%s`
# Set target for 45 minutes from now 2700=seconds
WHEN=$((NOW+2700))
TARGET=`date -D "%s" -d $WHEN +"%M %H %d %m"`
echo "$TARGET * /usr/share/linkmeter/alarm-all RING${al_probe}" | crontab -
else
# This is the cron callback
# Don't fire again
crontab -r
# Set Temp to 225 after 45 minutes
lmclient LMST,sp,225
fi
edit, did a quick test and it's not setting it to 225... Need to learn more about programming scripts with cron.