Code Monkey home page Code Monkey logo

garmin-influxdb's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

garmin-influxdb's Issues

Unauthorized

When starting the script it logs in into garmin and tries to login into my influxDB 2.0 but always says "401 unauthorized "
any known troubles on this ?

Heart Rate Variability

Was gonna dig in to see if I could pull HRV data in, but wanted to check first and see if someone maybe already did this or if it may not be possible before I went too far down the rabbit hole!

DEBUG:garminconnect:Response in exception: b'Unauthorized'

Hi

I am getting
DEBUG:garminconnect:Response in exception: b'Unauthorized'
Error occurred during Garmin Connect Client get activities: Authentication error

when calling:
activities = get_data_from_garmin("activities", "client.get_activities(0, 10)", client=client) # 0=start, 1=limit

other calls seem to work:
DEBUG:garminconnect:Display name is xxx
DEBUG:garminconnect:Unit system is metric
DEBUG:garminconnect:Fullname is xxx
DEBUG:garminconnect:Cookies saved

but then:

DEBUG:garminconnect:Requesting activities
DEBUG:garminconnect:URL: https://connect.garmin.com/modern/proxy/activitylist-service/activities/search/activities
DEBUG:garminconnect:Headers: {'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:66.0) Gecko/20100101 Firefox/66.0', 'NK': 'NT'}
DEBUG:urllib3.connectionpool:https://connect.garmin.com:443 "GET /modern/proxy/activitylist-service/activities/search/activities?start=0&limit=10 HTTP/1.1" 401 12
DEBUG:garminconnect:Response in exception: b'Unauthorized'
Error occurred during Garmin Connect Client get activities: Authentication error

any ideas?

Unknown error occured during Garmin Connect Client login

First of all thx for the code i was searching for such a thing for my student project :)

I have an error when running the skript:

DEBUG:garminconnect:Login to Garmin Connect using POST url https://sso.garmin.com/sso/signin
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): sso.garmin.com:443

I don't think direct login via browser https://sso.garmin.com/sso/signin is supported.
I cant even log in manually with the right email and password (It works on https://connect.garmin.com/signin/ )

An earlier closed issue was solved with installing OpenSSL (cyberjunky/python-garminconnect#14), but it didnt solve the issue for me.
I have garminconnect 0.1.16

ps:: I am a beginner programmer so could be just a stupid mistake from my side.

Add Weight Data

Hey @stratus-ss, I am working to try and add weight data but using Postman can't seem to get the GET commands to work. What are you using in #3 (comment) to get these endpoints and what URL are you using? I have tried connnect.garmin.com and connectapi.garmin.com but just get a "bad request" error no matter how I structure things, even when using my credentials. Any insight would be appreciated!

Errors on Sleep Data

Anyone else getting errors for the last month or so?

DEBUG:garminconnect:Requesting steps data
DEBUG:garminconnect:URL: https://connect.garmin.com/modern/proxy/wellness-service/wellness/dailySummaryChart/a1992e4a-dba6-4e52-8385-XXXXX
DEBUG:garminconnect:Headers: {'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:66.0) Gecko/20100101 Firefox/66.0', 'NK': 'NT'}
DEBUG:urllib3.connectionpool:https://connect.garmin.com:443 "GET /modern/proxy/wellness-service/wellness/dailySummaryChart/a1992e4a-dba6-4e52-8385-XXXXX?date=2023-9-17 HTTP/1.1" 200 None
DEBUG:garminconnect:Requesting user summary
DEBUG:garminconnect:URL: https://connect.garmin.com/modern/proxy/usersummary-service/usersummary/daily/a1992e4a-dba6-4e52-8385-XXXXX
DEBUG:garminconnect:Headers: {'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:66.0) Gecko/20100101 Firefox/66.0', 'NK': 'NT'}
DEBUG:urllib3.connectionpool:https://connect.garmin.com:443 "GET /modern/proxy/usersummary-service/usersummary/daily/a1992e4a-dba6-4e52-8385-XXXXX?calendarDate=2023-9-17 HTTP/1.1" 200 None
DEBUG:garminconnect:Requesting sleep data
DEBUG:garminconnect:URL: https://connect.garmin.com/modern/proxy/wellness-service/wellness/dailySleepData/a1992e4a-dba6-4e52-8385-XXXXX
DEBUG:garminconnect:Headers: {'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:66.0) Gecko/20100101 Firefox/66.0', 'NK': 'NT'}
DEBUG:urllib3.connectionpool:https://connect.garmin.com:443 "GET /modern/proxy/wellness-service/wellness/dailySleepData/a1992e4a-dba6-4e52-8385-XXXXX?date=2023-9-17&nonSleepBufferMinutes=60 HTTP/1.1" 404 None
'NoneType' object has no attribute 'json'
Unknown error occurred during Garmin Connect Client get sleep_data

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.