Comments (9)
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.
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.
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.
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.
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.
That´s alright, thank you for trying.
from fitbit-homeassistant.
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.
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.
Each setting is applied instantly.
from fitbit-homeassistant.
Related Issues (11)
- Cannot load entities when HA port different than default (8123) HOT 12
- how to privately publish/upload fba/source to fitbit studio? HOT 2
- Doesn't seem to work anymore with HA 2022.3.1 HOT 22
- add support for button entities HOT 3
- Unable to connect HOT 3
- Support for Versa 4 HOT 3
- Sort entity list HOT 1
- Not getting entities showing up. HOT 23
- Thanks! HOT 1
- allow showing temperatures HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fitbit-homeassistant.