panasonic_cc
panasonic_cc copied to clipboard
Unexpected error creating device
Checklist
- [X] I have verified that the account and device works in the Comfort Cloud App.
- [X] This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
- [X] This issue is not a duplicate issue of currently previous issues..
What version of Home Assistant Core?
core-2024.10.2
Describe the issue
When trying to add this integration I receive unexpected error creating device every time I attempt to connect it. Have tried reinstalling and restarting multiple times with no resolve. I have created different dedicated panasonic accounts all with 2FA and none have worked.
Error/Debug Logs
This error originated from a custom integration.
Logger: custom_components.panasonic_cc.pcomfortcloud.helpers
Source: custom_components/panasonic_cc/pcomfortcloud/helpers.py:27
integration: Panasonic Comfort Cloud (documentation, issues)
First occurred: 10:06:25 AM (7 occurrences)
Last logged: 10:30:14 AM
Error in get_token Expected status code '200' but received '400' Response body: {"error":"invalid_request","error_description":"Missing required parameter: code"}
Error in login Expected status code '200' but received '401' Response body: {"message":"statusCode=401,code=Unauthorized,msg=Login ID or password is incorrect.","name":"ValidationError","code":"invalid_user_password","description":"statusCode=401,code=Unauthorized,msg=Login ID or password is incorrect.","statusCode":400,"fromSandbox":true}
Error in login Expected status code '200' but received '401' Response body: {"message":"Wrong email or password.","name":"ValidationError","code":"invalid_user_password","description":"Wrong email or password.","statusCode":400}
This error originated from a custom integration.
Logger: custom_components.panasonic_cc.config_flow
Source: custom_components/panasonic_cc/config_flow.py:68
integration: Panasonic Comfort Cloud (documentation, issues)
First occurred: 10:06:25 AM (7 occurrences)
Last logged: 10:30:14 AM
Bad logger message: Unexpected error creating device ((ResponseError('(get_token: Expected status code 200, received: 400: {"error":"invalid_request","error_description":"Missing required parameter: code"}'),))
Bad logger message: Unexpected error creating device ((ResponseError('(login: Expected status code 200, received: 401: {"message":"statusCode=401,code=Unauthorized,msg=Login ID or password is incorrect.","name":"ValidationError","code":"invalid_user_password","description":"statusCode=401,code=Unauthorized,msg=Login ID or password is incorrect.","statusCode":400,"fromSandbox":true}'),))
Bad logger message: Unexpected error creating device ((ResponseError('(login: Expected status code 200, received: 401: {"message":"Wrong email or password.","name":"ValidationError","code":"invalid_user_password","description":"Wrong email or password.","statusCode":400}'),))
@alexpb123 Hi, the error message indicates that the credentials you provided are wrong.
Hi, I’ve confirmed the details are correct multiple times, changed passwords, created a new account with a different email with the same result each time unfortunately
It might be some caching going on... though the authentication is very finicky, Panasonic doesn't really support 3rd party access like this integration so they have blocked the OAuth callback so we cant use the normal authenitcation schema.
I am having this issue too. Out of the blue, the integration stops working. Remove it and re-download the integration, and this"Unexpected error creating device." pop-out just after I login. PSC Apps login no issue.
I also have the same issue and it started a few days ago, exactly as kelmcw describes. Has something changed?
Reset MFA and Password wait for quite some time and suddenly it works again. App is very cluncky so this integration is very much appreciated. (I already ordered eps32 to replace wifi module :) but luckily not needed)
not
Reset MFA and Password wait for quite some time and suddenly it works again. App is very cluncky so this integration is very much appreciated. (I already ordered eps32 to replace wifi module :) but luckily not needed)
Is the password reset needed too?
Excellent - that worked. Much appreciated. I reseted both MFA and password.
I also have the same issue at my integration. Already reseted MFA and password but it’s still not working. @julianbeere In which order did you reset yours and how log did you wait till you try with next attempt?
I did the MFA and then p/w and waited 30mins or so...
I'm still having the same issue, reseted MFA and pw few times already, waiting for different period of time and no still no luck.
@julianbeere were you using panasonic web page to do that or mobile device (iOS or Android)? I'm starting to suspect that the issue might be related to the login method or some steps in between.
I did it through my iOS phone app. Julian
From: Daniel Sobczak @.> Sent: Tuesday, November 12, 2024 2:17:33 PM To: sockless-coding/panasonic_cc @.> Cc: julianbeere @.>; Mention @.> Subject: Re: [sockless-coding/panasonic_cc] Unexpected error creating device (Issue #326)
I'm still having the same issue, reseted MFA and pw few times already, waiting for different period of time and no still no luck.
@julianbeerehttps://github.com/julianbeere were you using panasonic web page to do that or mobile device (iOS or Android)? I'm starting to suspect that the issue might be related to the login method or some steps in between.
— Reply to this email directly, view it on GitHubhttps://github.com/sockless-coding/panasonic_cc/issues/326#issuecomment-2470656540, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A5C5O6UWWJZSS6BDM6SQI732AIEX3AVCNFSM6AAAAABQCQVKUWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZQGY2TMNJUGA. You are receiving this because you were mentioned.Message ID: @.***>
ever got this working? I've got 4 working units placed a new one today but I can't seem to get it into HA works via panasonic app..
@jeroenvdd and what error are you getting? You might have to enable the debug logging in the configuration.yaml by adding
logger:
default: info
logs:
custom_components.panasonic_cc: debug
If it's a problem in the setup process
MFA
what is MFA?