API Output

Discussions about RaZberry - Z-Wave board for Raspberry computer
Post Reply
kemikal
Posts: 1
Joined: 16 Mar 2016 13:24

API Output

Post 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?
vvuu
Posts: 39
Joined: 30 Aug 2015 14:22

Re: API Output

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