pimoroni / enviro

MIT License
105 stars 85 forks source link

InfluxDB destination doesn't send reading timestamp in line protocol #73

Closed gclinch closed 2 years ago

gclinch commented 2 years ago

destinations/influxdb.py includes some logic to massage the reading timestamp into a unix timestamp, but then doesn't include that value in the payload.

lowfatcode commented 2 years ago

Thanks for the report! Fixed in https://github.com/pimoroni/enviro/commit/d8da4d3606c492769443e274d0a99964df8c1ea5