X-Git-Url: https://git.rvb.name/weathermon.git/blobdiff_plain/d63010ef6c3cc76ac2a035c0249c87a78e38d980..fad63ef17f825df2d1a58cc64be8bb19fb8e561f:/bin/weather-display?ds=sidebyside diff --git a/bin/weather-display b/bin/weather-display index ef210ff..58b8ae5 100755 --- a/bin/weather-display +++ b/bin/weather-display @@ -98,7 +98,7 @@ if not config_name then config_name = "weathermon" end -print("loading config...") +web_id = get_devid(config_name) local a_levels, a_engage, a_engage_mode, a_disengage_mode, levels_idx = get_levels_list(config_name) @@ -152,8 +152,6 @@ if not alarmstr_len then end alarmstr_len=tonumber(alarmstr_len) -web_id = uci.get(config_name,"web","devid") - while true do onoff = not onoff