visualapproach / WiFi-remote-for-Bestway-Lay-Z-SPA

Hack - ESP8266 as WiFi remote control for Bestway Lay-Z spa Helsinki
GNU General Public License v3.0
302 stars 74 forks source link

6-Wire Palm Springs #54129 Melody but no Control via GUI #325

Closed air101 closed 2 years ago

air101 commented 2 years ago

Dear Supports,

what a nice project! I've built it for a 6-Wire Palm Springs #54129. After connecting it, I can hear the Melody and see the Date in the Display. I can connect to the Wifi but cant control anything. The temperature isn't shown either in GUI.

With the Display it is just showing 2 Red dots on the unit and cant press anything.

I've tried PRE2021 in model.h. Should I try something different?

Thank you and Best Regards

visualapproach commented 2 years ago

Hi there, your connection to the CIO (pump) is not working. Check connections

air101 commented 2 years ago

checked with multimeter, seems ok. Maybe the cables are too long?

xGDNAx commented 2 years ago

https://github.com/visualapproach/WiFi-remote-for-Bestway-Lay-Z-SPA/issues/324#issue-1297911919 look

air101 commented 2 years ago

#324 (comment) look

Thank you for your link. Although I'm not sure what do to. I soldered pin headers to H1A and H2A. Where would I solder the resistor to?

xGDNAx commented 2 years ago

Hey do you have a picture of your circuit board? I had soldered the resistors but that wouldn't have been necessary.

I chose MIAMI2021 as the model, which pump number do you have?

maybe you have the same problem as me

air101 commented 2 years ago

Not sure which pump number I have. Where can I find that out? I tried MIAMI2021 and PRE2021. Same outcome, Display shows IP and Date with both and the audio. IMG_2893 IMG_2895

xGDNAx commented 2 years ago

check the cable the pin assignment seems strange to me according to the picture.

The number can be found on a sticker on the side.

air101 commented 2 years ago

Colours dont match, as I didnt have the appropriate ones but should be ok.

air101 commented 2 years ago

Picture of the sticker IMG_2901

xGDNAx commented 2 years ago

You habe the egg?

air101 commented 2 years ago

Yes. installed short wires, still no go. IMG_2902

air101 commented 2 years ago

One more Q: Do I leave the bwc.begin(); //no params = default pins or should I set it to bwc.begin(D1, D2, D3, D4, D5, D6, D7); ?

visualapproach commented 2 years ago

No params

air101 commented 2 years ago

Unfortunately it still doesnt work.

xGDNAx commented 2 years ago

maybe the shifter is defective or the wrong one.

air101 commented 2 years ago

I tried 2 of those https://www.amazon.de/gp/product/B07HB2S2VC

xGDNAx commented 2 years ago

DollaTek 5Pcs 8 Kanal I2C IIC Logic Level Modul Konverter Bidirektionale für Arduino https://amzn.eu/d/10kN9SH This work for me

air101 commented 2 years ago

ok thanks, I'll check those out and try again

RatAttack83 commented 2 years ago

Hello, same i have the same problems with my Miami 2022(1) 6 wire square. I've tried everything... Resistors in dsp connector, 10k connector, extra short wires, with 8ch level converter and also without level converter... Startup sound comes and IP is shown but than nothing else. No controls via webgui and the buttons doesn't work, too... I've no ideas to go on. I routed the board myself and atched it. (Ports are correct) I will trie to monitor the esp today, but i dont have much time because of my work and a newborn at home... Sorry for my bad English, I'm German without much Training last years 😂 Thanks alot and forgot to say...its a very cool project!

visualapproach commented 2 years ago

330

air101 commented 2 years ago

DollaTek 5Pcs 8 Kanal I2C IIC Logic Level Modul Konverter Bidirektionale für Arduino https://amzn.eu/d/10kN9SH This work for me

Ok it arrived today, still no go. Sound + IP but nothing more. I'm going to remove the pump mainboard and examine it at my desk, unless anyone else has any ideas?

RatAttack83 commented 2 years ago

Mine works fine at the moment. I've connected the esp directly with 560ohm resistors at the display ports. Without any level converter. But still no function. Now i connected the usb cable to monitor the esp. than it works fine. 🤷‍♂️ After disconnecting usb it goes on... So i leaved it for the moment... 🤷‍♂️ Perhaps you can give it a try ☺️

air101 commented 2 years ago

Tried it today with a USB Powerbank. Still no go.

menime8 commented 2 years ago

I tried it with powerbank, won't work. I hook up my PC, not the best Idea, the ESP goes down. Shoots the program away. I think the 2 5 Volt levels and no galvanic isolation. I need to try it with my laptop.

Many germans here 🤣 ich auch

RatAttack83 commented 2 years ago

Wahrscheinlich alle deutsche bis auf den Projektschöpfer nur denken alle sie müssen versuchen Englisch zu schreiben 😂

Very interesting idea with the missing galvanic isolation! My spa works fine since the last try, but don't want to plug it out.... 😂 But i have to construct a case and solder the three resistors 🙄 Now it is working via MQTT in nodered in my smarthome 👌 21C7D2DD-8EC4-4A4A-9B15-DBAFEB131551

menime8 commented 2 years ago

So please, try a restart and let us know what happens. If it doesn't start up again, maybe there are problems with to low voltage from the CIO.

air101 commented 2 years ago

Success! I tried this NodeMCU: https://www.amazon.de/gp/product/B07PGH1L8S/ref=ppx_yo_dt_b_asin_title_o02_s00 The Voltage from CIO wouldnt turn the NodeMCU on. So I hooked up my powerbank and suddenly everything works.

How can I stabilize the 5V coming from CIO?

See attached picture how it's working at the moment. IMG_2915

Ignore the 2 Cables on the left side...

xGDNAx commented 2 years ago

10k an R1

SigmaPic commented 2 years ago

10k an R1

I don't understand how the 10k can stabilize the voltage. Please, can you explain ?

@air101 Can you measure the voltage you have on Vin with a multimeter without the USB powerbank ? You can also measure the original voltage without your PCB in the middle (directly on the connector of the CIO).

By this way, we will see if the 5V drops too low.

xGDNAx commented 2 years ago

10k ein R1

I don't understand how the 10k can stabilize the voltage. Please, can you explain ?

aren't they for that? or what is R1 for

RatAttack83 commented 2 years ago

R1 is at the 3V output and the voltage level shifter. So this won't change anything... I will try next days an measure the voltage... Perhaps a small elko could help at Vin if the voltage breaks down.

SigmaPic commented 2 years ago

From my understanding R1 is here to maintain the OE (output enable) to 0 during startup phase. But it's only usefull for TXS0108E, not for mosfet shifter.

Measuring the voltgae without the powerbank may help to understabd what happens.

@air101 If you remove the powerbank, does it continue to work or it stops working ?

air101 commented 2 years ago

Ok, big surprise: I made/created some JST-SM connectors to tryout and it seems that the one with the short wires (which i created as last tryout) sometimes didn't have proper connection within the 5V line from CIO. But nevertheless the NodeMCU was the main problem, I just switched them again to be sure and NodeMCU V3 from AzDelivery is not working. The one I ordered above is working properly with the power from the CIO. So thank you everyone for the debugging!

@visualapproach enjoy the coffee :)

menime8 commented 2 years ago

Ok, big surprise: I made/created some JST-SM connectors to tryout and it seems that the one with the short wires (which i created as last tryout) sometimes didn't have proper connection within the 5V line from CIO. But nevertheless the NodeMCU was the main problem, I just switched them again to be sure and NodeMCU V3 from AzDelivery is not working. The one I ordered above is working properly with the power from the CIO. So thank you everyone for the debugging!

Sounds i'm in the right way to Switch my node, too.

SigmaPic commented 2 years ago

Sounds i'm in the right way to Switch my node, too.

@menime8 air101 use the smae node that yours. Isn't it ?

visualapproach commented 2 years ago

Ok, big surprise: I made/created some JST-SM connectors to tryout and it seems that the one with the short wires (which i created as last tryout) sometimes didn't have proper connection within the 5V line from CIO. But nevertheless the NodeMCU was the main problem, I just switched them again to be sure and NodeMCU V3 from AzDelivery is not working. The one I ordered above is working properly with the power from the CIO. So thank you everyone for the debugging!

@visualapproach enjoy the coffee :)

Oh thank you very much! It takes time to read all your suggestions and problems, and try to fix them, so a coffee is perfect! Really strange that some NodeMCU's don't work. Wonder if its not working on this particular project or if it's a bad unit batch? Glad you found out though. Have a nice swim now ;-)

menime8 commented 2 years ago

Sounds i'm in the right way to Switch my node, too.

@menime8 air101 use the smae node that yours. Isn't it ?

Yes, He uses the V3.2 first time. Can see the resistors on D3 and D4?

@air101 where did you buy your new board? Have you a picture? I'm from germany, too. Thanks

air101 commented 2 years ago

Sounds i'm in the right way to Switch my node, too.

@menime8 air101 use the smae node that yours. Isn't it ?

Yes, He uses the V3.2 first time. Can see the resistors on D3 and D4?

@air101 where did you buy your new board? Have you a picture? I'm from germany, too. Thanks

I bought it here: https://www.amazon.de/gp/product/B07PGH1L8S/ref=ppx_yo_dt_b_asin_title_o02_s00

xGDNAx commented 2 years ago

AZDelivery NodeMCU Lolin V3... https://www.amazon.de/dp/B06Y1ZPNMS?ref=ppx_pop_mob_ap_share Its work for me