Giter Club home page Giter Club logo

hass-polar's Introduction

Polar integration for Home Assistant

This a custom component for Home Assistant. The polar integration allows you to get information from Polar.

You need to create a Client in Polar Access Link and set in Authorization redirect URLs:

  • https://your_external_access_to_ha
  • https://your_external_access_to_ha/api/polar_auth (selected)

Installation

HACS

HACS > Integrations > Explore & Add Repositories > Polar > Install this repository

Manually

Copy the custom_components/polar folder into the config folder.

Configuration

To add the Polar integration to your installation, go to Configuration >> Integrations in the UI, click the button with + sign and from the list of integrations select Polar.

Fields

  • Client ID and Client secret: get credentials grom Polar Access Link.
  • Scan Interval interval in minutes between two scan to Polar API (default: 30)
  • URL: URL used to access to your Home-Assistant (default: your external or internal URL if configured in HA settings)

Credits

Thanks to https://github.com/burnnat/ha-polar

hass-polar's People

Contributors

aohzan avatar thoemmi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

thoemmi

hass-polar's Issues

Device class None

Hello,

The integration seem to generate a warning in the logs:

Sensor sensor.cinghialino_last_exercise has device class None, state class measurement and unit None thus indicating it has a numeric value; however, it has the non-numeric value: 2023-02-28T15:58:45 (<class 'str'>); Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.

maybe it needs to be revised.

Thank you

Sensors unavailable

Good afternoon everyone,

I installed this custom component and created the client ID and client secret.
Although they were accepted by the integration, the only sensor that is not "unavailable" is the sensor "weight".
All other sensors remain unavailable.
Is there some kind of step that I am missing?

Thanks in advance.

Kind regards.

Redirection problem

          The webpage return me:

¡VAYA! ALGO FUE MAL. INTÉNTALO DE NUEVO MÁS TARDE.

I completed client id, password ... and when I was redirected to Polar Web for confirm in HA ....¡VAYA! ALGO FUE MAL. INTÉNTALO DE NUEVO MÁS TARDE.

Originally posted by @jesusmendez87 in #4 (comment)

something went wrong...

Hi,
you would be the greatest king if it worked again after all this time!
But after the add integration- client ID and secret, it is shows the polar website with "oops something went wrong" text...
Sorry, for me it is not working...
are you sure the format of redirect url is:
https://myexternalaccess/api/polar_auth

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.