projects
/
weathermon.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1) Переход на доставку без гарантии (старые данные копить нет смысла)
[weathermon.git]
/
bin
/
weathermon
diff --git
a/bin/weathermon
b/bin/weathermon
index 804ba255a87eef42963134328191f2b52502aea5..cc58def4232fd28424b8699c89b7e8a2c24d3629 100755
(executable)
--- a/
bin/weathermon
+++ b/
bin/weathermon
@@
-189,7
+189,7
@@
function processJson(str)
if not mqtt_client:socket() then
mqtt_client:reconnect()
end
if not mqtt_client:socket() then
mqtt_client:reconnect()
end
- mqtt_client:publish(mqtt_path,v)
+ mqtt_client:publish(mqtt_path,v
,0,0
)
mqtt_client:loop()
end
end
mqtt_client:loop()
end
end
@@
-252,7
+252,7
@@
function processLine(str)
return '{'..name..'}'
end
end)
return '{'..name..'}'
end
end)
- mqtt_client:publish(mqtt_path,v)
+ mqtt_client:publish(mqtt_path,v
,0,0
)
mqtt_client:loop()
end
end
mqtt_client:loop()
end
end
@@
-293,7
+293,7
@@
function processLine(str)
return '{'..name..'}'
end
end)
return '{'..name..'}'
end
end)
- mqtt_client:publish(mqtt_path,msg_body)
+ mqtt_client:publish(mqtt_path,msg_body
,0,0
)
mqtt_client:loop()
end
if alarm_exec then
mqtt_client:loop()
end
if alarm_exec then