Various fixes to support new AIO version

This commit is contained in:
Evgeny
2023-09-11 11:36:09 +04:00
parent 5ad5be396f
commit de23ba41de
5 changed files with 24 additions and 13 deletions

View File

@@ -4,17 +4,11 @@
-- author = "Evgeny Zobnin (zobnin@gmail.com)"
-- version = "1.0"
ticks = -1
function on_tick()
-- Update one time per 10 seconds
ticks = ticks + 1
function on_tick(ticks)
if ticks % 10 ~= 0 then
return
end
ticks = 0
local info = system:system_info()
local strings = stringify_table(info)