23.09.2016, 18:05
There's no point in saving it to storage as you can just do grp.getvalue to get the latest value stored in the database, so your init script should look like this:
Database, storage and everything else is saved to the SD card each 30 minutes to prolong its lifespan.
Code:
value = grp.getvalue('2/4/51')
grp.write ('2/4/51', value)
Database, storage and everything else is saved to the SD card each 30 minutes to prolong its lifespan.