Comments (7)
This is because the time
field is only filled in the UDP packet when the gateway has an accurate time source (GPS). Since an empty time in Go is equal to 0001-01-01T00:00:00Z
, the JSON published to MQTT is filled with this value. This has been brought up before and I agree it is confusing. I'll look into a proper solution soon.
from chirpstack-gateway-bridge.
Thanks for your reply. Don't worry too much about it, it is really not a big issue.
from chirpstack-gateway-bridge.
How about setting the time field to 1970-01-01 00:00 (unix epoch)?
On the other hand, if the time is not set because the gateway is not aware of the current time, how about setting it to the current timestamp of the server. If the server is NTP sync'ed this will at least give a good representation of when the packet was passed through the bridge.
from chirpstack-gateway-bridge.
Please don't set it to current time in the server, because then we don't know anymore of this is GPS synced time from the gateway or not.
Server time is useful though, but then better add a field for it.
from chirpstack-gateway-bridge.
I don't thing it would be a good idea to let LoRa Gateway Bridge add a time-field to the JSON. As the instance might not run on the gateway itself, there might be quite a difference between when it was received by the gateway and when it was received by the gw bridge (as in seconds in some setups using 3G connection).
from chirpstack-gateway-bridge.
I have seen this issue when using the Microchip gateway as well so I do not think this is specific to the LORANK8.
Here is the output when subscribed to "gateway/#/#":
gateway/1234567887654321/rx {"rxInfo":{"mac":"1234567887654321","time":"0001-01-01T00:00:00Z","timestamp":1433980587,"frequency":903100000,"channel":4,"rfChain":1,"crcStatus":1,"codeRate":"4/5","rssi":-39,"loRaSNR":9.8,"size":21,"dataRate":{"modulation":"LORA","spreadFactor":7,"bandwidth":125}},"phyPayload":"QHC9cwcAIgI8qBIoYzAPfh8iXsvN"}
from chirpstack-gateway-bridge.
This will be fixed soon :-)
from chirpstack-gateway-bridge.
Related Issues (20)
- Wrong FSK frequency for AS923 in basicstation
- No reconnect if the initial connection fails because certificate has expired (v3.13.3) HOT 8
- Make "MQTT Client ID as a gateway ID source" optional HOT 1
- [Build] missing go.sum entries HOT 2
- Gateway Bridge not starting after reboot under Multitech v6.0.0 HOT 2
- Gateway bridge on Kerlink iStation only forwards a few messages after bootin, then stops publishing to MQTT HOT 2
- Issue with docker compose GW building HOT 1
- Apply filtering with concentratord backend
- Long interleaving CodeRate is not support on semtechudp downlink. HOT 1
- windows_amd64.tag.gz
- ConfigMap integration.mqtt.auth.generic.servers value is not used HOT 6
- 3.14.3 Gets into a mqtt reconnection loop HOT 8
- MutualTLS error="not Authorized"
- Basic Station backend: FineTimeSinceGpsEpoch missing from uplink event? HOT 2
- Add bcning field in router_config response
- Integration ThingsBoard doesn't work
- Chirpstack v4.6.0 missing uplink info latest gw bridge tag HOT 7
- ChirpStack Gateway Bridge binds to udp6 only HOT 4
- class C downlink issues HOT 4
- Chirpstack-gateway-bridge, gateway 16 channels (basic station, SX1302, SX1303) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chirpstack-gateway-bridge.