Giter VIP home page Giter VIP logo

Comments (8)

cyberjunky avatar cyberjunky commented on June 12, 2024 4

This is a longer known issue, got an aha moment, and suspect we need to use UTC datetime to calculate date, will test it.

from home-assistant-garmin_connect.

cyberjunky avatar cyberjunky commented on June 12, 2024 1

Hi guys, this issue of no data around midnight has been there from the beginning, I thoughted it maybe had something to do with timezone differences.. But didn't get it fixed yet. Will ask if author of Garth has same experience, I will keep you updated?

from home-assistant-garmin_connect.

Tazmanian79 avatar Tazmanian79 commented on June 12, 2024

Anyone had already found a solution for this? I have exact the same issue.

from home-assistant-garmin_connect.

markblokpoel avatar markblokpoel commented on June 12, 2024

This issue still comes up for me. Weight /scale data is lost after midnight. Any additional info I can give? I'm in timezone CET+1.

from home-assistant-garmin_connect.

ML19821 avatar ML19821 commented on June 12, 2024

I've got the same issue

from home-assistant-garmin_connect.

gllmlbrt avatar gllmlbrt commented on June 12, 2024

HI, I have the same issue. Is there a temporary work around or a version to test any fix ?

from home-assistant-garmin_connect.

Broekman avatar Broekman commented on June 12, 2024

Anyone looking for a temporary mitigation could use the template sensor below.

template:
  - trigger:
      - platform: state
        entity_id: sensor.weight
        not_to:
          - unknown
          - unavailable
    sensor:
      - name: "Garmin - weight"
        icon: "mdi:weight-kilogram"
        device_class: weight
        unit_of_measurement: "kg"
        state_class: measurement
        state: >-
          {{ trigger.to_state.state | float(0) }}

from home-assistant-garmin_connect.

Broekman avatar Broekman commented on June 12, 2024

Aside from my previous comment, for other sensors it could be nice to have a total_increasing sensor which you can than plot in a graph like is done in e.g. the HA energy dashboard. Still a bit annoying if you miss a day or not update before midnight as it will reset back to unknown/unavailable again until the next update, but it's better than nothing 😅

  - trigger:
      - platform: state
        entity_id: sensor.total_kilocalories
        not_to:
          - unknown
          - unavailable
    sensor:
      - name: "Garmin - total calories"
        icon: "mdi:dumbbell"
        unit_of_measurement: "kcal"
        state_class: total_increasing
        state: >-
          {{ trigger.to_state.state | float(0) }}

@cyberjunky are these kind of total_increasing values available from the Garmin interface instead of a daily value that resets?

from home-assistant-garmin_connect.

Related Issues (20)

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.