Code Monkey home page Code Monkey logo

Comments (8)

stratus-ss avatar stratus-ss commented on August 23, 2024

is the trouble on Garmin's side or Influx?

from garmin-influxdb.

peejaychilds avatar peejaychilds commented on August 23, 2024

The influxdb python module in use is for influxdb v1.

I believe to use with v2 you may need to create a 'v1' user.

https://docs.influxdata.com/influxdb/v2.6/reference/cli/influx/v1/auth/create/

I did this ..

influx v1 auth create --username v1user --org testorg --write-bucket 51924e85035d08ee --password v1passxxx --token mytoken

and in garmin-to-influxdb.py I have

influx_server = "my-influxv2-server"
influx_port = 8086
influx_username = "v1user"
influx_password = "v1passxxx"
influx_db = "mybucket"

and it works well for me

from garmin-influxdb.

stratus-ss avatar stratus-ss commented on August 23, 2024

interesting. I am using Chronograf (Version: 1.9.4) to manage my influxdb. in that way this has been abstracted from me

from garmin-influxdb.

Curtis777 avatar Curtis777 commented on August 23, 2024

I will give it a try,
It's definitely a influx error.
I see the successful login to garmin
I will let you know the results

from garmin-influxdb.

Curtis777 avatar Curtis777 commented on August 23, 2024

my influxdb login should work.
so maybe there is another problem.

Anybody's able to help ?

from garmin-influxdb.

peejaychilds avatar peejaychilds commented on August 23, 2024

Did you create a v1 username/password with your influx?

from garmin-influxdb.

Curtis777 avatar Curtis777 commented on August 23, 2024

yeah, created sucessfull.
but now when i run the script it stops with:
influxdb.exeptions.InfluxDBClientError: 404: {"code":"not found","message":"no dbrp mapping found"}

from garmin-influxdb.

stratus-ss avatar stratus-ss commented on August 23, 2024

closing this as stale

from garmin-influxdb.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.