added influxdb export and temperature extraction