Jump to content

Simple program question


JSchumann

Recommended Posts

Posted

I have a temp sensor on the output of my furnace.  When water temp goes below 120 I get text notification.  When temp restores I don't get any notification.

 

========================================
Furnace Temp Alert - [iD 000E][Parent 0001]
 
If
        Elk Zone 'Furnace Temp' is Violated
 
Then
        Send Notification to 'AT&T Text' content 'Elk M1 Alert'
        Enable Program 'Furnace Temp Restored'
        Set Elk Speak Word 'Furnace'
        Set Elk Speak Word 'Temperature'
        Set Elk Speak Word 'Low'
 
Else
   - No Actions - (To add one, press 'Action')
==========================================
 
==========================================
Furnace Temp Restored - [iD 000F][Parent 0001][Not Enabled]
 
If
        Elk Zone 'Furnace Temp' is Normal
 
Then
        Send Notification to 'AT&T Text' content 'Elk M1 Alert'
        Disable Program 'Furnace Temp Restored'
 
Else
   - No Actions - (To add one, press 'Action')
=========================================
 
Elk M1 Alert = ${alert.control} ${alert.action}
 
On trip I get 'Furnace temp violated'
 
Or restoration, no text
 
I have to be missing something simple here.......
 
Thanks in advance.
 
John
 
 
 
Posted (edited)

 

I have a temp sensor on the output of my furnace.  When water temp goes below 120 I get text notification.  When temp restores I don't get any notification.

 

========================================
Furnace Temp Alert - [iD 000E][Parent 0001]
 
If
        Elk Zone 'Furnace Temp' is Violated
 
Then
        Send Notification to 'AT&T Text' content 'Elk M1 Alert'
        Enable Program 'Furnace Temp Restored'
        Set Elk Speak Word 'Furnace'
        Set Elk Speak Word 'Temperature'
        Set Elk Speak Word 'Low'
 
Else
   - No Actions - (To add one, press 'Action')
==========================================
 
==========================================
Furnace Temp Restored - [iD 000F][Parent 0001][Not Enabled]
 
If
        Elk Zone 'Furnace Temp' is Normal
 
Then
        Send Notification to 'AT&T Text' content 'Elk M1 Alert'
        Disable Program 'Furnace Temp Restored'
 
Else
   - No Actions - (To add one, press 'Action')
=========================================
 
Elk M1 Alert = ${alert.control} ${alert.action}
 
On trip I get 'Furnace temp violated'
 
Or restoration, no text
 
I have to be missing something simple here.......
 
Thanks in advance.
 
John
 

 

Your "Normal" program triggers are disabled.

 

BTW: You could place that code in the Else section of the first program unless there is a hysteresis element by time delay or by temperature difference, effectively giving three states instead of two.

Edited by larryllix
Posted

Sending a network notification is asynchronous. Your program could be completing before its sent. Try adding a wait before the program disables itself to allow the network send to complete.

Posted

Sending a network notification is asynchronous. Your program could be completing before its sent. Try adding a wait before the program disables itself to allow the network send to complete.

Ahhhh, ok, will try that.

 

Thanks,

John

Posted

Your "Normal" program triggers are disabled.

 

BTW: You could place that code in the Else section of the first program unless there is a hysteresis element by time delay or by temperature difference, effectively giving three states instead of two.

Probably so (3 states), will try a delay

Guest
This topic is now closed to further replies.

×
×
  • Create New...