henk_lifepo4
New Member
- Joined
- Oct 31, 2021
- Messages
- 16
I found a partly solution I think but I am not happy with it?.
In the file : bms2_options.h I changed #define BMS_TIMEOUT from 500 to 90. Then the number of empty reads goes much down. Further I have put a check in the ino which only calls the print commands if bms.get_cell_voltage is not zero. So I am hiding a lot off "empty" reads.
Not nice but it works for now.
Does anybody who use this library wth an esp32 or esp8266 have had the same problem? If yes is there a better solution? Maybe there is an example that fetches the data of the bms by "bms.debug()" without this many "empty" reads?
In the file : bms2_options.h I changed #define BMS_TIMEOUT from 500 to 90. Then the number of empty reads goes much down. Further I have put a check in the ino which only calls the print commands if bms.get_cell_voltage is not zero. So I am hiding a lot off "empty" reads.
Not nice but it works for now.
Does anybody who use this library wth an esp32 or esp8266 have had the same problem? If yes is there a better solution? Maybe there is an example that fetches the data of the bms by "bms.debug()" without this many "empty" reads?