-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
new code does not seem to work #23
Comments
I've changed the GPIOs of the configuration example to software serial so GPIO1/GPIO3 can be used for debugging / logging. I've to investigate why I did change the baudrate. Please change it back to 19200 and try again. |
Hmmm. The OP at #2 is able to talk to the BMS using 9600 bauds. |
Did you disable the logger output on GPIO1/GPIO3 by |
Let's go a few steps back in time and please try this test configuration again:
Do you see any responses? |
Yes, I do see responce
This code is not much diferent from what I've been suign so far:
It has worked fine for me. I'm just wondering what is different in new code. |
I will provide some more instructions later the day to move to the new version. I'm pretty sure we are able to identify to root cause / difference between the solutions. |
Could you use this config example as next step:
This example contains three changes:
|
Thanks for update and sorry for delay.
|
You can change the polling interval by:
The JSON encoder/decoder memory issue is strange. This custom component doesn't use JSON. |
After some further testing I can see that the temperature is not decoded properly as it always showing 30 degrees on all 6 sensors and that is not the case. |
The memory allocation errors are gone since update interval was added. I have 10s atht emoment and I has been handling it well. |
I've merged some better default into the |
Thanks for your feedback! Feel free to create additional issues if you miss something! |
Regarding
Could you make sure to use the most recent version of ESPHome? It looks like you did hit this issue: |
I have not checked this for a while as my previous code was working as per #1.
Now I tried a new one https://github.com/syssi/esphome-seplos-bms/blob/main/esp8266-example.yaml but it does not work. My hardware has not changed so it is fine. Here are the things that do not look right to me:
If I use the settings provided I get:
If I set GPIOs and baud rate the way it was I get
Any ideas?
The text was updated successfully, but these errors were encountered: