Function to write Netatmo measurement in Influx DB

Also check that you have configured the influxdb node with the correct details of your database.