X-Git-Url: https://git.rvb.name/weathermon.git/blobdiff_plain/d63010ef6c3cc76ac2a035c0249c87a78e38d980..c341b10443c18115939e3431c8f762dbecdef81c:/bin/weathermon-iio?ds=sidebyside 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 = {}