Triggered on event rather than polling

Discussions about RaZberry - Z-Wave board for Raspberry computer
Post Reply
rosomp
Posts: 7
Joined: 27 Jun 2013 12:12

Triggered on event rather than polling

Post by rosomp »

I love the razberry device and it works well. I like the JSON output and the URL to query for updates.

Is there a way to trigger updates rather than keep refreshing the url? I am looking to get a javascript function call when a particular event occurs.
User avatar
PoltoS
Posts: 7579
Joined: 26 Jan 2011 19:36

This can be done on the

Post by PoltoS »

This can be done on the backend side (see the manual), but not on the client side, since the client can not receive push until it keeps the conection permanently open.
Post Reply