Request to Inverter over CAN to maintain good charging scheme for battery #18
paulsteigel
started this conversation in
General
Replies: 2 comments 5 replies
-
|
Beta Was this translation helpful? Give feedback.
2 replies
-
??? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Armin,
I have successfully update the Battery Capacity over your work with small modification.
struct PylontechCANSpecificationsFrameStruct { struct PylontechCANFrameInfoStruct PylontechCANFrameInfo = { PYLON_CAN_BATTERY_SPECIFICATIONS_FRAME_ID, 2 }; // 0x379 struct { uint16_t CapacityAmpereHourLowByte; uint16_t CapacityAmpereHourHighByte; } FrameData; void fillFrame(struct JKReplyStruct *aJKFAllReply) { (void) aJKFAllReply; // To avoid [-Wunused-parameter] warning FrameData.CapacityAmpereHourLowByte = lowByte(JKComputedData.TotalCapacityAmpereHour); FrameData.CapacityAmpereHourHighByte = highByte(JKComputedData.TotalCapacityAmpereHour); } };
However, there are improvement that would be great if your project can have such as:
I would like to raise this point of discussion for your consideration, if possible, please be so kind to help us. With your coding, I am gaining a lot.
Thank you very much for your efforts!
Best,
Ngoc
Beta Was this translation helpful? Give feedback.
All reactions