-
-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Easun SMW 11KW #72
Comments
This prefix ( |
Do you know anything about the supported protocols of your inverter? |
Why is a gender changer required if you use the original cable? Could you provide photos of the complete setup (Inverter<->RS232 converter<->ESP). |
In fact I use this board for this reason. I have checked before to use. I have documented. |
Swapping the GPIOs at the YAML won't work because the GPIOs are attached to the MAX3232 which has dedicated input and output pins. Do you remember the 0-modem cable from the 90s? ;-) This adapter did cross the RX/TX lines of a serial cable. Connecting two PCs using a RS232 cable + a gender changer won't work too. |
In fact initially I was looking to use a old serial cable but some days ago I wasted all old cable :-( |
Please measure the lines first but I guess this would solve the issue. |
Could you try the PIP protocol as next step? F.e. using this YAML: https://github.com/syssi/esphome-pipsolar/blob/main/tests/esp8266-test-protocols.yaml Do you have another ESP + RS232 converter so we could verify the setup is working in general? |
Did you try to swap the GPIOs another time? |
Could you bridge the TX to the RX pin of the DSUB connector and test using this loopback? Do you see the outgoing traffic as incoming traffic? |
Yes, I have tried. |
There is still no incoming traffic. Something is wrong with your setup. Did you try to swap the GPIOs assigned to the UART another time? |
Feel free to ask more questions if something isn't clear yet. |
I try to swap this morning without any good result. |
I try to make some findings explicit to provide some guidance. Your ESP32+RS232 board doesn't work as expected at the moment. If you bridge TX and RX we should receive an echo (
|
Okay. This makes more sense. In other words: If we bridge As next step we have to make sure your MAX3232 is properly powered. Could you measure the voltage between pin 15 and 16? And could you measure the voltage between the RS232 TXD/RXD pins and GND (p13<->GND, p14<->GND)? |
This garbage happens most of the time if GND isn't connected properly. |
Ok now I check better |
This looks like garbage only. Please share plaintext logs instead of screenshots! What are you doing exactly at the moment? |
Hi, I want to tell you that I'm talking with kincony to test the rs232 port. Probably is my board with a problem |
hi,
i'm using a k868 a6 board that have the rs232 port, i have connected to the inverter with his original cable.
the firmware that i'm using is esphome with this configuration:
and my output is this:
but on home assistant i don't read anithyng.
The text was updated successfully, but these errors were encountered: