Open djwafelap opened 2 months ago
Please make sure that you are using this integration. The version miele-08.23
is not from this integration.
sorry, this was a wrong version number. Is v2024.3.0 more realistic?
Please make sure that you are using this integration. The version
miele-08.23
is not from this integration.
Thanks, then I know that you are on the right field... This is not a normal behaviour of the integration. Please attach relevant lines from the full HA log. BTW Are you using the AdGuard add-on. I have got a few reports in another context that it causes this type of interference.
Hi, I don't use AdGuard. Here are all entries regarding miele in the full HA log:
"2024-04-28 18:42:43.896 ERROR (MainThread) [custom_components.miele] Error requesting miele data: Cannot connect to host api.mcs3.miele.com:443 ssl:default [Name has no usable address] 2024-04-28 18:42:43.896 DEBUG (MainThread) [custom_components.miele] Finished fetching miele data in 0.079 seconds (success: False) 2024-04-28 18:42:43.900 DEBUG (MainThread) [custom_components.miele] Finished fetching miele data in 0.004 seconds (success: False) "
And here is the full entry of the error in the system log: "Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht
Logger: custom_components.miele Quelle: helpers/update_coordinator.py:328 Integration: Miele (Dokumentation, Probleme) Erstmals aufgetreten: 27. April 2024 um 02:24:45 (123 Vorkommnisse) Zuletzt protokolliert: 18:46:40
Error requesting miele data: Cannot connect to host api.mcs3.miele.com:443 ssl:default [Name has no usable address] Error requesting miele data: Cannot connect to host api.mcs3.miele.com:443 ssl:default [Try again]"
I also had this error before the integration happened to be running again:
"General error while obtaining the access token."
Could it perhaps have something to do with that?
Thanks, then I know that you are on the right field... This is not a normal behaviour of the integration. Please attach relevant lines from the full HA log. BTW Are you using the AdGuard add-on. I have got a few reports in another context that it causes this type of interference.
Allgemeiner Fehler während der Einholung des Zugriffstokens.
appear if there is an authentication error when setting up the integration the first time. The result is unpredictable if you manage to pass this error message.
I suggest that you uninstall the integration while making sure that the oauth credentials are removed also. Then install the integration again.
hm, after complete remove and reinstalling, the problem is still the same :( is it possible that miele somehow blocked me or put me on a kind of black list due to too many requests???
I don't think that Miele is blocking you, There should be "429"-errors in the log then. It must something in your setup, The integration works for more than 6600 users.
You can verify that your app credentials work on https://www.miele.com/developer/swagger-ui/index.html - Click Authorize
Is there any setup I can do???
I don't think that Miele is blocking you, There should be "429"-errors in the log then. It must something in your setup, The integration works for more than 6600 users.
You can verify that your app credentials work on https://www.miele.com/developer/swagger-ui/index.html - Click
Authorize
Check that you can authorize on Miele developer site, link above. Other users have noted problems if their password includes any special characters.
looks like i am logged in (???)
Check that you can authorize on Miele developer site, link above. Other users have noted problems if their password includes any special characters.
Does the "Application Name" have a special purpose?
I have also noticed that the integration hangs on the first attempt at a new installation until I cancel it. No files have been copied to the /config/custom_components/miele directory. The integration is only installed on the second attempt.
Could this have something to do with it?
Does the "Application Name" have a special purpose?
In what context? If when entering application credentials it is just a descriptive name. In HA you can store multiple sets for an integration. You will then be prompted for which credentials set you want to use. Mainly usful for developers that want to swap between different Miele accounts.
I think we need to be very specific on the details here:
At what point are you getting errors?
No files have been copied to the /config/custom_components/miele directory.
Sounds very odd.
Can you please tell about your installation: Environment: HassOS, VM, docker... HA core version: HACS version - if any:
ok, just thought the application name could have a special meaning. if it's only a description, it should not make problems.
here is what happens next: it looks like miele is beeing installed, but nothing happens except of the rotating circle.
i have to cancel this process and start downloading once again, then it works
after downloading, i restart HA
then i install the integration
i don't know why at this point it knows the model of my dishwasher...
entering the credentials
verifying my account
my installation: Environment: HassOS 12.2, installed on an intel NUC HA core version: 2024.5.0 HACS version: 1.34.0
It is the redirect back to HA that fails. Please make sure that you can access your HA instance with the marked url. Otherwise you should edit the url by clicking the pencil and change it to the url you are currently using.
Thanks for the hint! It certainly makes sense to place the HA server here and i will try out. But are you sure that this is the only reason? I find it strange that the integration occasionally works after a few dozen attempts and only has frequent dropouts and after a while comes back. Wouldn't it fail permanently if it is the redirect?
I just tried it and I get the same error, both with the local IP address of HA and with the external domain... :(
no more idea what it could be?
The problem
The log reports the following error while the Miele integration is "not available":
Error requesting miele data: Cannot connect to host api.mcs3.miele.com:443 ssl:default [Name has no usable address]
It happens so often that the integration is not really reliable and it is hardly possible to record the work of the dishwasher.
The error looks to me like this is a server problem at Miele or some kind of limitation for third party customers.
Do you have this so often and for so long?
Cheers Rado
Version of miele integration having the issue?
miele-08.23
Version of Home Assistant Core having the issue?
core-2024.4.4
Anything in the logs that might be useful for us?
No response
Additional information
No response