Here is a simple script which defines a method to query a Proliphix thermostat, grab the main zone temperature, and put it into an Indigo variable.
Move the script into this folder:
/Library/Application Support/Perceptive Automation/Indigo 2/Scripts/Attachments/
Create a Time/Date action that calls the main AppleScript function defined in
the attachment script: