else
for param,value in pairs(sensor_data) do
conn:execute(string.format("CALL meteo.submit_mqtt('%s','%s','%s','%s',NULL)", topic,sensor_type,param,value))
conn:commit()
else
for param,value in pairs(sensor_data) do
conn:execute(string.format("CALL meteo.submit_mqtt('%s','%s','%s','%s',NULL)", topic,sensor_type,param,value))
conn:commit()