JSchumann Posted November 25, 2017 Posted November 25, 2017 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
larryllix Posted November 25, 2017 Posted November 25, 2017 (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 November 25, 2017 by larryllix
MWareman Posted November 25, 2017 Posted November 25, 2017 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.
JSchumann Posted November 25, 2017 Author Posted November 25, 2017 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
JSchumann Posted November 25, 2017 Author Posted November 25, 2017 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
Recommended Posts