reneklootwijk / node-mideahvac

MIT License
79 stars 7 forks source link

Should it works with Qlima SC5248 ? #5

Closed AirBeeSee closed 4 years ago

AirBeeSee commented 4 years ago

May be , it s me or it s not compatible. I'm not an expert with ESP module but I think I ve done the correct setup.

I bought : https://www.amazon.fr/gp/product/B07Y8JZNCQ/ref=ppx_yo_dt_b_asin_title_o01_s00?ie=UTF8&psc=1 i've flash with esp-link V2.2.3 ( and 3.0.14 to test) I can connect to the esp-link web page and configure wifi and other params (perhaps it s something there)

but , after that , I think i 'skip' something. if I run the serialbridge sample (and yes I put my ip and port ;) ) and go step by step in visual studio code the connect step is ok , but the following operation catch error "No response receive".

Capture d’écran 2020-09-16 à 21 51 37

If I look at the "Microcontroller Console" on the esp web interface, nothing appears. and in the debug console , I get "286732> Accept port 23, conn=0x3fff7580, pool slot 0"

Capture d’écran 2020-09-16 à 21 50 13 Capture d’écran 2020-09-16 à 21 50 27 Capture d’écran 2020-09-16 à 21 50 52
reneklootwijk commented 4 years ago

Are you sure the TX and RX pins are not switched?

AirBeeSee commented 4 years ago

I ve try the option « swap » uart pins in the pin assignment screen. May be the usb connector is not soldered how it should to work with ac ? But , I think if it was not correct , the esp should not boot and works when I plug in ac usb slot

reneklootwijk commented 4 years ago

I do not understand what you are trying to say.

AirBeeSee commented 4 years ago

E52CF7B0-0E0D-41DD-B587-87474AF2FCCE

reneklootwijk commented 4 years ago

This will not work swapping means using complete different pins but the levelshifter adapter is connect to specific pins. What I meant is did you try to switch the rx and tx pins, so where you connected rx now connect tx and vice versa.

AirBeeSee commented 4 years ago

I use a usb to esp bought on Amazon 706DDF56-05E8-4D86-B2AA-573890E6AC67

And , if I monitor usb on my computer, i can send and receive in esp-link console.

I bough this module because I'm not very good at doing electronics

reneklootwijk commented 4 years ago

That does not work. Although your AC unit has an usb connector it is not a usb interface, it is just a serial ttl interface.

AirBeeSee commented 4 years ago

That's what I deduced from your previous comments, I ordered the model you show on GitHub. Thx

AirBeeSee commented 4 years ago

All works perfectly now. with the correct shifter and usb pin assignment. Thx again ;) Now I should look at the code.