-
-
Notifications
You must be signed in to change notification settings - Fork 175
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
Flaky UART-TTL communication after a while #652
Comments
Let's talk about your specific issue here. Could you describe your setup briefly? Is my understand correct: You have two independent battery setups. One is working without issue. The second on another ESP is flaky? I've pushed an improvements a few days ago. Could you update your (flaky) setup and give it a try? |
Thank you @syssi for Updating/Recreating my Posting. Yes, i have two independent battery setups (in Paralell with Fuses) to deliver Power to my Inverter securely.. I just update both ESP8266 with your new Improvements and i will see. Thank you. Your ESP Software is absolutely great. |
Could you provide a ESPHome log of the flaky setup? |
Hi, i also noticed on that flaky ESP that the Wireless Update is also way slower than the functional BMS... Now i test a setting in the WiFi Config Yaml: And change on my 2.4 GHz 20 MHz Bandwith from Channel 1 to 13 (Channel 1 is here empty , also Channel 13) Let's see, ... Because when the ESPHome Over The Air Update tooks way longer on the flaky BMS 2 and is fast on the functional BMS 1, ... |
Could you provide an ESPHome log? I would like to make sure it's an WiFi connection issue. |
Thank you for your reply @syssi , Here is the original Logfile from my flaky second ESP BMS. Greetings |
The log shows just 30 seconds. Could you try to record a log of around 15 minutes? |
This is the flaky BMS ESP Log - But suddendly it has only a few Minutes. The last Minute written and when i downloaded the Log was + 20 Min (Without Log). So the flaky ESP got his hickup, ... Will see when i could write more than a few Minutes out of it. |
Are you able to record the log via a serial line / USB connection? This will include all connection resets or crashs. |
Hi @syssi Your Support here (Response) is very great. Thanks for that. I just connect the "flaky" BMS 2 ESP8266 to an Serial Line Output and that says that it suddendly stopped any output like an dead ESP with an Hardware error - like when the Power Supply was cutted out (And it's not) So i soldered (ESD) a third new ESP8266 and flashed my ESPHome .BIN via Serial USB, delete the old ESP HA and added that new ESP to the HA and let's see, .. I am thinking that the last two swapped ESD8266 from the Package are DOA so now the third next is for testing, ... The joke is: With the third ESP8266 - the OTA Update is as fast as with the ESP on the BMS 1 and the last flaky ESP was slower by Factor 1-2x - I used an Socket System for the ESP8266 to Hot Swap it out so the Hardware underneath (Power and Serial Connection / DC-DC Converter with Decoupling Caps) and also the Place is the same (So that is identical for the running BMS 1) Let's see, ... |
Looks good. Is the antenna part of the ESP module? A photo would be nice. |
Hi @syssi , lets see. Now the Time will tell if the ESP is now 95% Stable. The antenna is part of the ESP module. Yes. Here is BMS 1 (The fully without Problems working one): And here is BMS 2 (The third (TM): Greetings |
Have 2 JK-BMSes and the 2 Year older JK-BMS run's great with the identical ESP8266 Hardware Layout. The Second JK-BMS that is about half a Year old shows the same Interruptions.
Also it comes and leaves, and when it's no longer sending Data also no Ping from the second BMS. It comes and runs or it don't run.
WiFi Signal is 99-100% and it is 50 cm away.
Strange. Had played with RX Puffer on the 115200 Baud Settings (Doubled it). Same Error.
The other first BMS with exact the same ESP Hardware Layout (DC-DC Converter, Filter Ceramic Capacitors, Fuse and ESP) runs 100% stable without Issues. The second problematic ESP: I also changed the ESP8266 and flashed it for using the second JK-BMS, same behaviour.
I also reduced the 24 Cells Setting to 8 Cells in the Script (So less Work for the ESP), didn't change also the Hickups.
Strange enough, it can run 1-2 Weeks flawlessy and then hicking up like above, or when hard reset (Pull it from the Socket) it worked 1-2 Minutes then Stall and second ESP Pull, then it runs and then above Hickups.
Originally posted by @Christyria in #608 (comment)
The text was updated successfully, but these errors were encountered: