http request from zway

Discussions about Z-Way software and Z-Wave technology in general
Post Reply
guideon
Posts: 2
Joined: 03 May 2018 20:17

http request from zway

Post 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.
Eagle
Posts: 105
Joined: 18 Jun 2017 19:04

Re: http request from zway

Post 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?
guideon
Posts: 2
Joined: 03 May 2018 20:17

Re: http request from zway

Post 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,
Post Reply