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
I decided to turn my "refreshStates" example (a few posts back) with pseudocode into a working quickapp. What this will to is "listen" to events while at the same time "ticking" a clock every 2 seconds, to demonstrate both are working at the same time. The clock ticks every 2 seconds.
Please login or register to see this code.
I also decided to make it compatible with @jgab's HC3 emulator so you'll see a bit of extra code not required on your HC3. You can remove the parts between "if