X-Git-Url: https://git.rvb.name/weathermon.git/blobdiff_plain/d63010ef6c3cc76ac2a035c0249c87a78e38d980..0d332cb66939747237ce374275f5719acc2354f5:/bin/weather-display?ds=inline 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