06.06.2018, 14:05
Maybe better create table in storage:
In such logs it is enough to use only os.time() and only when show you can then convert it to readable format.
Code:
pvLogs = storage.get('pvLogs')
toAdd = {
timestamp = os.time(),
Pac = PV_Pac
}
table.insert(pvLogs, toAdd)
storage.set('pvLogs', pvLogs)
In such logs it is enough to use only os.time() and only when show you can then convert it to readable format.
Done is better than perfect