Hi hope this is in the right place,
I need some assistance writing a luup code.
I have Imperihome set up on my tablet and am trying to write some a luup code so that once my zwave pir detects motion vera sends(opens) a url page http://192.168.0.57:8080/api/rest/camera/view?devid=V6_50102795_D_45 then waits 1 minuet then sends(opens) another url http://192.168.0.57:8080/api/rest/dashboard/gotopage?pageIdx=0.
Is there anyone that could point me in the right direction please?
Hi,
Just create a scene and use the advanced scene editor, no Luup code needed then.
Create your trigger - next - In action just click next and then go into advanced scene editor.
In advanced scene editor add action, select your imperihome device and then select go to dash page and enter your page number. Add a delay and do the same again but back to the page you normally show. I hope this makes sense.