Comments (8)
I deleted this one and went with https://github.com/astrandb/miele ; worked perfectly first time; no messing with YAML.
from home-assistant-miele.
same here
from home-assistant-miele.
Im not sure at what point mine stopped working. Im thinking mid Feb.
Noticed this in the logs. Ive refreshed the token on the Miele developer site, but still not working.
Error during setup of component miele
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/requests_oauthlib/oauth2_session.py", line 483, in request
url, headers, data = self._client.add_token(
File "/usr/local/lib/python3.10/site-packages/oauthlib/oauth2/rfc6749/clients/base.py", line 217, in add_token
raise TokenExpiredError()
oauthlib.oauth2.rfc6749.errors.TokenExpiredError: (token_expired)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 256, in _async_setup_component
result = await task
File "/config/custom_components/miele/init.py", line 152, in async_setup
data_get_devices = await client.get_devices(lang)
File "/config/custom_components/miele/miele_at_home.py", line 48, in get_devices
home_devices = await self._get_devices_raw(lang)
File "/config/custom_components/miele/miele_at_home.py", line 29, in _get_devices_raw
devices = await self.hass.async_add_executor_job(func)
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 600, in get
return self.request("GET", url, **kwargs)
File "/usr/local/lib/python3.10/site-packages/requests_oauthlib/oauth2_session.py", line 502, in request
token = self.refresh_token(
File "/usr/local/lib/python3.10/site-packages/requests_oauthlib/oauth2_session.py", line 452, in refresh_token
self.token = self._client.parse_request_body_response(r.text, scope=self.scope)
File "/usr/local/lib/python3.10/site-packages/oauthlib/oauth2/rfc6749/clients/base.py", line 427, in parse_request_body_response
self.token = parse_token_response(body, scope=scope)
File "/usr/local/lib/python3.10/site-packages/oauthlib/oauth2/rfc6749/parameters.py", line 441, in parse_token_response
validate_token_parameters(params)
File "/usr/local/lib/python3.10/site-packages/oauthlib/oauth2/rfc6749/parameters.py", line 448, in validate_token_parameters
raise_from_error(params.get('error'), params)
File "/usr/local/lib/python3.10/site-packages/oauthlib/oauth2/rfc6749/errors.py", line 399, in raise_from_error
raise cls(**kwargs)
oauthlib.oauth2.rfc6749.errors.InvalidGrantError: (invalid_grant)
from home-assistant-miele.
TokenExpiredError
you probably need to generate a new token 🤷♂️
from home-assistant-miele.
you probably need to generate a new token 🤷♂️
Yes as I mentioned above ive grabbed a new token from the Miele developer portal but its still generating the errors.
from home-assistant-miele.
My situation is similar to @Maxwell2022 ; I'm running HA on Docker, but with a volume mapped for config, so it persists; I followed the manual installation instructions to the letter and have my brand new tokens from Miele.
Rebooting HA after config I don't see any UI (where are we supposed to see this??), I can go to add Integration and see the Miele integration, but same errors as Maxwell (You cannot add via UI, etc.).
Looking at logs no errors at all and the Miele integration seems to be loaded:
2023-03-21 10:24:53.563 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration nodered which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2023-03-21 10:24:53.564 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration miele which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
(for comparison Node Red is also manually installed and works perfectly). I'm not sure what to do...
from home-assistant-miele.
I cannot see the integration, if I go to add integration, I see the Miele one but it says that it can only be added by configuration (which I've done). I have no errors in the logs. Not sure what I missed.
I had a similar issue (seeing the Integration in search, but could not add/configure it), maybe my second post here helps:
#149 (comment)
from home-assistant-miele.
I just ended up using https://github.com/astrandb/miele - Works like a charm first try
from home-assistant-miele.
Related Issues (20)
- Water consumption and Energy missing HOT 1
- The following integrations and platforms could not be set up: HOT 5
- Cannot add repository - getting error "...is not a valid add-on repository" HOT 1
- Invalid config The following integrations and platforms could not be set up: miele.sensor -> HA 2023.5 Beta HOT 1
- Unable to prepare setup for platform miele.sensor since installation of HA 2023.5 HOT 8
- Authentication fails after update of Homeassistant to 2023.5.0 HOT 2
- Error during setup of component Miele HOT 6
- core update 2023.5.4 HOT 6
- Unexpected exception importing platform custom_components.miele.sensor HOT 1
- Washing machines status is missing HOT 3
- After HA update Miele Integration wan't load
- Error during setup of component miele
- Issues with latest update HA 2023.7.2 HOT 13
- Issues with latest update HA Home Assistant 2023.9.0 HOT 2
- Broken support for PDR508HP / EK037 - Type 4 - semi-professional tumble dryer
- Re-Auth needed often after reboot of HA HOT 5
- No icon for domain - Frontend Warning
- SUPPORT_SET_SPEED was used from miele, this is a deprecated constant which will be removed in HA Core 2025.1
- Deprecation, needs to be fixed before 2024.9
- Adding the integration to HA 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 home-assistant-miele.