X-Git-Url: https://git.rvb.name/weathermon.git/blobdiff_plain/d5653b977ce2b9d0ef6e6c07b3a9b64c1462e601..67f3d398664cc319615339c1ce9c525e672c332f:/bin/weathermon 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