return '{'..name..'}'
end
end)
+ if not mqtt_client:socket() then
+ mqtt_client:reconnect()
+ end
mqtt_client:publish(mqtt_path,v,0,false)
mqtt_client:loop()
end
return '{'..name..'}'
end
end)
+ if not mqtt_client:socket() then
+ mqtt_client:reconnect()
+ end
mqtt_client:publish(mqtt_path,msg_body,0,false)
mqtt_client:loop()
end