Variables to set:
SPEEDFLUX_LOCATION
tag for the db where the measurement is from (e.g. home)
SPEEDFLUX_USER
influxdb user
SPEEDFLUX_PASS
influxdb pass
SPEEDFLUX_PROTOCOL
http or https
SPEEDFLUX_HOST
database address (e.g. influxdb.example.com)
SPEEDFLUX_PORT
port where influxdb is reachable
SPEEDFLUX_DB
database or bucket where the data will be saved (has to exist already)