some minor updates
|
|
@ -8,7 +8,8 @@ This project embeds the Chargery BMS to a Victron Energy Venus OS device to moni
|
||||||
|
|
||||||

|

|
||||||

|

|
||||||

|

|
||||||
|

|
||||||
|
|
||||||
# Requirements
|
# Requirements
|
||||||
|
|
||||||
|
|
@ -21,9 +22,6 @@ This project embeds the Chargery BMS to a Victron Energy Venus OS device to moni
|
||||||
- TBD
|
- TBD
|
||||||
|
|
||||||
# Notes
|
# Notes
|
||||||
- Proof-of-Concept style
|
|
||||||
- Only the Chargery BMS16T is currently supported. However the sources can very easily be changed to support BMS8T and BMS24T as well.
|
|
||||||
- No multiple languages
|
|
||||||
- No scripts to resetup the changes automatically on update of Venus OS
|
- No scripts to resetup the changes automatically on update of Venus OS
|
||||||
- The devices are "hard-coded" at the qml files, must be adapted (VE.direct devices, etc)
|
- The devices are "hard-coded" at the overview qml file, must be adapted (VE.direct devices, etc)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -881,7 +881,7 @@ def parse_packet(packet):
|
||||||
|
|
||||||
|
|
||||||
# print (BMS_STATUS)
|
# print (BMS_STATUS)
|
||||||
logging.info("BMS status [SOC|" + BMS_STATUS['bms']['soc']['text'] +
|
logging.info("BMS Status [SOC|" + BMS_STATUS['bms']['soc']['text'] +
|
||||||
"][MODE|" + BMS_STATUS['bms']['current_mode']['text'] +
|
"][MODE|" + BMS_STATUS['bms']['current_mode']['text'] +
|
||||||
"][CURRENT|" + BMS_STATUS['bms']['current']['text'] +
|
"][CURRENT|" + BMS_STATUS['bms']['current']['text'] +
|
||||||
"][T1|" + BMS_STATUS['bms']['temperature']['sensor_t1']['text'] +
|
"][T1|" + BMS_STATUS['bms']['temperature']['sensor_t1']['text'] +
|
||||||
|
|
@ -1242,7 +1242,7 @@ def parse_packet(packet):
|
||||||
# print (BMS_STATUS)
|
# print (BMS_STATUS)
|
||||||
if (packet_length == PACKET_LENGTH_STATUS_CELLS[0]): # packet from BMS8
|
if (packet_length == PACKET_LENGTH_STATUS_CELLS[0]): # packet from BMS8
|
||||||
|
|
||||||
logging.info("BMS8 cells " +
|
logging.info("BMS Voltages " +
|
||||||
"[CAPACITYAH|" + BMS_STATUS['voltages']['battery_capacity_ah']['text'] +
|
"[CAPACITYAH|" + BMS_STATUS['voltages']['battery_capacity_ah']['text'] +
|
||||||
"][CAPACITYWH|" + BMS_STATUS['voltages']['battery_capacity_wh']['text'] +
|
"][CAPACITYWH|" + BMS_STATUS['voltages']['battery_capacity_wh']['text'] +
|
||||||
"][DIFF|" + BMS_STATUS['voltages']['agg_voltages']['diff']['text'] +
|
"][DIFF|" + BMS_STATUS['voltages']['agg_voltages']['diff']['text'] +
|
||||||
|
|
@ -1258,7 +1258,7 @@ def parse_packet(packet):
|
||||||
|
|
||||||
elif (packet_length == PACKET_LENGTH_STATUS_CELLS[1]): # packet from BMS16
|
elif (packet_length == PACKET_LENGTH_STATUS_CELLS[1]): # packet from BMS16
|
||||||
|
|
||||||
logging.info("BMS16 cells " +
|
logging.info("BMS Voltages " +
|
||||||
"[CAPACITYAH|" + BMS_STATUS['voltages']['battery_capacity_ah']['text'] +
|
"[CAPACITYAH|" + BMS_STATUS['voltages']['battery_capacity_ah']['text'] +
|
||||||
"][CAPACITYWH|" + BMS_STATUS['voltages']['battery_capacity_wh']['text'] +
|
"][CAPACITYWH|" + BMS_STATUS['voltages']['battery_capacity_wh']['text'] +
|
||||||
"][DIFF|" + BMS_STATUS['voltages']['agg_voltages']['diff']['text'] +
|
"][DIFF|" + BMS_STATUS['voltages']['agg_voltages']['diff']['text'] +
|
||||||
|
|
@ -1283,7 +1283,7 @@ def parse_packet(packet):
|
||||||
|
|
||||||
elif (packet_length == PACKET_LENGTH_STATUS_CELLS[2]): # packet from BMS24
|
elif (packet_length == PACKET_LENGTH_STATUS_CELLS[2]): # packet from BMS24
|
||||||
|
|
||||||
logging.info("BMS24 cells " +
|
logging.info("BMS Voltages " +
|
||||||
"[CAPACITYAH|" + BMS_STATUS['voltages']['battery_capacity_ah']['text'] +
|
"[CAPACITYAH|" + BMS_STATUS['voltages']['battery_capacity_ah']['text'] +
|
||||||
"][CAPACITYWH|" + BMS_STATUS['voltages']['battery_capacity_wh']['text'] +
|
"][CAPACITYWH|" + BMS_STATUS['voltages']['battery_capacity_wh']['text'] +
|
||||||
"][DIFF|" + BMS_STATUS['voltages']['agg_voltages']['diff']['text'] +
|
"][DIFF|" + BMS_STATUS['voltages']['agg_voltages']['diff']['text'] +
|
||||||
|
|
@ -1459,7 +1459,7 @@ def parse_packet(packet):
|
||||||
dbusservice["/Impedances/UpdateTimestamp"] = BMS_STATUS['impedances']['timestamp']['text']
|
dbusservice["/Impedances/UpdateTimestamp"] = BMS_STATUS['impedances']['timestamp']['text']
|
||||||
dbusservice["/Raw/Impedances/UpdateTimestamp"] = BMS_STATUS['impedances']['timestamp']['value']
|
dbusservice["/Raw/Impedances/UpdateTimestamp"] = BMS_STATUS['impedances']['timestamp']['value']
|
||||||
|
|
||||||
logging.info("BMS impedances " +
|
logging.info("BMS Impedances " +
|
||||||
"][MODE1|" + BMS_STATUS['impedances']['current_mode1']['text'] +
|
"][MODE1|" + BMS_STATUS['impedances']['current_mode1']['text'] +
|
||||||
"][CURRENT1|" + BMS_STATUS['impedances']['current1']['text'] +
|
"][CURRENT1|" + BMS_STATUS['impedances']['current1']['text'] +
|
||||||
"][SUM|" + BMS_STATUS['impedances']['agg_impedances']['sum']['text'] +
|
"][SUM|" + BMS_STATUS['impedances']['agg_impedances']['sum']['text'] +
|
||||||
|
|
|
||||||
|
Before Width: | Height: | Size: 252 KiB After Width: | Height: | Size: 324 KiB |
|
Before Width: | Height: | Size: 250 KiB |
BIN
examples/chargerybmsimpedances.png
Normal file
|
After Width: | Height: | Size: 288 KiB |
BIN
examples/chargerybmsvoltages.png
Normal file
|
After Width: | Height: | Size: 288 KiB |
|
Before Width: | Height: | Size: 337 KiB After Width: | Height: | Size: 360 KiB |
|
|
@ -75,7 +75,7 @@ MbPage {
|
||||||
|
|
||||||
|
|
||||||
MbSubMenu {
|
MbSubMenu {
|
||||||
description: qsTr("Cells Voltages")
|
description: qsTr("Cell Voltages")
|
||||||
subpage: Component {
|
subpage: Component {
|
||||||
PageBatteryChargeryBMSVoltages {
|
PageBatteryChargeryBMSVoltages {
|
||||||
bindPrefix: service.path("")
|
bindPrefix: service.path("")
|
||||||
|
|
@ -84,7 +84,7 @@ MbPage {
|
||||||
}
|
}
|
||||||
|
|
||||||
MbSubMenu {
|
MbSubMenu {
|
||||||
description: qsTr("Cells Impedances")
|
description: qsTr("Cell Impedances")
|
||||||
subpage: Component {
|
subpage: Component {
|
||||||
PageBatteryChargeryBMSImpedances {
|
PageBatteryChargeryBMSImpedances {
|
||||||
bindPrefix: service.path("")
|
bindPrefix: service.path("")
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ MbPage {
|
||||||
|
|
||||||
property string bindPrefix
|
property string bindPrefix
|
||||||
property BatteryDetails details: BatteryDetails { bindPrefix: root.bindPrefix }
|
property BatteryDetails details: BatteryDetails { bindPrefix: root.bindPrefix }
|
||||||
title: service.description + " | Cells Impedances"
|
title: service.description + " | Cell Impedances"
|
||||||
|
|
||||||
model: VisualItemModel {
|
model: VisualItemModel {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ MbPage {
|
||||||
|
|
||||||
property string bindPrefix
|
property string bindPrefix
|
||||||
property BatteryDetails details: BatteryDetails { bindPrefix: root.bindPrefix }
|
property BatteryDetails details: BatteryDetails { bindPrefix: root.bindPrefix }
|
||||||
title: service.description + " | Cells Voltages"
|
title: service.description + " | Cell Voltages"
|
||||||
|
|
||||||
model: VisualItemModel {
|
model: VisualItemModel {
|
||||||
|
|
||||||
|
|
|
||||||