Coder Social home page Coder Social logo

Manual about fitbit-homeassistant HOT 9 CLOSED

smirko-dev avatar smirko-dev commented on August 27, 2024
Manual

from fitbit-homeassistant.

Comments (9)

smirko-dev avatar smirko-dev commented on August 27, 2024

Which app version are you using?
Is your home assistant reachable via HTTPS?
Yes, "api" should be enough.
Did you try to reach the REST api by e.g. curl -X GET -H "Authorization: Bearer <your_token>" -H "Content-Type: application/json" <your_url>:<your_port>/api/?

from fitbit-homeassistant.

pyramidak avatar pyramidak commented on August 27, 2024

Then I see problem. Nabu Casa Cloud of Home Assistant providing HTTPS as https://(URL).ui.nabu.casa without port.
Trying without PORT the error is curl: (35) schannel: next InitializeSecurityContext failed: Unknown error (0x80092012).

from fitbit-homeassistant.

smirko-dev avatar smirko-dev commented on August 27, 2024

From version 0.4 on the settings menu contains an entry for a specific port.
Does it work now (after adding the port number)?

from fitbit-homeassistant.

pyramidak avatar pyramidak commented on August 27, 2024

Sorry I meant that the nabu casa cloud does not use port. Curl: With port the connection does not work. Without port it thow the error in curl. In your app both with and without port does not work.

And yes, should be without port: https://community.home-assistant.io/t/restful-api-with-home-assistant-cloud/111696/2

from fitbit-homeassistant.

smirko-dev avatar smirko-dev commented on August 27, 2024

As I read in this thread that nobody really found a solution to get the Rest API running with nabu casa.
Since my app is based on the Rest API, I also don't see a solution for you. Sorry.

from fitbit-homeassistant.

pyramidak avatar pyramidak commented on August 27, 2024

That´s alright, thank you for trying.

from fitbit-homeassistant.

D0m3L avatar D0m3L commented on August 27, 2024

Hey @pyramidak, just try to set port = 443 as this is the default https port and should also work for a nabu.
So both:
https://(URL).ui.nabu.casa
https://(URL).ui.nabu.casa:443
are basically the same

from fitbit-homeassistant.

pyramidak avatar pyramidak commented on August 27, 2024

I tried both, not working. Is setting always loaded new before a try? Some applications have extra button to save new setting to watch. I can only hope the new setting is always used. I tried many times. Not working, but the idea was good.

from fitbit-homeassistant.

smirko-dev avatar smirko-dev commented on August 27, 2024

Each setting is applied instantly.

from fitbit-homeassistant.

Related Issues (11)

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.