Page 1 of 1

http request from zway

Posted: 04 May 2018 13:02
by guideon
Hello everybody,

I am using zway to trigger some devices on motion detection these devices switch on lights and I also need to trigger an ip camera virtual input.

The virtual input action produces a video clip sent by mail or FTP.

I need to use a kind of http device to send the request:

Virtual input high
http://<ipAddress>/cgi-bin/admin/sctvi.cgi?vi0=1
Virtual input low
http://<ipAddress>/cgi-bin/admin/sctvi.cgi?vi0=0

There is one app (http device) in zway but i believe this is not suitable.

Or should i use a javascript piece of code. Any suggestion will be appreciated.

Best regards, Guy Fauquembergue.

Re: http request from zway

Posted: 07 May 2018 12:26
by Eagle
Hi,
Why do you think that http device is not suitable? You tried alredy a binary switch http device for high/low to on/off? You could use this http device in you light motion trigger app (as a light switch).

Do you need a login or basic auth to get this commands working?

Re: http request from zway

Posted: 30 May 2018 20:45
by guideon
Hi Eagle sorry for this late answer.

http device does not allow to trigger the camera input on sleep and send an other http request for the camera input low. Best regards,