brocaar / chirpstack-application-server

ChirpStack Application Server is an open-source LoRaWAN application-server.
https://www.chirpstack.io
MIT License
498 stars 325 forks source link

InfluxDB Integration Timestamp #516

Open johannes-777 opened 4 years ago

johannes-777 commented 4 years ago

Hi, As my application respects the fair-use policy of the LoRa band, packets may be sent quite a bit after they were constructed. Therefore, the timestamp is encoded explicitly into the payload. Currently the InfluxDB Integration supports long/lat, but no explicit timestamps. In InfluxDB, this feature is described here: https://docs.influxdata.com/influxdb/v1.8/write_protocols/line_protocol_tutorial/#timestamp In Chirpstack, the integration is here: https://github.com/brocaar/chirpstack-application-server/blob/master/internal/integration/influxdb/influxdb.go As I am not familiar with go, I would request this feature.

Regimbal commented 3 years ago

Hi, This is also required for devices sending multiple samples of whatever-they-measure in the same payload.