X-Git-Url: https://git.rvb.name/weathermon.git/blobdiff_plain/d63010ef6c3cc76ac2a035c0249c87a78e38d980..82c945cbf3ea97175cd2fba31f8ba92b9aade8ba:/bin/weathermon-iio diff --git a/bin/weathermon-iio b/bin/weathermon-iio index df32c3a..f6e979f 100755 --- a/bin/weathermon-iio +++ b/bin/weathermon-iio @@ -173,7 +173,7 @@ if not config_name then config_name = "weathermon" end -web_id = uci.get(config_name,"web","devid") +web_id = get_devid(config_name) parameters = init(config_name) @@ -188,6 +188,8 @@ if not delay then delay = 60 end +io.stdout:setvbuf('no') + while true do if pcall(function () values = get_parameters(parameters) end) then records = {}