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

[InfluxDB] Support for InfluxDB 2 #563

Open
tobru opened this issue Nov 1, 2021 · 3 comments
Open

[InfluxDB] Support for InfluxDB 2 #563

tobru opened this issue Nov 1, 2021 · 3 comments
Labels
enhancement service plugin All about service plugins

Comments

@tobru
Copy link
Contributor

tobru commented Nov 1, 2021

InfluxDB version 2 has a slightly different API, mainly:

  • Now using API tokens instead of username/password
  • Replacing database/retention policy with bucket

This needs a few changes how the HTTP POST looks like, see Write data with the InfluxDB API.

@amotl
Copy link
Member

amotl commented Aug 5, 2022

Hi Tobias,

it would be sweet to have an adapter for InfluxDB 2 for mqttwarn. Do you see a chance of contributing it?

influxdb.py has the code for InfluxDB 1. Maybe it will not be too hard to conceive a page of code having corresponding support for InfluxDB 2. I would implement the adapter within a separate file called influxdb2.py.

With kind regards,
Andreas.

@tobru
Copy link
Contributor Author

tobru commented Aug 14, 2022

I cannot promise anything, but I might give it a try some when 👍

@amotl amotl added enhancement service plugin All about service plugins labels Aug 21, 2022
@amotl amotl changed the title Support for InfluxDB 2 [InfluxDB] Support for InfluxDB 2 Aug 22, 2022
@amotl
Copy link
Member

amotl commented Aug 26, 2022

Dear Tobias,

I cannot promise anything, but I might give it a try some when 👍.

I am sure any patch in this regard will be very much appreciated, with ❤️.

With kind regards,
Andreas.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement service plugin All about service plugins
Projects
None yet
Development

No branches or pull requests

2 participants