paveldn / haier-esphome

Haier ac integration for ESPHome
88 stars 14 forks source link

Choosing the right connector and selection of ESP board #41

Closed Kfrard closed 5 months ago

Kfrard commented 6 months ago

Hi, I would like to connect ESP32-for-Haier using JST connector, I found this model: https://www.aliexpress.com/item/1005006027334406.html Which option will be suitable? obraz

paveldn commented 6 months ago

Hi. connector is JST SM04B-GHS-TB (LF)(SN) So I think it should be JST 1.25 4P

Kfrard commented 6 months ago

Thanks, and which type should I choose (will be the best)? I don't quite understand the description of the project, is it enough to solder these cables to Wemos S2 mini? obraz

paveldn commented 6 months ago

@Kfrard You need to connect your ESP to AC. There are 3 potential ways:

  1. Make a board with JST SM04B connector and use the original cable to connect it to the AC. You can't directly solder the JST connector to the Wemos board. You will need to make your own custom board for this.
  2. You can find a cable that can connect to the AC board, for example, this one https://www.aliexpress.com/item/1005003374938897.html (4P version) Solder it to your ESP and use without additional cable.
  3. Same as 2 but instead of finding cable you just cuir original cable and use its bottom part I would say option 1 is to much trouble. I would suggest you use option 2.
Kfrard commented 6 months ago

Thank you very much for your explanation. I have such an ESP https://pl.aliexpress.com/item/1005006157693055.html, will it be suitable? Will the air conditioner power ESP?

paveldn commented 6 months ago

Never tried this one. Should be OK. The only thing I am not 100% sure is overheating. Some ESP32 models especially compact boards are heating a lot and inside the AC compartment there is no ventilation so they can give you problems. I am using this one https://shop.m5stack.com/products/m5stamp-c3-mate-with-pin-headers on 2 of my ACs. Never had problems with them. It is more expensive but quite solid and powerful. I was able to run the BT proxy and Hair AC climate on those boards without any problems.

paveldn commented 5 months ago

I suppose issue can be closed

Kfrard commented 2 months ago

Thank you, I am not related to the person who creates these boards :), but I can recommend the already prepared boards https://github.com/ficueu/ESPHome-IoT-modules/tree/main/ESP-ACW, I plan to install them at home.