Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should DR and frequency be handled as SNR and RSSI (_measurement) in InfluxDB2 integration? #674

Open
andryyy opened this issue Mar 23, 2022 · 0 comments

Comments

@andryyy
Copy link

andryyy commented Mar 23, 2022

Hi,

referring to

tags := map[string]string{
"application_name": pl.ApplicationName,
"device_name": pl.DeviceName,
"dev_eui": devEUI.String(),
"dr": strconv.FormatInt(int64(pl.Dr), 10),
"frequency": strconv.FormatInt(int64(pl.GetTxInfo().GetFrequency()), 10),
}

DR and frequency are handled as tags and therefore inserted as string values into InfluxDB2:

grafik

It would be nice to query InfluxDB2 for measurements on DR or frequency, too. It is possible to use keyValues in Flux, drop all other measurements and convert the string to an int, but that's pretty heavy on resources.

I use it to create alerts on drops to lower DRs. Frequency is probably less interesting and just interesting to see. :-)

What do you think about that?

@andryyy andryyy changed the title Should DR and frequency be handled as SNR and RSSI in InfluxDB2 integration? Should DR and frequency be handled as SNR and RSSI (_measurement) in InfluxDB2 integration? Mar 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant