Welcome to Smart Home Forum by FIBARO
Dear Guest,
as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.
As a member you can:
- Start new topics and reply to others
- Follow topics and users to get email updates
- Get your own profile page and make new friends
- Send personal messages
- ... and learn a lot about our system!
Regards,
Smart Home Forum by FIBARO Team

Question
Neo Andersson 230
Many of us use different methods for storing data, and there may be users who are not entirely sure what options exist and when to use each one.
Perhaps there is a Fibaro developer or a more advanced user with a deeper understanding of this topic who could share their knowledge with those of us who are less familiar with it (including me).
As far as I understand, there are three ways to persistently store data in a QuickApp:
1. QuickApp Variables
These can be read directly using
self:getVariable()and their scope is limited to the QuickApp itself.2. Global Variables
These are read using
hub.getGlobalVariable()and their scope is the entire system.3. Internal Storage
(This is something I only recently learned about.)
I am not entirely sure about the typical usage of this method, but I assume the scope is also system-wide.
Questions
If you need to store a larger amount of data, for example a JSON table with around 500 elements:
Which storage method would be preferable?
Which option consumes the least memory?
Which option provides the fastest read/write performance?
Which option is considered the safest or most reliable?
Any insights or recommendations would be greatly appreciated.
2 answers to this question
Recommended Posts