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
Now there is rudimentary support for coding and developing scenes offline with fibaroapiHC3.lua. (and you got sourceTrigger before Fibaro releases sourceTrigger )
The conditions expression is declared in a Lua table named 'hc3_emulator.conditions'
The actions should be inside a function called 'hc3_emulator.actions'
Please login or register to see this code.
The above scene triggers on device 32 having a value property that is true (e.g a sensor)
A more