Zway Custom function calling

Discussions about RaZberry - Z-Wave board for Raspberry computer
Post Reply
visakh v
Posts: 1
Joined: 05 Apr 2014 08:23

Zway Custom function calling

Post by visakh v »

Hi All,

Recently I am working on Z wave Home automation and went through the Z-Way Developers Documentation.I am having a doubt over there, consider the functional class

Function Class AddNodeToNetwork
Syntax: AddNodeToNetwork(startStop, highPower = True, successCallback = NULL,failureCallback = NULL)

I am able to turn the Z-Wave chip by passing AddNodeToNetwork(1) in my python codes but how can I use the custom function calling like successCallback etc.. along with the AddNodeToNetwork.

Thanks
User avatar
PoltoS
Posts: 7624
Joined: 26 Jan 2011 19:36

Re: Zway Custom function calling

Post by PoltoS »

These callbacks can be passed in JS call. And they will called back in the JS backend engine. From there you can do your job. Why to use Python if there is full JS engine in Z-Way? May be you need to move some logic to JS to solve your problem?
Post Reply