projects
/
weathermon.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
DB "canary" added - with fail/restart when connection dropped
[weathermon.git]
/
bin
/
weather-display
diff --git
a/bin/weather-display
b/bin/weather-display
index ef210ff5a68c17c383e07d64e25d992978d149cd..58b8ae528266457d7f74677f1ccc71022066a96c 100755
(executable)
--- a/
bin/weather-display
+++ b/
bin/weather-display
@@
-98,7
+98,7
@@
if not config_name then
config_name = "weathermon"
end
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)
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)
end
alarmstr_len=tonumber(alarmstr_len)
-web_id = uci.get(config_name,"web","devid")
-
while true do
onoff = not onoff
while true do
onoff = not onoff