Several AS; help needed. will buy BEER!!! #3 Water house v
Posted: Tue Oct 29, 2019 8:14 pm
This is pretty simple; just running out of time.
- Code: Select all
using terms from application "IndigoServer"
tell application "IndigoServer"
if ((value of variable "Water_Test_HouseValve_ON" is "true") and value of variable "Water_Test_HouseValve_OFF" is "true") then
set value of variable "Water_Test_HouseValve_Success" to "true"
set value of variable "Water_Test_HouseValve_ON" to ""
set value of variable "Water_Test_HouseValve_OFF" to ""
set value of variable "Water_Test_Success_TimeStamp" to value of variable "RFX_Outside_Temp_Obs_Time"
log "House Water Valve working correctly"
else
execute group "Water Valve House Test Failed"
set value of variable "Water_Test_HouseValve_Success" to "false"
log "House Water Valve not executing. Check that knob on side is set to AUTO. ReRun from basement and ensure valve is turning. If not, check Phidgets box and relays."
end if
end tell
end using terms from