Hi,
I have a FOSCAM FI8910W and everything is working ok. I created a multiswitch button to turn ON and OFF the motion and sound detection via LUUP CODE.
This is the code I am using:
luup.inet.wget('http://192.168.1.11:8090/set_alarm.cgi?motion_armed=1&user=admin&pwd=xxxx')
luup.inet.wget('http://192.168.1.11:8090/set_alarm.cgi?sounddetect_armed=1&user=admin&pwd=xxxx')
1= ON and 0 = OFF
I am trying to control the motion and sound sensitivity in the same LUUP code and tried the following but it entered in a loop and the sensors turn on and off, so I had to go back and only turn them on and off.
luup.inet.wget('http://192.168.1.11:8090/set_alarm.cgi?motion_armed=1&user=admin&pwd=xxxxx')
luup.inet.wget('http://192.168.1.11:8090/set_alarm.cgi?motion_sensitivity=7&user=admin&pwd=xxxxx')
luup.inet.wget('http://192.168.1.11:8090/set_alarm.cgi?sounddetect_armed=1&user=admin&pwd=xxxxx')
luup.inet.wget('http://192.168.1.11:8090/set_alarm.cgi?sounddetect_sensitivity=7&user=admin&pwd=xxxx')
ANY HELP on how to create both commands in the same LUUP?