Skip to content
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

Only get "online", no data #3

Open
yushu8463 opened this issue May 3, 2023 · 2 comments
Open

Only get "online", no data #3

yushu8463 opened this issue May 3, 2023 · 2 comments

Comments

@yushu8463
Copy link

I don't know what I am doing wrong. I flashed the ESP32 twice already. Connected RS323-TTL adapter, connected Pace BMS via RS323. However, I only ever get "Online" on PylonToMQTT/LVTOPSUN/tele/LWT (LVTOPSUN is the name of my battery that has a Pace BMS in it sending Pylon formatted data). The Pace BMS is the same as in the Jakiper batteries. Do not get any other data. Even using MQTT Explorer to listen. Using Mosquitto broker in Home Assistant.

What data should I receive with battery disconnected?

@graham22
Copy link
Member

graham22 commented May 3, 2023

I used the tool from Orient Power to help develop the code, (https://www.opsolarbattery.com/download-center). If you can get the battery data using this code from a PC then it should work with my code. You should also make sure you're using the correct baud rate (the default is 9600)

@ellingo
Copy link

ellingo commented May 11, 2023

RS232 isn't always easy.
I decided to use the RJ11 to DB9 cable I purchased from Orient Power together with a USB to RS232 converter. They fit together.
I purchased a RS232 hardware driver, but not the same as shown in the Wiki here.
The first problem was that I now had two female DB9 connectors. I connected them with a male-male gender changer. Then I noticed the RX LED on the RS232 driver was flashing once in a while and not the TX LED. I assumed that was wrong and that it should have been the TX LED (ESP32 sending command). I swapped the RX and TX wires on the ESP32. It was still not working so I replaced the DB9 gender changer with a null modem. That was a success.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants