I was using the following script, but I keep getting the "application is not running. 600" error.
- Code: Select all
tell application "WeatherCat"
set wnowInsideTemp to InternalTempDelta1
set wnowOutsideTemp to ExternalTempDelta1Unconverted
set wnowInsideHumidity to InternalRHDelta1
set wnowOutsideHumidity to ExternalRHDelta1
try
set wnowRainToday to text 1 thru 4 of (PrecipitationDaily as text)
on error
set wnowRainToday to PrecipitationDaily
end try
try
set wnowRainRate to text 1 thru 4 of (PrecipitationPerHourDelta1Unconverted as text)
on error
set wnowRainRate to PrecipitationPerHourDelta1Unconverted
end try
set wnowForecast to CurrentConditions
set WorkingChannel to 58
try
set annualRain to text 1 thru 5 of ((WorkingChannelValue / 25.4) as text)
on error
set annualRain to WorkingChannelValue / 25.4
end try
end tell
tell application "IndigoServer"
--set value of variable "wnow_LastUpdate" to wnowTimeStamp
set value of variable "LWC_GarageTemp" to wnowInsideTemp as integer
set value of variable "LWC_OutsideTemp" to wnowOutsideTemp as integer
set value of variable "LWC_GarageHumidity" to wnowInsideHumidity as integer
set value of variable "LWC_OutsideHumidity" to wnowOutsideHumidity as integer
set value of variable "LWC_RainToday" to wnowRainToday as real
--set value of variable "LWC_Forecast_raw" to wnowForecast
set value of variable "LWC_RainRate" to wnowRainRate as real
set value of variable "LWC_AnnualRain" to annualRain as real
end tell