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
Here is a simple webhook QD.
The idea is that instead of having external apps continuously polling the HC3 for events, the app makes a call to the HC3 and register it's url for callbacks.
The HC3 will POST all events to the apps that have registered with it.
If an app doesn't answer to the POST it's just unregistered.
If an app register twice it's detected and won't cause a duplicate post. Thus, a strategy for apps could be to re-register at intervals in case the HC3 QuickAp