X-Git-Url: https://git.rvb.name/weathermon.git/blobdiff_plain/76cb925db11bf98d7fc7030401f05f68043cc89a..67f3d398664cc319615339c1ce9c525e672c332f:/bin/weathermon?ds=inline diff --git a/bin/weathermon b/bin/weathermon index 804ba25..cc58def 100755 --- a/bin/weathermon +++ b/bin/weathermon @@ -189,7 +189,7 @@ function processJson(str) 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 @@ -252,7 +252,7 @@ function processLine(str) return '{'..name..'}' end end) - mqtt_client:publish(mqtt_path,v) + mqtt_client:publish(mqtt_path,v,0,0) mqtt_client:loop() end end @@ -293,7 +293,7 @@ function processLine(str) 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