Comments (25)
I added a country selection in version v0.1.1
. After updating and restarting home assistant, please click on configure on myVaillant in integrations and select your country. Afterwards reload the integration.
If you weren't able to login when adding the integration, you should see a country selection after username and password.
from mypyllant-component.
It does not work for me either. I uninstalled the previous version before installing v0.1.0, and after entering my credentials, nothing happens. There is no information about the component in the logs.
from mypyllant-component.
I had the same error as you around the same time. It hasn't happened since, so maybe sth. was wrong with the API. I'll keep this open, in case it happens again let me know!
from mypyllant-component.
Tuve el mismo error que tú casi al mismo tiempo. No ha sucedido desde entonces, así que tal vez algo. estaba mal con la API. Mantendré esto abierto, en caso de que vuelva a suceder, ¡házmelo saber!
Ok
from mypyllant-component.
Good morning,
The problem has not repeated, close the issues and if it happens again I will reopen it.
Possibly it is due to the Vaillant cloud, because it fails a lot, last week we spent 3 days without the application, it was a problem recognized by Vaillant.
Possibly it will happen again when the Vaillant endpoint goes down.
from mypyllant-component.
This has also been happening to me lately;
File "/Users/mariomblu/GitHub/myPyllant/tests/generate_test_data.py", line 54, in main
async with MyPyllantAPI(user, password) as api:
File "/Users/mariomblu/GitHub/myPyllant/src/myPyllant/api.py", line 83, in __aenter__
await self.login()
File "/Users/mariomblu/GitHub/myPyllant/src/myPyllant/api.py", line 104, in login
raise Exception(login_json["errorSummary"])
Exception: Authentifizierung fehlgeschlagen
Unclosed client session
A couple days ago I was prompted to update myVaillant app to use an improved "new login" system. Maybe they are deprecating the old endpoint
from mypyllant-component.
It has happened again.
state = self._stringify_state(available)
2023-03-07 13:24:50.426 ERROR (MainThread) [custom_components.mypyllant] Error requesting myVAILLANT data: 400, message='Bad Request', url=URL('https://vaillant-prod.okta.com/oauth2/default/v1/token')
2023-03-07 13:44:16.508 ERROR (MainThread) [custom_components.mypyllant] Error requesting myVAILLANT data: 400, message='Bad Request', url=URL('https://vaillant-prod.okta.com/oauth2/default/v1/token')
2023-03-07 13:44:17.156 ERROR (MainThread) [custom_components.mypyllant] Error requesting myVAILLANT data: 400, message='Bad Request', url=URL('https://vaillant-prod.okta.com/oauth2/default/v1/token')
I have included this in my config:
logger:
logs:
custom_components.mypyllant: debug
myPyllant: debug
Regarding the last authentication after the update, the same thing happened to me, it seems to me that they use OAuth 2.0, since that login came out of a website using a federated cloud Web App login.
I may be wrong, but it is possible that the download of the new token in the current version is done by OAuth.
from mypyllant-component.
After restarting home assistant with the logger on, two errors:
Logger: homeassistant.config_entries
Source: custom_components/mypyllant/init.py:34
Integration: myVAILLANT (documentation, issues)
First occurred: 15:50:31 (1 occurrences)
Last logged: 15:50:31
Error setting up entry [email protected] for mypyllant
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 383, in async_setup
result = await component.async_setup_entry(hass, self)
File "/config/custom_components/mypyllant/init.py", line 34, in async_setup_entry
await api.login()
File "/usr/local/lib/python3.10/site-packages/myPyllant/api.py", line 104, in login
raise Exception(login_json["errorSummary"])
Exception: Authentifizierung fehlgeschlagen
Logger: myPyllant.api
Source: custom_components/mypyllant/init.py:34
Integration: myVAILLANT (documentation, issues)
First occurred: 15:50:31 (1 occurrences)
Last logged: 15:50:31
Could not log in, got status 401 this response: {'errorCode': 'E0000004', 'errorSummary': 'Authentifizierung fehlgeschlagen', 'errorLink': 'E0000004', 'errorId': 'oae-W27IQvsTry1MHxO3FpSkw', 'errorCauses': []}
The German translation of
Authentifizierung fehlgeschlagen -> Authentification failed
This new update has a lot of changes in authentication so it seems
from mypyllant-component.
Performing the wipe and recreating the device, still fails to authenticate.
It seems that the myPyllant library has been invalidated at least the login
from mypyllant-component.
Vaillant changed the login workflow completely, see signalkraft/myPyllant#7 (comment)
Latest version should work again!
from mypyllant-component.
In my case it doesn't work.
In the installation, after installing (upgrading) by HACS:
Try to login, I know the fields when configuring the user and the account, after login and it does not advance
from mypyllant-component.
Having the same issue, no error in the log. Thanks.
from mypyllant-component.
I tested the setup with a blank HA docker container, it works for me.
When you log into the myVaillant app, do you get a browser window like this, or do you enter username and password in the app?
If you get the browser window, could you share the URL you are getting? In my case it starts with https://identity.vaillant-group.com/auth/realms/vaillant-germany-b2c/protocol/openid-connect/auth
.
Maybe there are different realms (groups) in Vaillant's new authentication, in my case it's vaillant-germany-b2c
. I would need to know which addresses you are seeing to validate that.
from mypyllant-component.
That’s the link I got since a week or so.
from mypyllant-component.
Belgium
from mypyllant-component.
My link, Spain
from mypyllant-component.
Tried uninstalling and reinstalling the component, I’m now unable to login.
from mypyllant-component.
V0.1.1 login perfectly.
Thank you for your work.
We keep in observation...
from mypyllant-component.
Can confirm it works great 🙌🏻 !
from mypyllant-component.
Thanks, this fixed the issue for me after uninstall and reinstall.
from mypyllant-component.
Perfect, works fine now
from mypyllant-component.
It works like a charm now. Thank you!
from mypyllant-component.
Thanks
from mypyllant-component.
Thank you. Now the log in works perfectly.
Unfortunately no devices are listed in the integration.
I report some errors:
Logger: custom_components.mypyllant
Source: custom_components/mypyllant/init.py:139
Integration: myVAILLANT (documentation, issues)
First occurred: 8 marzo 2023 alle ore 23:26:08 (4 occurrences)
Last logged: 21:59:45
Unexpected error fetching myVAILLANT data: 1 validation error for Zone current_room_temperature field required (type=value_error.missing)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 239, in _async_refresh
self.data = await self._async_update_data()
File "/config/custom_components/mypyllant/init.py", line 139, in _async_update_data
data = [
File "/config/custom_components/mypyllant/init.py", line 139, in
data = [
File "/usr/local/lib/python3.10/site-packages/myPyllant/api.py", line 200, in get_systems
system = System(
File "/usr/local/lib/python3.10/site-packages/myPyllant/models.py", line 114, in init
self.zones = [Zone(system_id=self.id, **z) for z in self._raw_zones]
File "/usr/local/lib/python3.10/site-packages/myPyllant/models.py", line 114, in
self.zones = [Zone(system_id=self.id, **z) for z in self._raw_zones]
File "pydantic/main.py", line 342, in pydantic.main.BaseModel.init
pydantic.error_wrappers.ValidationError: 1 validation error for Zone
current_room_temperature
field required (type=value_error.missing)
And the other one:
Logger: homeassistant.components.binary_sensor
Source: custom_components/mypyllant/binary_sensor.py:32
Integration: Sensore binario (documentation, issues)
First occurred: 8 marzo 2023 alle ore 23:26:09 (4 occurrences)
Last logged: 21:59:46
Error while setting up mypyllant platform for binary_sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 293, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/mypyllant/binary_sensor.py", line 32, in async_setup_entry
for index, system in enumerate(coordinator.data):
TypeError: 'NoneType' object is not iterable
Any help?
Thanks
from mypyllant-component.
I'm closing this and moving your issue to a new ticket @MP14588
from mypyllant-component.
Related Issues (20)
- Unable to fetch myValliant data - 0.7.4b6 HOT 3
- 'Internal Server Error' when fetching myValliant data HOT 4
- Migrate from Multimatic to myVaillant, no entity created HOT 4
- Adding support for new sensors on/off cycles and running time HOT 8
- Climate control creates an warning HOT 1
- Recovair 260 Support? HOT 3
- Climate entity gone?
- Error when setting zone operating mode
- All entities are marked as "no longer provided by the integration" HOT 11
- No auth HOT 4
- Could not get MPC / RTS data HOT 2
- Add FAN level 1-5 for Recovair 260/360/4
- Only full integer for electrical values instead of float HOT 1
- Error when setting away mode
- Circulation binary sensor missing (binary_sensor.dhw_circulation) HOT 2
- Vaillant Device 0 ecoTEC plus > Status unavailable HOT 5
- Consumed Electrical or Primary for Hot Water or Heating is Unknown (4 Entities) HOT 4
- 'AUTO' is not a valid DHWOperationMode (migrated from multimatic) HOT 1
- Ambisense support HOT 1
- All Sensors gone after latest mapyllant update 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 mypyllant-component.