Does anyone have a method for triggering an event from the command line. I have a NVR running on the system, that I can get to execute a command when it detects motion, and I would like to use it to run events.
I found this script by searching the forums:
However it is based on HS2. Replacing HomeSeer2 with HomeSeer3 doesn't make a difference. I get ActiveX component can't create object: HomeSeer2.application.
I am not a VB programmer. I know enough what to copy, and that is about it.
Any ideas?
I found this script by searching the forums:
Set hsi = CreateObject("HomeSeer2.application")
hsi.SetHost("localhost")
rval = hsi.Connect("MyUsername", "MyPassword")
If rval <> "" Then
MsgBox(rval)
End If
Set hs = hsi.GetHSRef
hs.TriggerEvent("TestSend")
hsi.SetHost("localhost")
rval = hsi.Connect("MyUsername", "MyPassword")
If rval <> "" Then
MsgBox(rval)
End If
Set hs = hsi.GetHSRef
hs.TriggerEvent("TestSend")
However it is based on HS2. Replacing HomeSeer2 with HomeSeer3 doesn't make a difference. I get ActiveX component can't create object: HomeSeer2.application.
I am not a VB programmer. I know enough what to copy, and that is about it.
Any ideas?
Comment