One question:
Where does Vera store the variables set with “luup.variable_set(…” is it in Flash memory? I need to know because I have a variable I will update a lot and if it is stored in Flash memory then this likely will be “burned out” in a year or something.
If I only want a variable in Ram as i can access from my Json file how do I do that?
Device variables are stored in RAM, and only occasionally written to flash memory. This decreases the wear on the flash memory, but be aware that if the Luup process crashes before device variables are written to flash, when it restarts, some device variables are likely to have gone stale.
Ok, thanks.
But what is “occasionally written to flash memory”, how often/when is “occasionally”?
For me it is no problem if I lose the variable on a crash.