Failed to set up
Hi, Today when HA was restarted the CC integration is failed to set up and got the following errors in the logs. Official CC app is working fine so it is not a server side issue.
Logger: homeassistant.config_entries Source: config_entries.py:594 First occurred: 08:40:44 (1 occurrences) Last logged: 08:40:44
Error setting up entry for panasonic_cc Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 594, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/panasonic_cc/init.py", line 79, in async_setup_entry devices = await hass.async_add_executor_job(api.get_devices) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/panasonic_cc/pcomfortcloud/session.py", line 207, in get_devices self.login() File "/config/custom_components/panasonic_cc/pcomfortcloud/session.py", line 106, in login self._create_token() File "/config/custom_components/panasonic_cc/pcomfortcloud/session.py", line 164, in _create_token raise ResponseError(response.status_code, response.text) custom_components.panasonic_cc.pcomfortcloud.session.ResponseError: Invalid response, status code: 403 - Data:
403 ERROR
The request could not be satisfied.
Request blocked. We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner.
If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation.
Generated by cloudfront (CloudFront) Request ID: y9Mkam-BqFutcfjCOtKEJ83QR5KGFIVKMy8C70ws3UkioVCwSz9zLQ==
Same error. Try to login again in the app but error remain. Before this error even app was down due to system mantenaince. The app now work, not perfectly (command isn't always effective), but without noticable errors
Invocazione del servizio climate/set_hvac_mode non riuscita. Invalid response, status code: 403 - Data: <HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <TITLE>ERROR: The request could not be satisfied</TITLE> </HEAD><BODY> <H1>403 ERROR</H1> <H2>The request could not be satisfied.</H2> <HR noshade size="1px"> Request blocked. We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner. <BR clear="all"> If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation. <BR clear="all"> <HR noshade size="1px"> <PRE> Generated by cloudfront (CloudFront) Request ID: iHjwntO4nGaR5rullX-Mn7h20kXDPrE-piggNuYZD40z_GP6M5rOWA== </PRE> <ADDRESS> </ADDRESS> </BODY></HTML>
Same here
Thank you for confirming. I have the same issue. This morning suddenly no connection. It was setup just fine but it simply stopped working.
Just a consideration: app it's not been updated today but it still works, so the change could not be so important ...
Having same issue
I've got the same problem.
I came straight to the issues section! Yep, same.
Same. It looks like there was an update rolled out on their side today. The Comfort Cloud system was unavailable most of the day via the app, advising 'down for maintenance'. When it recently came back up it rolled out an update to Panasonic Comfort Cloud app on my phone which seemed to require 2FA to be set up. I'm very keen to know whether this can be factored into the integration somehow to restore access to Comfort Cloud via HA. Huge thanks to the talented individuals who develop and maintain these integrations by the way...
I have the same problem
Same here. I just logged into the Panasonic Comfort Cloud app and it asked me to set up a Two factor authentication with my cell phone, so I guess they changed their security model...
Indeed, same problem. Looks like a new server-side change on the side of panasonic which introduced incompatible forms of authentication.
Since this repo is barely maintained, I doubt we're getting an update soon. :(
2FA is already present time ago. And in Android app isn't update since December. I already try ti login in the app using 2FA but is not enaugh
android app still works for me (no 2FA enforcement so far) but the HA integration is blocked.
@craibo since you're the maintainer of the most active fork, just bringing you into this discussion here.
Side note I really do believe we need to think about the future here on what to do with this integration. My suggestion is we rally around a new fork until something happens here and we can merge everything back in.
A bunch of us depend on this, and the fact that this integration isn't maintained as much anymore (which is fine) .
The app authentication uses a completely different url than what's used in this code so might be some major changes there:
https://authglb.digital.panasonic.com/login?state=hK..2A&client=Xmy6..MJx&protocol=oauth2&scope=openid%20offline_access%20comfortcloud.control%20a2w.control&audience=https%3A%2F%2Fdigital.panasonic.com%2FXmy..MJx%2Fapi%2Fv1%2F&response_type=code&code_challenge=BMI..Zk&code_challenge_method=S256&auth0Client=ey..In0%3D&redirect_uri=panasonic-iot-cfc%3A%2F%2Fauthglb.digital.panasonic.com%2Fandroid%2Fcom.panasonic.ACCsmart%2Fcallback&nonce=...
Trying to readd the integration (which works sometimes for other integrations) just results in this error.
Was thinking it was update to 2024.6.3 of HA, but it was actually working for me this morning after the update.
Had 2FA for a while only when accessing the Panasonic account maintenance page directly from app on Android. But not required to sign into the app as far as I recall. No update to app for me since December 2023.
Same issue here since this morning.
Same here, since few hours.
Ditto - which sux, as i only just installed 2 x Panasonic wifi dongles for my 2 x aircons... lol
Same issue here since yesterday evening, when i've tried to log back to IOS apps they ask now for a 2FA authentication. maybe linked ?
same issue on existing HA setup
Hey @danielcherubini Thanks for the heads up, I hadn't used this integration recently but testing now and it has also stopped working. Looks like they have changed the authentication process completely. I'm more then happy to update and fix my fork of this project as I am actively using it but it may take a little time for me to figure out what needs to change. I'm hoping the community from the project that maintains the integration library can figure it out for us and I'll apply the fix to my branch.
So after I setup 2FA on comfort cloud, Ilogged into comfort cloud on another phone with another appleID and I was not requested to put a 2FA code in. Looks like it was a one off code? So that’s a good sign that it’s just something changed in the flow
Same issue
So after I setup 2FA on comfort cloud, Ilogged into comfort cloud on another phone with another appleID and I was not requested to put a 2FA code in. Looks like it was a one off code? So that’s a good sign that it’s just something changed in the flow
2FA seems to be requested only 1 time per device, but I think that we have to authenticate HA device to make integration working
Just an idea, for who know integration batteria than me: It is possibile to write a service that "substitute " Panasonic service and link them to the unit? Traffic could be redirect to that service trough router and we became free fronte panasonic chenges ... I'm an informatic engineer, I can help to realizzati or test it ...
Just an idea, for who know integration batteria than me: It is possibile to write a service that "substitute " Panasonic service and link them to the unit? Traffic could be redirect to that service trough router and we became free fronte panasonic chenges ... I'm an informatic engineer, I can help to realizzati or test it ...
This can be done with a ESP32 and some custom firmware instead of the current wifi-dongle.
If it can be done purely through software, that would be great.
Maybe someone can convince Panasonic to allow us to "alter" the domain it sends requests to.
After several attempts to register, I keep receiving this message on Panasonic Comfort Cloud: "Unexpected error creating device."
I recently switched Home Assistant from a Docker installation to a standard installation, and now it won't work. lucky me :)
Yesterday I installed this integration for the first time. Everything was working fine until this morning. I hope this can be fixed quickly.
Just an idea, for who know integration batteria than me: It is possibile to write a service that "substitute " Panasonic service and link them to the unit? Traffic could be redirect to that service trough router and we became free fronte panasonic chenges ... I'm an informatic engineer, I can help to realizzati or test it ...
This can be done with a ESP32 and some custom firmware instead of the current wifi-dongle.
If it can be done purely through software, that would be great.
Maybe someone can convince Panasonic to allow us to "alter" the domain it sends requests to.
I have a model with wifi integrated, I can't change dongle. Change domain is not necessary if you are able to redirect request to the domain from external address to internal one, with service installed. The most complicated thing is make the link from external to airconditioner working if traffic is ciphrated and we don't have the key