Just a note to others that my be using this cheaper battery than the other thread, as it took me forever (two days of searching and trying - so forever) to find something that worked with the BT enabled Eco-Worthy 100ah 12v battery. What ended up working for me is this:
I simply tweaked it for my board, MAC, and removed the MQTT / enabled the API and it worked right off the bat. These apparently use the “JBD” BMS setup, so it talks like that.
Mine is running on a D1 Mini 32, but I’m sure it would work on any ESP32 with BT.
I removed all the extra cell sensors as the 12v only has the four, but otherwise the data looks correct so far (a couple of days). Down side is you cannot connect the phone app at the same time I believe, but with this I never use it anyhow. Key data to me was voltage, capacity, and temperature.
-Stephen