jon00,
I have the page all working with 3 thermostats(but only setting the HS device, not the actual hardware device). Now I'm trying converting all my "SetDeviceValueByRef" to CAPI Object code. Will the CAPI Objects work properly in VBScript?
I seem to be having issues where the Object is not being setup(i.e. following code throws a "Script error: Object required: 'cc' " ):
cc=hs.CAPIGetSingleControl(485, True, "(value) F", False, False)
cc.ControlValue = 76
cr = hs.CAPIControlHandler(cc)
I have the page all working with 3 thermostats(but only setting the HS device, not the actual hardware device). Now I'm trying converting all my "SetDeviceValueByRef" to CAPI Object code. Will the CAPI Objects work properly in VBScript?
I seem to be having issues where the Object is not being setup(i.e. following code throws a "Script error: Object required: 'cc' " ):
cc=hs.CAPIGetSingleControl(485, True, "(value) F", False, False)
cc.ControlValue = 76
cr = hs.CAPIControlHandler(cc)
Comment