CaptKrisp
New Member
- Joined
- Oct 30, 2021
- Messages
- 4
Hello Luis,
(This is a duplicate post from the community.victronenergy.com site ... my account is new, less than 2 months, so they require post approval from moderator... but for some reason they haven't reviewed/approved my first post over a month ago)
Thank you very much for creating this module and your continued work on it.
I have a Daly 12V250A BMS and running Venus OS on rPi3B+.
I first installed your code a couple months ago. For some reason I could not get it to work. Today pulled the lasted code and am pleased to find it now recognizes the Daly BMS.
I noticed that the displayed current is inverted on both the Remote Console and VRM so I changed line 77 of your file daly.py to be as follows:
This restores the correct current flow direction. I had read elsewhere that Daly reverses their current flow so I'm guessing that the BMS I have is a newer model and they have corrected the current flow data since my Bluetooth app doesn't show reversed current flow as others have reported.
To further help others, I set a flag in file utils.py to indicate whether the BMS reports inverted current flow:
Then in file daly.py replaced line 77 with:
I hope this helps.
(This is a duplicate post from the community.victronenergy.com site ... my account is new, less than 2 months, so they require post approval from moderator... but for some reason they haven't reviewed/approved my first post over a month ago)
Thank you very much for creating this module and your continued work on it.
I have a Daly 12V250A BMS and running Venus OS on rPi3B+.
I first installed your code a couple months ago. For some reason I could not get it to work. Today pulled the lasted code and am pleased to find it now recognizes the Daly BMS.
I noticed that the displayed current is inverted on both the Remote Console and VRM so I changed line 77 of your file daly.py to be as follows:
Python:
self.current = -((current - self.CURRENT_ZERO_CONSTANT) / -10)
This restores the correct current flow direction. I had read elsewhere that Daly reverses their current flow so I'm guessing that the BMS I have is a newer model and they have corrected the current flow data since my Bluetooth app doesn't show reversed current flow as others have reported.
To further help others, I set a flag in file utils.py to indicate whether the BMS reports inverted current flow:
Python:
# battery Current limits
MAX_BATTERY_CURRENT = 120.0
MAX_BATTERY_DISCHARGE_CURRENT = 150.0
# BMS reports inverted current flow
INVERTED_CURRENT_FLOW = False
Then in file daly.py replaced line 77 with:
Python:
if INVERTED_CURRENT_FLOW is True:
self.current = (current - self.CURRENT_ZERO_CONSTANT) / -10
else:
self.current = -((current - self.CURRENT_ZERO_CONSTANT) / -10)
I hope this helps.