Page 1 of 1

API Output

Posted: 16 Mar 2016 13:29
by kemikal
Hi Everyone
I have been searching the forum but have not found info. If i missed please just point me to right thread.

Is it possible with Html Device or Javascript App to output a specified link on actions from devices?

What i would like to have done is simply send a specified link to my server when something happens on my z-wave network.

Iike
Door open -> Send link = http://www.myserver.com/page.html?dooropen=true

Is this possible somehow?

Re: API Output

Posted: 23 Mar 2016 13:59
by vvuu
You could make the logicalRule (z-way APP) that will trigger a HTML Device (also z-way APP)
Make a rule that will swich on this device if something happen (motion detection or something)

HTML Device (configured in z-way apps) is a simulation of for example Binary Switch - if you turn this device ON, the html device app will send GET to http://www.myserver.com/page.html?dooropen=true
if You want - it could send also http://www.myserver.com/page.html?dooropen=false if you switch it off - and so on..