question

adamr100 avatar image
adamr100 asked

Renogy LifFePO4 and Cerbo GX

Hello,

I had a RPi based Cerbo system which I have upgraded to the actual Cerbo however I am having some issues setting it up.


I have Renogy Lithium Battieres connected via RS485 cables and my pi Cerbo was able to read them via the https://github.com/Louisvdw/dbus-serialbattery


I have installed the driver on my Cerbo but cannot get them to read the batteries. As a result, I cannot charge them via MPPT presently because the Cerbo doesn't detect a BMS.


I have tried troubleshooting but with no joy. Here is the error log via SSH


root@einstein:~# tail -F /data/log/dbus-serialbattery.ttyUSB0/current | tai64nlocal

2023-06-15 09:51:56.368862500 ERROR:SerialBattery:>>> ERROR: No reply - returning

2023-06-15 09:51:56.373659500 INFO:SerialBattery:Testing Renogy

2023-06-15 09:51:56.656132500 ERROR:SerialBattery:>>> ERROR: No reply - returning

2023-06-15 09:51:56.660649500 INFO:SerialBattery:Testing Renogy

2023-06-15 09:51:56.980719500 INFO:SerialBattery:RENOGY RBT100LFP12SH-G1

2023-06-15 09:51:57.805890500 ERROR:SerialBattery:Unexpected err=AttributeError("'Renogy' object has no attribute 'command_env_temp_count'"), type(err)=<class 'AttributeError'>

2023-06-15 09:51:57.806598500 INFO:SerialBattery:Testing Seplos

2023-06-15 09:51:58.830651500 ERROR:SerialBattery:>>> ERROR: No reply - returning

2023-06-15 09:51:59.332212500 ERROR:SerialBattery:ERROR >>> No battery connection at /dev/ttyUSB0

2023-06-15 09:51:59.332565500


cerbo gx
4 comments
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

Alexandra avatar image Alexandra ♦ commented ·
@adamr100


If you program the mppt it will charge using its internal algorithm with the battery profile for lithium and the charged voltages you set.

Comms are not totally necessary.

Cerbo uses CAN btw.


0 Likes 0 ·
adamr100 avatar image adamr100 Alexandra ♦ commented ·
Okay, I will tweak the MPPT to at least charge in the mean time - I am living in my MH full time at the minute so it's pretty critical.

Cerbo uses CAN as in Can Bus?

0 Likes 0 ·
Alexandra avatar image Alexandra ♦ adamr100 commented ·
@adamr100

The two options are ve can and bms can.

0 Likes 0 ·
anondynegb avatar image anondynegb commented ·

What pin out did you use to connect the batteries to the Cerbo?

0 Likes 0 ·
1 Answer
Justin Tierney avatar image
Justin Tierney answered ·

You are better off posting this issue on the GitHub page for the serial battery driver. The folks that created can help troubleshoot.

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.