ayeks / bme680_to_influxdb

Simple script that sends your BME680 temp, pressure, humidity and gas sensor data to InfluxDB.
MIT License
23 stars 15 forks source link

change timestamp to UTC instead of local time #5

Closed padalev closed 4 years ago

padalev commented 4 years ago

The InfluxDB API always assumes the timestamp to be UTC. Setting the timestamp to local time can lead to some bad hiccups.

Especially leads to problems with Grafana not displaying the timestamps correctly.

ayeks commented 4 years ago

Closes #4