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

add rssi to InfluxDB heartbeat #1400

Merged
merged 1 commit into from Dec 8, 2018

Conversation

BuildTheRobots
Copy link
Contributor

Add an option for logging RSSI (wifi signal level) as part of the heartbeat messages when using InfluxDB.

Ideally I'd make this a runtime option with a toggle on the InfluxDB web page, but I haven't worked out how to do that yet.

grafana-rssi-espurna

Copy link
Collaborator

@mcspr mcspr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@mcspr
Copy link
Collaborator

mcspr commented Dec 8, 2018

I'd also look into modifying heartbeat into a setting globally (not only for influx, for console and mqtt too) and reducing network calls

Heartbeat can easily be a bitset setting instead of hardcoded defines.
Each idbSend is separate HTTP request, which could be reduced to a single request with one measurement per line: https://docs.influxdata.com/influxdb/v1.7/guides/writing_data/#writing-multiple-points

@BuildTheRobots
Copy link
Contributor Author

BuildTheRobots commented Dec 8, 2018 via email

@mcspr mcspr merged commit 1d50e3c into xoseperez:dev Dec 8, 2018
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

Successfully merging this pull request may close these issues.

None yet

2 participants