{"name":"Cam Preset","type":"virtual_device","properties":{"deviceIcon":1057,"currentIcon":"1057","log":"","logTemp":"","mainLoop":"","visible":"true","rows":[{"type":"button","elements":[{"id":1,"lua":true,"waitForResponse":false,"caption":"1","name":"Button21","empty":false,"msg":"local IP = 'xxx.xxx.xxx.xxx'\nlocal Port = 80\n\nRASP = Net.FHttp(IP, PORT);\nRASP:setBasicAuthentication(\"user\", \"user\");\n---------------------------------------------------\nlocal thisdevice = fibaro:getSelfId();\nresponse = RASP:GET('/cam_preset.php?c=1&p=1');","buttonIcon":1057,"favourite":false,"main":false},{"id":2,"lua":true,"waitForResponse":false,"caption":"2","name":"Button22","empty":false,"msg":"local IP = 'xxx.xxx.xxx.xxx'\nlocal Port = 80\n\nRASP = Net.FHttp(IP, PORT);\nRASP:setBasicAuthentication(\"user\", \"user\");\n---------------------------------------------------\nlocal thisdevice = fibaro:getSelfId();\nresponse = RASP:GET('/cam_preset.php?c=1&p=2');","buttonIcon":1057,"favourite":false,"main":false},{"id":3,"lua":true,"waitForResponse":false,"caption":"3","name":"Button23","empty":false,"msg":"local IP = 'xxx.xxx.xxx.xxx'\nlocal Port = 80\n\nRASP = Net.FHttp(IP, PORT);\nRASP:setBasicAuthentication(\"user\", \"user\");\n---------------------------------------------------\nlocal thisdevice = fibaro:getSelfId();\nresponse = RASP:GET('/cam_preset.php?c=1&p=3');","buttonIcon":1057,"favourite":false,"main":true},{"id":4,"lua":true,"waitForResponse":false,"caption":"4","name":"Button24","empty":false,"msg":"local IP = 'xxx.xxx.xxx.xxx'\nlocal Port = 80\n\nRASP = Net.FHttp(IP, PORT);\nRASP:setBasicAuthentication(\"user\", \"user\");\n---------------------------------------------------\nlocal thisdevice = fibaro:getSelfId();\nresponse = RASP:GET('/cam_preset.php?c=1&p=4');","buttonIcon":1057,"favourite":false,"main":false},{"id":5,"lua":true,"waitForResponse":false,"caption":"5","name":"Button25","empty":false,"msg":"local IP = 'xxx.xxx.xxx.xxx'\nlocal Port = 80\n\nRASP = Net.FHttp(IP, PORT);\nRASP:setBasicAuthentication(\"user\", \"user\");\n---------------------------------------------------\nlocal thisdevice = fibaro:getSelfId();\nresponse = RASP:GET('/cam_preset.php?c=1&p=5');","buttonIcon":1057,"favourite":false,"main":false}]},{"type":"button","elements":[{"id":6,"lua":true,"waitForResponse":false,"caption":"6","name":"Button26","empty":false,"msg":"local IP = 'xxx.xxx.xxx.xxx'\nlocal Port = 80\n\nRASP = Net.FHttp(IP, PORT);\nRASP:setBasicAuthentication(\"user\", \"user\");\n---------------------------------------------------\nlocal thisdevice = fibaro:getSelfId();\nresponse = RASP:GET('/cam_preset.php?c=1&p=6');","buttonIcon":1057,"favourite":false,"main":false},{"id":7,"lua":true,"waitForResponse":false,"caption":"7","name":"Button27","empty":false,"msg":"local IP = 'xxx.xxx.xxx.xxx'\nlocal Port = 80\n\nRASP = Net.FHttp(IP, PORT);\nRASP:setBasicAuthentication(\"user\", \"user\");\n---------------------------------------------------\nlocal thisdevice = fibaro:getSelfId();\nresponse = RASP:GET('/cam_preset.php?c=1&p=7');","buttonIcon":1057,"favourite":false,"main":false},{"id":8,"lua":true,"waitForResponse":false,"caption":"8","name":"Button28","empty":false,"msg":"local IP = 'xxx.xxx.xxx.xxx'\nlocal Port = 80\n\nRASP = Net.FHttp(IP, PORT);\nRASP:setBasicAuthentication(\"user\", \"user\");\n---------------------------------------------------\nlocal thisdevice = fibaro:getSelfId();\nresponse = RASP:GET('/cam_preset.php?c=1&p=8');","buttonIcon":1057,"favourite":false,"main":false},{"id":9,"lua":true,"waitForResponse":false,"caption":"9","name":"Button29","empty":false,"msg":"local IP = 'xxx.xxx.xxx.xxx'\nlocal Port = 80\n\nRASP = Net.FHttp(IP, PORT);\nRASP:setBasicAuthentication(\"user\", \"user\");\n---------------------------------------------------\nlocal thisdevice = fibaro:getSelfId();\nresponse = RASP:GET('/cam_preset.php?c=1&p=9');","buttonIcon":1057,"favourite":false,"main":false},{"id":10,"lua":true,"waitForResponse":false,"caption":"10","name":"Button30","empty":false,"msg":"local IP = 'xxx.xxx.xxx.xxx'\nlocal Port = 80\n\nRASP = Net.FHttp(IP, PORT);\nRASP:setBasicAuthentication(\"user\", \"user\");\n---------------------------------------------------\nlocal thisdevice = fibaro:getSelfId();\nresponse = RASP:GET('/cam_preset.php?c=1&p=10');","buttonIcon":1057,"favourite":false,"main":false}]}]},"actions":{"pressButton":1,"setSlider":2,"setProperty":2}}