Hi Guys, i have been trying to get a hold script working that will set the hold temp on a thermostat for a period of time from homeseer event but have been unsucessfull
i read the help on the BLStat plugin and found the below
----------------
Description
This method sets the hold on for a specific thermostat.
VB.Net Scripting Example
hs.Plugin("BLStat").SetHoldOn(1,74,60)
----------------
I tried a .vbs file first with code hs.Plugin(BLStat).SetHoldOn(2,78,400) but get the error (Running script, script run or compile error in file: Test.vbs1044:Cannot use parentheses when calling a Sub in line 1 More info)
i then tried a .vb file with code
Sub Main
hs.Plugin(BLStat).SetHoldOn(2,78,400)
End Sub
but get the error Script compile error: Name 'BLStat' is not declared.on line 15
Please any help will be helpful, i am not a programmer, so i'm just tryign to follow examples i found in the help files
i read the help on the BLStat plugin and found the below
----------------
Description
This method sets the hold on for a specific thermostat.
VB.Net Scripting Example
hs.Plugin("BLStat").SetHoldOn(1,74,60)
----------------
I tried a .vbs file first with code hs.Plugin(BLStat).SetHoldOn(2,78,400) but get the error (Running script, script run or compile error in file: Test.vbs1044:Cannot use parentheses when calling a Sub in line 1 More info)
i then tried a .vb file with code
Sub Main
hs.Plugin(BLStat).SetHoldOn(2,78,400)
End Sub
but get the error Script compile error: Name 'BLStat' is not declared.on line 15
Please any help will be helpful, i am not a programmer, so i'm just tryign to follow examples i found in the help files
Comment