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

Feature: HttpDBConnection #24

Closed
Scrin opened this issue May 3, 2019 · 7 comments
Closed

Feature: HttpDBConnection #24

Scrin opened this issue May 3, 2019 · 7 comments

Comments

@Scrin
Copy link
Owner

Scrin commented May 3, 2019

A HttpDBConnection that will do a HTTP POST to a configurable http/https url, with the measurement data encoded as a JSON object with the field names as described in https://github.com/Scrin/RuuviCollector/blob/master/MEASUREMENTS.md

@matthewgardner
Copy link
Contributor

Would it not also include the mac &/or name of the device?

I'll see if I can get something working for something like Azure Time Series Insights. Then we can look to make something more generic perhaps :)

@Scrin
Copy link
Owner Author

Scrin commented May 3, 2019

yes, mac, and name if it exists

@matthewgardner
Copy link
Contributor

Do you see the Ruuvi only hitting one implementation of DBConnection? Or do you see it hitting multiple? 🤔 For example - local and remote data stores?

@Scrin
Copy link
Owner Author

Scrin commented May 28, 2019

Multiple, though until the "multiple inputs and multiple outputs" feature I'm working on is done, this will be limited to at most one InfluxDBConnection and one HttpDBConnection at once.

Leaving the configurable url for influx empty (localhost by default) should disable the InfluxDBConnection, and leaving the url for this http endpoint empty (empty by default) should disable the HttpDBConnection.

@matthewgardner
Copy link
Contributor

The "multiple inputs and multiple outputs" feature- is there an issue for this? (or something off books :) )

@Scrin
Copy link
Owner Author

Scrin commented May 28, 2019

There is now, #34

@Scrin
Copy link
Owner Author

Scrin commented Jun 17, 2020

#34 (comment)

@Scrin Scrin closed this as completed Jun 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants