-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
Setting up UART using the arduino framework causing panic #1
Comments
Do you use an ESP32 or ESP8266? Could you remove most of the sensors for testing? Just a few should remain. |
I've pushed a fix. Please update/download the config yaml and try again: I've changed the framework to |
If the component does a good job for you please report your BMS model name. I would like to extend the list of supported models. One important info: While developing the component using an ESP8266 I noticed the BMS doesn't respond if the request was send via hardware serial. I've changed the GPIOs to use software serial. In this case the BMS did understand/received my requests and did provide a response. Using |
I'll post as soon as I test it Thank You for the fast reply! I'm running an ESP32 |
Could you provide some raw values (can be extracted from the logs if you increase the log level). I assume the (signed?) values aren't interpreted/castet properly. My JBD haven't seen any incoming/outgoing current yet. So it's very likely something is wrong here. |
Could you test this feature branch (fix-current-sensor) by updating your config yaml slightly:
The solution (https://github.com/syssi/esphome-jbd-bms/pull/2/files) is just a guess. If you provide some logs (including raw frames) it's easier for me to verify the solution locally. |
Awesome I'll update and go from there when I get home thank you! |
its still doing it but here's some of the logs I'll have to get more to actually show it I'm sure. |
Your log didn't help because it contains |
A log containing some load (discharging vs. charging) would be nice too. I'm unsure the JBD BMS is able to distinguish between "incoming" and "outgoing" current. |
I've attached some load to my JBD BMS and was able to fix the current & power sensor. |
I don't know if I'm doing something wrong but my setup wouldn't start with the original UART pins so I added the Debug setup and i get this in the logs. I'm not that great at reading this any help would be greatly appreciated!
The text was updated successfully, but these errors were encountered: