I've been trying for two days now to get my ASP page just to display device values! This is frustrating! I was hoping that there would be a complete example in Help or a script -- but no! Anyway, I want to get the device name, location, value and time for all devices. Note that the ASP page is _not_ running from the HS webserver but my IIS server. Why isn't this working?
Set hs = createobject("HomeSeer.application")
If hs is Nothing Then
response.write "Got an empty homeseer object."
response.end
End If
hs.speak "boo"
Set DE = hs.GetDeviceEnumerator
It dies when trying to get the DeviceEnumerator. I get the error "Object variable or With block variable not set". The hs.speak works so I know that hs is getting set. Is I set hs to Homeseer2.Application, I get a different error when trying to get the DeviceEnumerator, "Object doesn't support this property or method: 'GetDeviceEnumerator'". I can't see any other way of getting this done.
Please help. Thanks much!
Tahl
Set hs = createobject("HomeSeer.application")
If hs is Nothing Then
response.write "Got an empty homeseer object."
response.end
End If
hs.speak "boo"
Set DE = hs.GetDeviceEnumerator
It dies when trying to get the DeviceEnumerator. I get the error "Object variable or With block variable not set". The hs.speak works so I know that hs is getting set. Is I set hs to Homeseer2.Application, I get a different error when trying to get the DeviceEnumerator, "Object doesn't support this property or method: 'GetDeviceEnumerator'". I can't see any other way of getting this done.
Please help. Thanks much!
Tahl
Comment