Page 1 of 1

Logical Rules and custom javascript function

Posted: 24 Jun 2014 12:28
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

Re: Logical Rules and custom javascript function

Posted: 25 Jun 2014 00:48
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.

Re: Logical Rules and custom javascript function

Posted: 25 Jun 2014 10:23
by dario87
hello PoltoS,
Thank you for your reply.
I will try to extend the scene.
thanks