My new Panasonic Z25 Heat Pump is controlled via the CZ-TACG1 wifi controller. This is connected to the Panasonic Comfort Cloud. I found this “API” Aircontroller. Unfortunately I don’t have the right skills to “translate” it to Python. Maybe someone can help and make it a component?
Are you good in Python? I extracted the requests from the source and it’s working. You can test these commands by downloading VS Code and install extension “REST Client”.
If you are going to use the api, create a new user for this since this will log you out from the app.
you may be a little careful, I noticed that my statistics graph stopped working. I’ll try to reset the pump and do the setup once more then try this again to see if I did anything wrong.
I remember that I copied all parameters once, and retransmitted them. Perhaps that broke it.
Thanks for you help! I will have a look into that :-). The statistics is not really good anyway ;-). I would rather like to measure the real power consumption. I let you know when I figured out something.
Great, I have started something too - never done Python before but I’m good enough in other languages so I’m giving it a try. My first reaction to Python will I keep for myself
Thanks for your work! How do I use it on hass.io? I’m missing the depenency for “pcomfortcloud”. How do I install this? I get the following Error:
2018-12-28 13:05:58 ERROR (MainThread) [homeassistant.loader] Error loading custom_components.climate.panasonic_ac. Make sure all dependencies are installed
Traceback (most recent call last):
File “/usr/local/lib/python3.6/site-packages/homeassistant/loader.py”, line 92, in get_component
module = importlib.import_module(path)
File “/usr/local/lib/python3.6/importlib/init.py”, line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 994, in _gcd_import
File “”, line 971, in _find_and_load
File “”, line 955, in _find_and_load_unlocked
File “”, line 665, in _load_unlocked
File “”, line 678, in exec_module
File “”, line 219, in _call_with_frames_removed
File “/config/custom_components/climate/panasonic_ac.py”, line 38, in
import pcomfortcloud
ModuleNotFoundError: No module named ‘pcomfortcloud’
Thanks a lot! Only the thermostat card is not completely working. The mode is not shown or can be set. I also miss the nanoeX setting. Now that this works I might have a look into programing new stuff in homeassistant.
I’m missing the eco features in HomeAssistant. I would like to be able to switch to “quiet mode” or powerful with an automation.The nanoeX feature Would be nice to control from HA to. I just started to look into that but the standard climate device in HA does not seem to support that. Any ideas? Another device for the extra features?
The eco and naxoeX are indeed not supported by the climate component. The component makes use of the https://github.com/lostfields/python-panasonic-comfort-cloud library. This library doesn’t support the naxoeX functionality. It would be possible to add the eco mode as an switch, but the I have to convert the component to an platform, with a switch and a climate component. At the moment I don’t have time to change this. Hopefully in a couple of weeks.
I have tried it and it works! I am sure it can be improved and I will try to assist when there’s time. In the mean time a few questions.
When using HASS to set the temperature the login from the normal Comfort Cloud Android app is logged out and I have to log back in. Probably a Panasonic thing? Do you have the same?
When using another solution like Android App or the remote to set the temperature HASS never picks this is. Is it possible to achieve this on a regular basis, like every 5 or 15 minutes or so? Relates to point 1 of course - as you don’t want to be logged out from the app if you don’t use HASS to set the temperature.
Other than that and the previous comments about missing some features - this is totally awesome! Thanks so much!
You need to fix one login per “instance”. I have a panasonic account for my mobile and another for HA. To allow another user to use the same panasonic unit is not exactly straight forward but no problem.
For me the temperatures are updating nicely. It takes a few seconds but works good. Maybe that’s related to the logout issue?