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
return '{'..name..'}'
end
end)
- mqtt_client:publish(mqtt_path,v)
+ mqtt_client:publish(mqtt_path,v,0,0)
mqtt_client:loop()
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