DomiStyle / esphome-panasonic-ac

Open source alternative for Panasonic air condition wifi adapters that works locally without the Comfort Cloud
MIT License
226 stars 58 forks source link

Retrofit failed #69

Open ttsmarco opened 2 years ago

ttsmarco commented 2 years ago

I originally used the panasonic wifi module to work with the app But the status update is very slowly I recently discovered this project, let me looking forward to implementing localized access into HA

I disassemble my module use ESP32 instead of DNSK-P11 module (only) according to the instructions ESPHome log shows a failure message shortly after handshake It seems AC has not provided any feedback am I doing something wrong?

provide the information I found and my photo, there have IRQ TX and RX on my module but i didn't use it Is it relevant?

Any ideas might be helpful for me Thanks

Image 1 308252 308256

DomiStyle commented 2 years ago

What's the name of your wifi unit that Panasonic uses? It looks similar (but not the same) to a CZ-CAPWFC1 which is not supported (yet).

More info here: https://github.com/DomiStyle/esphome-panasonic-ac/issues/63

Please post verbose logs so we can see what's going on.

ttsmarco commented 2 years ago

Image 2

I am very rusty to ESPHOME logs taken from ESPHOME log after upload ?

Referring to other people's logs, my impression is probably [D][????]: Starting handshake [1/16] [D][????]: Start receiving ? messages [D][????]: Start receiving ? messages .. seems to be repeated 16 times? Then there is a red letter error

more information need wait for the holiday to try again

DomiStyle commented 2 years ago

Yes, you have to enable verbose logging in your config:

logger:
  level: VERBOSE

Also, something seems wrong with your encoding since there'S so many ? in there.

ttsmarco commented 2 years ago

Yes, you have to enable verbose logging in your config:

logger:
  level: VERBOSE

thx your info

Reconnected ESP32 and change the log level to VERBOSE logs_ac_upload_1.txt

Seeing only TX, I realized maybe there is something wrong with the Logic converter board after change a different board, I finally got the RX message But still show failed logs_ac_upload_2.txt

DomiStyle commented 2 years ago

The received data seems to be corrupted.

Can you try connecting RX and TX directly to the ESP to check if the constant 00 disappear?

ttsmarco commented 2 years ago

The received data seems to be corrupted.

Can you try connecting RX and TX directly to the ESP to check if the constant 00 disappear?

Can't get RX message after connect RX and TX directly to the ESP even I replaced a new ESP32

logs_ac_upload_3.txt

my setting is ac.yaml.txt

DomiStyle commented 2 years ago

Can you check if you reversed RX and TX and they are connected to the correct pins?

ttsmarco commented 2 years ago

Can you check if you reversed RX and TX and they are connected to the correct pins?

yes every time show mark failed ,i will try connect rx to pin17 ,tx to pin16
even different ESP32 prevent me have fat finger

and prevents connector damage or wiring problems I tried to restore the original DNSK-P11 (but left the dupont Line for future test) it works fine... :(