Hi everybody,
This my first post on this forum.
I need your help and will try to simply explain my problem with my French English :-)
I need to create un HS Script who will get the value of the variable "Alarm_Status" of my 3 Cams FOSCAM FI8918W.
Each Cam have have a status that I can see in a html page : http://192.168.2.6/get_status.cgi
It's return me the following variables:
var id='000DC5D507D5'; var sys_ver='11.22.2.38'; var app_ver='2.4.18.17'; var alias='Cam1'; var now=1329504777; var tz=0; var alarm_status=0; var ddns_status=0; var ddns_host=''; var oray_type=0; var upnp_status=0; var p2p_status=0; var p2p_local_port=22980; var msn_status=0;
The script I want to create will run in loop, must get alarm_status value (0 when motion detection is Off and 1 when motion detection is On)
and set another variable that I will use with a Virtual Device in HS, in order to trigger a alarm with siren.
Is thers somebody who have a script example who can help me???
Thanks in advance.
Stephane
</pre>
This my first post on this forum.
I need your help and will try to simply explain my problem with my French English :-)
I need to create un HS Script who will get the value of the variable "Alarm_Status" of my 3 Cams FOSCAM FI8918W.
Each Cam have have a status that I can see in a html page : http://192.168.2.6/get_status.cgi
It's return me the following variables:
var id='000DC5D507D5'; var sys_ver='11.22.2.38'; var app_ver='2.4.18.17'; var alias='Cam1'; var now=1329504777; var tz=0; var alarm_status=0; var ddns_status=0; var ddns_host=''; var oray_type=0; var upnp_status=0; var p2p_status=0; var p2p_local_port=22980; var msn_status=0;
The script I want to create will run in loop, must get alarm_status value (0 when motion detection is Off and 1 when motion detection is On)
and set another variable that I will use with a Virtual Device in HS, in order to trigger a alarm with siren.
Is thers somebody who have a script example who can help me???
Thanks in advance.
Stephane
</pre>
Comment