ESPHome Panasonic Climate WiFi interface

5 1 vote
Article Rating
Subscribe
Notify of
guest
101 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Anders
Anders
Reply to  michel
December 21, 2021 11:55

I believe it will also work for CZ-TACG1. Dominik’s repo also supports it, the correct wiring to the AC connector needs to to arranged of course. Michel what’s the status on stock and new batches? πŸ™‚

Niklas
Niklas
December 20, 2021 23:04

I need this in my life!
Will you be making more of these in the future?

Doc
Doc
March 18, 2022 23:46

Hi,
is it possible to send:receive commands via MQTT?

Jo De WΓ©e
Jo De WΓ©e
May 5, 2022 15:39

Werkt deze ook voor saunier duval/bulex ? deze hebben gelijkaardige wifi interface

Stefano
Stefano
June 10, 2022 18:26

Sorry if this is a stupid question, but what if your Panasonic AC unit has both the DNSK-P11 Wifi Module installed AND the CN-CNT connector on the PCB ? I see this in the HZ35XKE and the NZ35VKE units I’m currently looking at. Heck they also have the CN-WLAN connector … I think I’d be looking for Option 5 (or possible Option 3 even if it doesn’t make so much sense :D). Is there a space BOTH for the DNSK-P11 and your ESPHome module inside of the above mentioned AC units ? Thanks :).

Stefano
Stefano
Reply to  michel
June 11, 2022 06:27

Thank you for your reply, Michel. Therefore, in this case, what option would you reccomend πŸ™‚ ?

Stefano
Stefano
Reply to  michel
June 11, 2022 09:27

Perfect, thanks. Yes, I was of course looking to buy the enclosure as well :). Hope that helps support your project πŸ˜‰

Ruud
Ruud
June 13, 2022 15:46

I have a Panasonic TZ series: https://www.logicool-ac.com/wp-content/uploads/2020/03/CS-TZ-WKEW-Service-Manual.pdf
The Wifi is built in, and it has the reference ACXA73-28520 and connected to CN-WLAN.

I do see in the PDF it has a CN-CNT port. However I have no clue if this is compatible, and if I should remove the existing wifi module?

Ruud
Ruud
Reply to  michel
June 13, 2022 16:14

Found input from a Z series, similar idea: https://github.com/DomiStyle/esphome-panasonic-ac/issues/32

So indeed seems to work both ways. I guess for a drop-in replacement/addon option 5 is the easiest, correct? Just plug it in and run ESPHome to install.

Ruud
Ruud
Reply to  Ruud
June 13, 2022 16:32

Forgot to check the readme: https://github.com/DomiStyle/esphome-panasonic-ac
So indeed, I’m confident it will work. If you can confirm that option 5 is the easiest I will follow up on email for an order πŸ™‚ Thanks!

kukacwap
kukacwap
June 13, 2022 21:25

I have 6 Panasonic Fancoil PAW-FC2A-K009IR. I removed the cover to inspect the connectors, and only found two 4 pin connectors which are referred to as CN-Module and also 5 pins without connector in the middle just referred to as CN14. any idea if this would work with it?

https://share.icloud.com/photos/0a5VxSaUdPrkd2FOtccFqczpA
https://share.icloud.com/photos/0fd28Vyq8aYYQH8Djh6TqzryQ

kukacwap
kukacwap
Reply to  kukacwap
June 13, 2022 21:33

One thing I see the module is 5V and this shows 12V on the module connector.

sniker
sniker
June 15, 2022 20:46

Hi Michel,

just recieved my modules and heve one installed but it does not generate the correct hotspot (pana-climate Hotspot in stead of esp32-airc-xx) and teh above mentioned password does not work.

did you change the default config? and if so what is the new password?

sniker
sniker
Reply to  michel
June 15, 2022 23:49

tnx that worked indeed.

now i need to deal with home assistant giving me head ache, it will only detect entities from the most recently added device… πŸ™ so they work when added but once i add a 2nd and 3rd the first ones stop working.

ow well, somethign for tomorrow to figure out.

Ruud
Ruud
June 17, 2022 16:13

It installed well for two devices. The wifi name and password mentioned in the text are incorrect, you can get them from the .yaml file as mentioned in the comment above.
Plugging in (version 5) was very very easy. I now have them running in HA.
– First add them using USB and install your variant of the software.

I now only need to figure out the swing modes, they are not in line with my panasonic module, but that is software I guess.

Stefano
Stefano
June 21, 2022 15:57

The post just to confirm the quality of the product and how it works.
Installed about 1 week ago and so far I have used 2 modules without any problems, very easy installation and setup.
Any command is received practically instantly and without any problems.

Great job!

daniele
daniele
Reply to  Stefano
July 2, 2022 15:07

It’s all true, wonderfull project. Only mode it seems not to work in my setting is ‘fun-only’. In your?

daniele
daniele
Reply to  michel
July 3, 2022 00:32

ok thanks. In my remote there’re another’s setting, like speed-fun, is it possible to add in esphome?

Vahelduvool
Vahelduvool
July 1, 2022 19:16

Hello! Is there easy conversion to wifi -> Modbus TCIP? Is the interface of panasonic regular RS232?
I am building my bms/scada system where i can use opc, modbus rtu/tcip or using convert 232 to 485.

Paul
Admin
Reply to  Vahelduvool
July 12, 2022 20:26

The interface uses serial signalling at 5V (TTL Level). The software is an esphome application. So if you can write a custom component which includes the translation from modbus to the command set of the ac unit, and get that to work in esphome, or any other environment which supports the ESP32 controller, you can do it.
We will not support that application. We will just support the hardware side….

Maarten
Maarten
July 15, 2022 18:34

Hi Michel,

Thanks again for the quick service!

As you mentioned it works like a charm..

one tiny thing. When i’m viewing the logs in esphome it throws a warning.

[W][panasonic_ac.cz_tacg1:462]: Received unknown mild dry value

Maarten
Maarten
Reply to  michel
July 15, 2022 23:19

You are right. it is the latter one.
enabled the option in the yaml and toggled it on/off in the ui.

herbi1966
herbi1966
July 19, 2022 14:50

Hi,
maybe I’m missing something here:

I have six Panasonic air conditioners with the DNSK-P11 WiFi module.

I already have the ESPthings modules and am exchanging them for the original ones.
I think I followed the instructions here exactly and assigned unique names to the individual modules in their ESPHome Config.

Unfortunately, I always see the same name for the entities in HomeAssistant:

ESPthing’s Panasonic Climate Interface

Shouldn’t they be different, as defined in the ESPHome Config?
The first device works perfectly, from the second there is of course a name conflict.
Unfortunately I can’t get any further, please give me a hint…

Many Thanks

Regards
Herbi

Two different Configs for example:

“kueche” works, “Wozi” not.

config_WoZi.JPG
Last edited 2 months ago by herbi1966
herbi1966
herbi1966
Reply to  michel
July 19, 2022 15:31

The second, working config (the first installed):
(I will learn about the usage of pastebin… πŸ˜‰

config_kueche.JPG
herbi1966
herbi1966
Reply to  michel
July 19, 2022 15:54

1st and working Config:

substitutions:
 devicename: “esp32-ac-kueche”
 long_devicename: “AC KΓΌche”

esphome:
 name: “${devicename}”
 name_add_mac_suffix: false ## use different names/hostnames for each device!
 comment: ${long_devicename}
 platform: ESP32
 board: mhetesp32minikit
 project:
   name: esphome.pana-climate
   version: “220528-1”

external_components:
 source: github://DomiStyle/esphome-panasonic-ac
 components: [panasonic_ac]

wifi:
 ssid: !secret esphome_wifi_ssid
 password: !secret esphome_wifi_password
 ap:
   ssid: “${devicename} Fallback Hotspot”
   password: qwe12345

captive_portal:

web_server:
 port: 80

logger:
 level: DEBUG

api:

ota:

uart:
 tx_pin: GPIO17
 rx_pin: GPIO16
 id: ac_uart
 baud_rate: 9600
 parity: EVEN

status_led:
 pin: GPIO12

climate:
 – platform: panasonic_ac
   type: wlan  # For CZ-TACG1 use type: cnt / For DNSK-P11 use type: wlan
   name: “${long_devicename}”
   vertical_swing_select:
     name: “${long_devicename} Vertical Swing Mode”
   horizontal_swing_select:
     name: “${long_devicename} Horizontal Swing Mode”
   nanoex_switch:
     name: “${long_devicename} NanoeX Switch”
   outside_temperature:
     name: “${long_devicename} Outside Temperature”

2nd Config, not working:

substitutions:
devicename: “ac-wozi”
long_devicename: “AC Wohnzimmer”
 
esphome:
name: “${devicename}”
name_add_mac_suffix: false ## use different names/hostnames for each device!
comment: ${long_devicename}
platform: ESP32
board: mhetesp32minikit
project:
name: esphome.pana-climate
version: “220528-1”
 
external_components:
source: github://DomiStyle/esphome-panasonic-ac
components: [panasonic_ac]
 
wifi:
ssid: !secret esphome_wifi_ssid
password: !secret esphome_wifi_password
ap:
ssid: “${devicename} Fallback Hotspot”
password: qwe12345
 
captive_portal:
 
web_server:
port: 80
 
logger:
level: DEBUG
 
api:
 
ota:
 
uart:
tx_pin: GPIO17
rx_pin: GPIO16
id: ac_uart
baud_rate: 9600
parity: EVEN
 
status_led:
pin: GPIO12
 
climate:
– platform: panasonic_ac
type: wlan # For CZ-TACG1 use type: cnt / For DNSK-P11 use type: wlan
name: “${long_devicename}”
vertical_swing_select:
name: “${long_devicename} Vertical Swing Mode”
horizontal_swing_select:
name: “${long_devicename} Horizontal Swing Mode”
nanoex_switch:
name: “${long_devicename} NanoeX Switch”
outside_temperature:
name: “${long_devicename} Outside Temperature”

herbi1966
herbi1966
Reply to  michel
July 19, 2022 17:42
Dear Michael

you brought me out of desperation with your hints.

Knowing that the configs are correct, I found my mistake in setting up  ESPHome.

I flashed the downloaded bin file again (as written above), briefly de-energized the AC. Then the "ac-kueche" in ESPHome was finally online (was never before...).
After I deleted all wrong entities in homeassistant and restarted the host, everything was perfect. :-)

That was my first project with esphome, unfortunately I'm still a complete beginner here.

Michel, I thank you for your help and your patience!

Many Thanks!
Herbi
Jez
Jez
July 22, 2022 06:18

I have a Panasonic CZ-TACG1. On the CN-CNT connector it has wires on pints 2, 3, 4, and 5. In the photo of your device (above) you have wires on pins 1, 3, 4, 5. What is the difference? Is this because the CZ-TACG1 uses a 12v power source and your device uses 5v?

Jez
Jez
Reply to  michel
July 22, 2022 07:50

I’m not sure what you mean. Are you saying that my CZ-TACG1 doesn’t have a regular CZ-TACG1 interface? I’ve attached a photo showing red (power?) next to the black instead of at the opposite end.

I suspect the aircon provides both 5v and 12v, and my CZ-TACG1 uses the 12v, but your device can use the 5v. When I finish work today, I will test the voltage on the aircon to confirm that both voltage levels are present.

chrome_2Yjys6R86e.png
Jez
Jez
Reply to  michel
July 22, 2022 09:14

Right, that makes sense. And yes, I was able to confirm that both 5v and 12v are present on my aircon, and that only the 12v line is wired on the CZ-TACG1’s cable/plug (red wire, pin 4).

So as long as I connect the ESP32 wifi interface module’s red wire to pin 1 instead of pin 4, everything else stays the same, and it’ll all work.

Thanks for setting my mind at ease!

Filip
Filip
July 22, 2022 11:00

Hi Michel,
I just received my first module, i flashed it with my firmware and it works perfectly.
Now i can control my ac with the original and with your module.I control the ac with GET and POST commands perfectly. You made my day, thank you !!. Now i have to figure out UDP.

Dane
Dane
July 23, 2022 13:35

Do you know if this is compatible with the CZ-CAPWFC1 I believe from this https://github.com/DomiStyle/esphome-panasonic-ac/issues/26 that it is a DNSK-P11 inside this module.

I would love to get a local version of this working.

Nicolas
Nicolas
August 8, 2022 11:14

Hi,

It says; Possibility to connect a DS18B20 . Can you register the room temperature with this and switch the device on/off in accordance with the temperature measured in the DS18B20 ? (So heat pump flaps closed?)

EDIT: Michel: I translated your question this time so other people will be able to read it as well. Please use English on an English website πŸ˜‰

Nicolas
Nicolas
Reply to  Nicolas
August 19, 2022 08:18

Hello,

ok i will order one. So i only have to order DS18B20 and option 4?

thx

Jez
Jez
August 15, 2022 05:25

Hi. I received my device last Friday, printed a case, uploaded new firmware, connected it to my wifi, powered off my aircon, and plugged the device in to the header for the CZ-TACG1 interface. Once power was restored to the aircon, the device appeared on my wifi, showed up in Home Assistant, and all seemed to be working perfectly.

Overall, I’m really quite pleased, so thankyou very much for your work on this. However, I have a couple of issues I’m hoping someone can advise me on.

Firstly, the current temperature (as displayed on the web interface) seems to fluctuate from about 21C to 29C and back again, around once per 10 minutes.

I note that the ESPhome yaml you provided has an entry for current_temperature_sensor commented out:

 #current_temperature_sensor: temp

with a note to uncomment if the current temperature doesn’t show up. The current temperature IS showing up, so I don’t think I should uncomment. It’s just that the temp is wrong, and not even stable. Is there something wrong with my device or my aircon that the temperature if fluctuating like that? Or a change to the code I can implement to fix this? Debugging options to help diagnose?

The second issue is that there is no entity for current temperature. On the official CZ-TACG1 device connected to Home Assistant using the Comfort Cloud integration, the current temperature shows as an entity. I’m not sure if your board is providing feature-parity with the Panasonic alternative, and there’s something wrong, or if I have to setup a sensor myself, to get its value from the current_temperature attribute.

I’d be grateful for any help you can offer.

Jez
Jez
Reply to  michel
August 16, 2022 02:10

Thanks for your answer Michel. I think the problem is fixed, so just for closure, and to help anyone else with the same symptoms:

Last night, the ESPthings module stopped responding on the network. The aircon continued to work, but I couldn’t ping the module’s static IP. This morning, rather than disassemble the aircon to reset the module, I just turned the aircon off and on at the mains switch.

Since power cycling, everything is working again. And as a bonus, the “current temperature” had settled down and is now oscillating by a 1C margin around the set temperature. So the problem I had is now fixed!

The attached image shows a graph of the temp being reported by the aircon, with the wild fluctuations before the outage, then settling to normal afterwards.

I’m still a bit concerned that the ESP module stopped responding. This could just be my wifi network (I have a lot of devices and I might be pushing the limit of my mesh wifi system).

chrome_KWOgDbFJN6.png
Roger
Roger
August 18, 2022 09:01

Just dropping a message to say that this seems to work wonderfull. Setting up 2 modules was little tricky, I had to add manual ip to the yaml files in order to get things working properly.

Alfons
Alfons
August 18, 2022 23:42

Hi Michel, I recently received my unit and once installed, works nicely. (CZ-TACG1)
I just wanted to ask about the entities available in HA for automation purposes. According to the Domi package, “The climate entity and all sensors and switches are now automatically exposed to Home Assistant” in the latest version.

If someone could give me some help about, would be appreciated. It’s my first experience with HA and all this science and still know a very little ..

Thank you very much for your work!

Alfons
Alfons
Reply to  michel
August 19, 2022 13:23

All right….I’ve been searching but the fact is that I cannot find any entities published for the device. Probably I must be doing something wrong…. Thanks in advance

esphome.png
Brian Quaade
Brian Quaade
August 28, 2022 21:07

Hi
On My heating pump I Can set 3 temperatures hot water, floor heating and general heating.
Is this supported?

5CDF7F50-A04F-483F-9434-67562FC44B54.png
Alexander
Alexander
September 7, 2022 11:05

Hello Michel,
I’m trying to update the interface via OTA but it’s failed. The error message is: Update failed. Wrong magic byte.

Any idea what I’m doing wrong.

I build the fw with homeassistant and your config from above. Just changed the name and long device_name

Thx
Alexander

Alexander
Alexander
Reply to  michel
September 7, 2022 13:51

Still the same failure

Alexander
Alexander
Reply to  michel
September 13, 2022 21:17

Ok, I was able to flash with ESPHome CLI. It works well. Great job!
Is there a posibility to deactivate the led?

Hans
Hans
September 9, 2022 22:16

Hallo Michel, Ik heb de eerste module in werking. Mooi product!
Ik heb een aangepaste Esphome firmware erop gezet met mqtt ingeschakeld en de api uitgeschakeld. Ik krijg nu keurig de waarden van de AC unit in mqtt.
Wat ik alleen niet door hem / kan vinden is hoe commando’s naar de ac unit te sturen. Moet ik daarvoor zelf on_message topics configureren? Zo ja, zou je daarvan een voorbeeldje kunnen geven van instellen fansnelheid of zoiets? Of mij anders in de goede richting wijzen?
Alvast mijn dank.

Nicolas
Nicolas
September 16, 2022 11:22

Hello,

i’ve received the module well. Was possible to connect to the ESPthngs Panasonic interface. After that, i was possible to choose my home network, fill in my password. But now he’s blinking green for a while. Can’t find him in Home Assistant app.
Can i do a factory reset?

thx

Nicolas
Nicolas
Reply to  michel
September 16, 2022 15:14

If we look in the browser, no esphome webinterface. I guess we used a wrong password.

Kaj
Kaj
September 23, 2022 09:51

Hi where to order this panasonic esp32 module for replace the CZ-TACG1 I use.

Edvin Bakker
Edvin Bakker
September 23, 2022 19:41

Hi, this is just great stuff!
Have it up and running now and managed to make the indoor tempate sensor πŸ™‚
2 questions:
-I cant see the NanoeX entity, is this setup as standard, or do i need to edit ESPconfig?
-How do i make the config file with ESPhome? Do i need some sort of editor?

Best regards Ed

Michael
Michael
September 24, 2022 14:11

Hi there,
I am trying to compile the source code in ESPHome version 2022.3.1, which is installed in Home Assistant ver. 2022.9.6, Supervisor 2022.09.1 and Frontend 20220907.2 – latest.
I got board pcb_version: “220722-1”.
I used this source code. As a result, the compilation failed.

I wonder If I simply overlooked or ignored something. Thank you.
Michael

Michael
Michael
Reply to  michel
September 24, 2022 14:29

In secrets I have defined (it also normally complaining when there is no coresponding record) these records:
wifi_ssid:
wifi_password:
esphome_api_password:
esphome_ota_password:

I used option: Install/Manual Download/Modern Format

Michael
Michael
Reply to  michel
September 26, 2022 12:03

Hi Michel,
thank you for your reply and test. For others who might be in a similar situation, I uninstall ESPHome addon from my Home Assistant, install it again and I was able to compile code without any further changes. OTA uploaded firmware successfully.
There is one thing I am not sure why is happening, see the log. I could see quite a bit of [W] Warnings :

[19:39:53][W][panasonic_ac.cz_tacg1:259]: Dropping invalid packet (length)
[19:39:58][W][panasonic_ac.cz_tacg1:259]: Dropping invalid packet (length)
[19:40:03][W][panasonic_ac.cz_tacg1:259]: Dropping invalid packet (length)
[19:40:08][W][panasonic_ac.cz_tacg1:259]: Dropping invalid packet (length)
[19:40:13][W][panasonic_ac.cz_tacg1:259]: Dropping invalid packet (length)
[19:40:18][W][panasonic_ac.cz_tacg1:259]: Dropping invalid packet (length)

Should I be concerned? Thank you.

James
James
September 27, 2022 07:13

Hi Michel, just wanted to say a huge thank you for this project – I’ve had my CZ-TACG1 replacements for a few weeks now and after some fiddling around (my first time using ESPHome) they’ve been working flawlessly!

Translate Β»
101
0
Would love your thoughts, please comment.x
()
x