Hello all,
I'm trying to get the status of my Blue Iris system into a HS device value. The following does just as expected which is to return several values, one of which is the profile. I've been running it as an immediate command in an event. I really need to get that profile value (1 in this example) into a device but I don't know how to get the return of the GetURL and then parse into a variable.
Here is the command command:
&hs.GetURL("http://192.168.2.3:1234","/admin?&user=myuser&pw=mypass",TRUE,80)
Here is the return (seen when I run it from a browser):
signal=green
profile=1
lock=1
Any help will be appreciated!
Robert
I'm trying to get the status of my Blue Iris system into a HS device value. The following does just as expected which is to return several values, one of which is the profile. I've been running it as an immediate command in an event. I really need to get that profile value (1 in this example) into a device but I don't know how to get the return of the GetURL and then parse into a variable.
Here is the command command:
&hs.GetURL("http://192.168.2.3:1234","/admin?&user=myuser&pw=mypass",TRUE,80)
Here is the return (seen when I run it from a browser):
signal=green
profile=1
lock=1
Any help will be appreciated!
Robert
Comment