Code Monkey home page Code Monkey logo

smart-bms-bluetooth-esp32's People

Contributors

gmbo avatar kolins-cz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

smart-bms-bluetooth-esp32's Issues

No Basic data is reported.

I managed to get a connection and the code reports the voltage for each individual cell but for some reason I cannot het the basic data
eg : Volts , Amps , Capacity Remain Ah - they all show 0.000 value.
Is there a way to verify that the data is accepted / incoming ?

Variable CapacityRemainAh has the wrong type uint16_t

Wenn ich zu einer 200Ah Batterie verbinde, erhalte ich ungültige Werte für die Kapazität, da da die Variable CapacityRemainAh mit uint16_t zu klein dimensioniert ist.
Sie sollte mit uint32_t in den Files mydatatypes.h
Zeile 25 uint32_t CapacityAh;
und BMS_process_data.ino
Zeile 59 output->CapacityRemainAh = ((uint32_t)two_ints_into16(data[4], data[5])) * 10;
deklariert werden.

If I connect to a 200Ah battery, I get invalid values for the capacity, because there the variable CapacityRemainAh with uint16_t is dimensioned too small.
It should be defined with uint32_t in the files mydatatypes.h
Line 25 uint32_t CapacityAh;
and BMS_process_data.ino
Line 59 output->CapacityRemainAh = ((uint32_t)two_ints_into16(data[4], data[5])) * 10;
must be declared.

esp32 keeps restarting

Hello, I can connect to the bms with the ordinary esp32wroom development board and the ESP32 ARDUINO PACKAGE2.0.3 burning program, but there is an error and I cannot read the data,

  • Created client
  • Connected to server
  • Found our service
  • Found our characteristic
    The characteristic value was:

assert failed: heap_caps_free heap_caps.c:339 (heap != NULL && "free() target pointer is outside heap areas")

Backtrace:0x40083639:0x3ffc8f500x4009254d:0x3ffc8f70 0x40097525:0x3ffc8f90 0x40083972:0x3ffc90c0 0x40097555:0x3ffc90e0 0x4017ed75:0x3ffc9100 0x4017fc1c:0x3ffc9120 0x400d276d:0x3ffc9140 0x400d3483:0x3ffc9190 0x400d351e:0x3ffc91d0 0x400df739:0x3ffc91f0

and I can not compile with arduino package 1.0.6. May I ask is it my choice of development board or the choice of esp32 arduino package wrong or other problems? Hope to hear from you. Thank you.

pinout not ttgo

hello for st7735 and esp32 what pin for plug st7735 ???or ili9341 2.4
esp32 lite
thanks

Ant-bms is compatible? ANT-BLE16S device name

Hi, I've been looking for information on ant-bms for a long time. I am needing to use the BLE to use with the micropython and esp32. The only thing I could get so far is to use the command 0xdbdb00000000 and send me 20bytes in response. In other ble app i can read few more bytes. Could you tell me if these commands work here? Because I tried a couple of status from here and I don't get any notification. Greetings and I hope someone knows. Greetings

Is this code working?

Is this code working? I'm trying to compile it under PlatformIo and the re seems to be a lot of invalid includes.

Working great with my older BMS, but not 100% with the new one!

Hi Kolinz,

Your old code is working great with my old BMS; however, unfortunately, it does not work 100% with the newer BMS versions.
printCellInfo(); shows the correct data, but calling printBasicInfo(); gives an "Invalid packer received" error.

I guess that the new BMS units are running an updated protocol?

Do you maybe know more about this and how to fix it?

Thank you.

could the code be used to send the data to MQTT server

Not an issue at all, but I'm looking to integrating a LifePo4 battery from a solar system into my home automation. This could be most easily done by sending the data gathered by the ESP32 to and MQTT server.
Any idea if this could be done easily? Unfortunately I'm no coder at all ;)
Thanks in advance!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.