Alarm Script Assistance Needed


 

John Caras

New member
I need some help on writing an alarm script to execute on Meat probe High alarm (new to writing scripts and not really finding any solid examples to go by.

I would like to write a script that: Upon meat probe high alarm- (SP+1) then reset the alarm when probe temp=<SP -1

Is this doable?

Thanks for the all the work on this forum!
 
I'm not exactly clear on what the logic should be.

My interpretation and example:

Set a meat probe with a high value of 150

When 150 is reached, the alarm will be triggered and let the alarm remain "on" until the meat probe drops to 149, at which point you want to shut off the high alarm that was triggered at 150

Is this correct?
 
Yes that is exactly what I'm after Steve_M. I'm currently using:


#!/bin/sh
# If no parameter, this is a regular alarm
sleep 60
al_set 0
fi

But would prefer to use the actual temp instead of time. I would also like to set just that particular alarm (meat probe 2 high) to 0 instead of al_set 0
 
Last edited:

 

Back
Top