A thread to share some coding techniques for QuickApps?
Because QAs are "long running scenes" (they don't have to be loaded and restarted for every event) - it is actually worthwhile to build up a library of "nice to have" code and include them in QAs.
Please login or register to see this link.
Please login or register to see this link. s
Please login or register to see this link.
Please login or register to see this link. client
List of posts:
Introduction to the QuickApp ana
We can call functions in other QAs with fibaro.call(ID,<function name>,<args>)
However, we can't get values back easily as fibaro.call returns nil...
We can use callback methods but it's usually not so convenient, we would really like fibaro.call to immediately return the value, i.e. be synchronous.
What we really want to do is to have something like (synchronous) RPC calls...
So here is a way to achieve synchronous remote function calls - e.g. for a shared