Logical Rules and custom javascript function

Discussions about RaZberry - Z-Wave board for Raspberry computer
Post Reply
dario87
Posts: 18
Joined: 13 Jun 2014 11:46

Logical Rules and custom javascript function

Post by dario87 »

hi,
I would like to know if it is possible to execute a custom javascript function through the logical rules.
For example, if the switch is "on" run "myFunction ()"
is it possible?

thanks
User avatar
PoltoS
Posts: 7649
Joined: 26 Jan 2011 19:36

Re: Logical Rules and custom javascript function

Post by PoltoS »

Not yet, but you can extend it ;) better to extend scenes or even make a module that creates a scene that executes any code.
dario87
Posts: 18
Joined: 13 Jun 2014 11:46

Re: Logical Rules and custom javascript function

Post by dario87 »

hello PoltoS,
Thank you for your reply.
I will try to extend the scene.
thanks
Post Reply