Panasonic Comfort Cloud

Hi

I have used this for 6 months and have a strange problem when I use it in my summer cottage and when there is a short or long power failure in storms the wifi do non apear anymore to the HA jus get Unavaible when I reset Panasonic (CZ-TACG1) it appears and work perfect until next power down.

Do not understand whats wrong and feel free to send tips or trix for this.

Regardes Kaj

Hi,

@kaislahattu Tunari

I just integrated my Panasonic CS-Z25XKEW (5x) and CS-MTZ16WKE (1x) without problems.

Core 2022.6.4
Supervisor 2022.05.3
HACS 1.25.5

So, I don’t know what it could be…

@everyone

An other question: has anyone experience with the alternative WiFi Modules (cloudless) for the types of A/C above?

I will chime in with this question as well (since no matter what I do, this integration does nothing for me… and I’m beyond demoralized now to keep trying any more).

I assume that this: (ESPHome Panasonic Climate WiFi interface - espthings.io) is the one I should consider? …or are there other viable alternative replacements?

I ordered 6 (+1 ;-)) of these modules and will report how the integration in HA worked.

Regards
Herbi

Hi, I have 4 Panasonic AC and added them to HASS successfully, now I made 4 climate cards and try to turn the AC on with the card. But the airco won’t go on but the status changes on the comfort cloud app…

Does someone have a solution for me please?

image
Let check on Pana Comfort cloud app if ac is setting swing like that. Change to other swing mode then the climate card will available back

These work just great, I have two of them and never had any issues.

If you have units that use the DNSK-P11 modules, and have access to a 3D printer, you could also print the very simple case I made for them at Printables but it’s not strictly needed, as those modules also fit perfectly in the original case.

Is this broken for others as well? Suddenly I am seeing a 403 error in the log. It worked well for a couple days. Native app seems to be working fine for now.

It seems Panasonic might have updated the API again as it has stopped working since yesterday…

`
This error originated from a custom integration.

Logger: homeassistant.config_entries
Source: custom_components/panasonic_cc/init.py:79
Integration: Panasonic Comfort Cloud (documentation)
First occurred: July 13, 2022 at 10:11:43 PM (1 occurrences)
Last logged: July 13, 2022 at 10:11:43 PM

Error setting up entry for panasonic_cc
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/config_entries.py”, line 353, 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.10/concurrent/futures/thread.py”, line 58, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/local/lib/python3.10/site-packages/pcomfortcloud/session.py”, line 172, in get_devices
self.login()
File “/usr/local/lib/python3.10/site-packages/pcomfortcloud/session.py”, line 99, in login
self._create_token()
File “/usr/local/lib/python3.10/site-packages/pcomfortcloud/session.py”, line 132, in _create_token
raise ResponseError(response.status_code, response.text)
pcomfortcloud.session.ResponseError: Invalid response, status code: 403 - Data:

403 Forbidden

403 Forbidden

`

Upgrading to 2022.7 breaks it for me. I have also now noticed the 403 error also back on 2022.6.x.

I havent updated my HA for a few weeks now, but noticed the Panasonic entities have not been updated since ~7PM yesterday 13/07. So Panasonic must have changed something in the background.

Depending on the version of HA (and your own handy-ness) there is a GitHub issue describing a fix - or describing why’d have to wait for a Supervisor update with the most recent libraries: 403 forbidden · Issue #76 · sockless-coding/panasonic_cc (github.com)

Panasonic has made some changes to their API, that caused these issues.
I’ve created a temp patch that can be downloaded here: https://jimmyk.se/git/panasonic_cc.zip

Installation

Replace the content of your custom_components\panasonic_cc directory with the content of the zip

I will try to release this to hacs as soon as possible…

3 Likes

@sockless I have used your zip file and it’s working now! You are amazing!

Thanks you. It’s still working now.

Sockless commited the update to github, amongst some more pending PR’s

So HACS should report an update is available :wink:

2 Likes

Today I integrated the first out of six modules, and it works flawless, no delays any longer, and of course no need of the cloud. :smiley:
Thanks to the developers :+1:

Regards
Herbi

Just updated to the latest version and previously only one out of two of my aircon can be controlled. Then everything do not work due to the change of the API. Now with this new version, not only it is working again, but both the aircons can now be controlled! Love it. Thanks @sockless :+1:

Quick question, I am looking at getting a ducted panasonic, I was going to go with a independent control system for zones, however given this now works, anyone know if it can control zones?

No, I don’t believe this integration will do zone control. It’s taking data from the Comfort Cloud API which doesn’t seem to include any zone control. I think you’d need an integration specific to the independent zone control item.