sensebox / ttn-osem-integration

integration for thethingsnetwork.org to opensensemap.org
MIT License
6 stars 3 forks source link

lora-serialization decoder: support `unixtime` for measurement timestamps #3

Closed noerw closed 7 years ago

noerw commented 7 years ago

Currently the timestamp of the gateway or API is used for measurements. Because of delays in transmission, timestamps would be more accurate if encoded on the sensorplatform itself:

If a unixtime transformer is specified in ttn.decodeOptions, use its result for all measurements of this transmission.

noerw commented 7 years ago

working prototype on loraserial_unixtime branch