Comments (9)
Does visiting [your_ha_ur]/api/
also return a 404? (Trailing slash is important)
from plasma-homeassistant.
Visiting http://[SERVER-IP]:8123/api/ results in 401: Unauthorized... So I'm assuming that means I'm barking up the wrong tree right, and something in my HA setup?
from plasma-homeassistant.
401 in this case is expected because no token was passed. The step was to make sure the API is reachable.
Is it possible that you don't have a default_config:
or at least frontend:
entry in the server configuration?
In most instances, the default_config component is enabled which indirectly provides the WebSocket API (dependency chain: default_config > frontend > websocket_api) but maybe you have a more custom configuration.
from plasma-homeassistant.
I was getting the same error when I used the url of homeassistant with a trailing slash at the end, ie http://homeassistant.local:8123/. With traling slash You can see wrong profile url in applet config: http://homeassistant:8123//profile. Without the trailing slash, the applet connected to homeassistant without errors. However, I also created a special - non admin user for the plasma applet.
However, the applet behaves strangely when entering the url. When the traling slash is deleted from existing url, the apply button not became active. The applet does not take this as a "change".
from plasma-homeassistant.
This issue is stale because it has been open for 30 days with no activity.
from plasma-homeassistant.
I think I have the same issue
Is it possible that you don't have a
default_config:
or at leastfrontend:
entry in the server configuration?
I don't think so
Homeassistant logs says:
WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from xxx.xxx.xxx.xxx. Requested URL: '/api/websocket'. (None)
from plasma-homeassistant.
Can you see HomeAssistant entry in kwalletmanager?
from plasma-homeassistant.
This issue is stale because it has been open for 30 days with no activity.
from plasma-homeassistant.
Related Issues (18)
- Enhancement Ideas: Widget Functionality and Layout Improvements HOT 6
- KDE 6? HOT 1
- Suggestion: Persistent items HOT 5
- Refresh after items added HOT 3
- [Bug] Widget does not fully initialize if wallet not unlocked when plasmashell starts. HOT 1
- [Bug] Item settings disappear when changing identity id in home assistant
- Add User Agent so access logs do not look suspicious on failed auth attempts. HOT 2
- module "QtWebSockets" is not installed HOT 10
- [Feature request] Plasma 6 compatibility HOT 2
- [Bug] Failed to create WebSocket client HOT 2
- Doesn't work on KDE6 HOT 2
- Port to plasma 6 HOT 1
- [Feature request] Be able to change brightness or other values with a slider
- [Bug] Error after first install and use HOT 8
- [Feature request] GUI for rounding values
- Displaying only spinner, can't add entities HOT 6
- Light Toggle creates Strobe effect HOT 3
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 plasma-homeassistant.