July 1, 20233 yr Hi We recently (27th of June) had our house put on backup power with a Deye SUN-8K-SG01LP1 and 2x Deye SE-G5.1 Pro batteries. Batteries are connected with 50mm² cable and 250A knife switch fuses. Specs: Installation: Here are my experiences thus far It talks to the inverter via CAN BUS via the PCS port. The PCS port has the following PIN out I've successfully connected it with solar assistant via CAN but the information gained isn't as detailed as I'd have hoped for. Here is the battery screen in solar assistant with inverter values via CAN => Inverter Strangely ever since I plugged in solar assistant the BMS has had this routine every 10 hours. Which was never there before. Does anyone else have experience with these batteries? I'm going to try and play around with the RS485 and CAN busses in the hopes to snoop some cell voltage data. I have a Solar Assistant RS485 cable going to inverter and the the USB to CAN cable for use atm. Anyways seems there isn't much information around here for these and I'd like to find out more. Regards Ohan Edited July 2, 20233 yr by Psynosaur
July 2, 20233 yr 16 hours ago, Psynosaur said: I've successfully connected it with solar assistant via CAN but the information gained isn't as detailed as I'd have hoped for. Wow, recommended charge voltage of 163.9V?!?! There's definitely something strange going on there. Hopefully someone with solar assistant can help you out.
July 2, 20233 yr This may well be related to the fact that the Deye batteries are not yet supported by SA and that could be causing the strange data you are seeing? Maybe drop SA an email and ask if and when they will be adding support on their system. I know that my batteries are not supported by SA (and won't be) and so will have to make do with the very basic inverter information SA receives. MdF
July 2, 20233 yr Author 1 hour ago, jumper said: Wow, recommended charge voltage of 163.9V?!?! There's definitely something strange going on there. Hopefully someone with solar assistant can help you out. Haha, would not recommend that charging voltage at all, as MdF said, the CAN BUS frames isn't properly supported by Solar Assistant as of yet 42 minutes ago, MdF said: This may well be related to the fact that the Deye batteries are not yet supported by SA and that could be causing the strange data you are seeing? Maybe drop SA an email and ask if and when they will be adding support on their system. I know that my batteries are not supported by SA (and won't be) and so will have to make do with the very basic inverter information SA receives. MdF I did drop them a mail and they replied with this. Quote We do not currently have any plans yet to support a new battery BMS protocol. So I guess I'll have to see if I can decode these CAN BUS frames myself Does anyone have a recommendation of what software to use with the CAN to USB from Solar Assistant, it uses the CH340 Chip. I'm going to give Wireshark a whirl and see what comes up. Regards
July 2, 20233 yr I would give it some time and see what happens with SA. They are usually pretty good at keeping up with new inverter and battery releases, and if the Deye battery product becomes popular, they may well add functionality for it. MdF
July 3, 20233 yr Author Howdy Just a small update from solar assistant : Huzzah! Edited July 3, 20233 yr by Psynosaur
July 5, 20233 yr Author Good day I've been listening in on the CAN communication between inverter and Battery bank with PCS port on Battery #1 Sniff sniff These are my observations thus far : Kind Regards Ohan
July 7, 20233 yr Author Good morning Here are some more observations made using this great CAN tool That is rather a bunch of useful information and I've shared my findings with the Solar Assistant developer. Regards Ohannes
July 9, 20233 yr Author Hey there I couldn't resist, build a CAN BUS reader for a Pi running in the garage alongside the solar assistant. https://github.com/Psynosaur/Deye_Battery_CAN_BUS API outputs the following: // 20230710143056 // https://192.168.1.126:5035/candata { "SOC": 94, "SOH": 100, "Voltage": 52.6, "Amp": -20.5, "Watts": -1078.30, "Temp": 12, "Cell(V) H": 3.291, "Cell(V) L": 3.287, "Cell(V) d": 0.004, "BmsTempHigh": 12, "BmsTempLow": 12, "ChargeLimit(A)": 46, "ChargeLimitMax(A)": 200, "Cut off(V)": 48, "Charge(V)": 58.4, "CurrentLimit(A)": 46, "DischargeLimit(A)": 200, "BatteryCapacity(Ah)": 182.4, "Resting(V)": 54.5, "Statuses": { "=>": "2, 0, 0, 0, 2, 0, 0, 0" }, "Batteries": [ { "Voltage": 52.6, "Current": -11, "StateOfCharge": 93.6, "StateOfHealth": 100, "CellHigh": 3.291, "CellLow": 3.286, "CellDelta": 0.005, "Temp1": 12, "Temp2": 12, "TemperatureMos": 14, "CurrentLimit": 23, "CurrentLimitMax": 100, "ChargedTotal": 19.805, "DischargedTotal": 16.331, "Cycles": 3.1896484375, "Status": { "=>": "2, 0, 3, 0, 0, 0, 9, 0" } }, { "Voltage": 52.6, "Current": -10, "StateOfCharge": 93.9, "StateOfHealth": 100, "CellHigh": 3.291, "CellLow": 3.288, "CellDelta": 0.003, "Temp1": 12, "Temp2": 12, "TemperatureMos": 14, "CurrentLimit": 23, "CurrentLimitMax": 100, "ChargedTotal": 19.698, "DischargedTotal": 16.227, "Cycles": 3.1693359375, "Status": { "=>": "2, 0, 3, 0, 0, 0, 9, 0" } } ], "CanFrames": [ { "FrameId": "0111", "Hex": "AA 55 01 01 01 11 01 00 00 08 00 00 00 00 00 00 00 31 00 4E", "DataSize": 8, "Data1": 0, "Data2": 0, "Data3": 0, "Data4": 12544, "LastUpdated": "2023-07-10 14:30:56" }, ... ] } Now one can plot this information on some graphing application. Regards Edited July 10, 20233 yr by ZS1SCI Update
July 10, 20233 yr Author So they updated my battery firmware from 2.0.0.4 to 2.0.0.7 after I asked for the local software.. The charge voltage has been set to 58.4V!! up from 57.6V Now every time the battery is "full" the overvoltage alarm kicks in... once one of the cells reach 3.65V... Regarding them providing software this was the response. Anyhow I've now created a long email chain with them, so that they may lower the charging voltage back to 57.6V(3.6V per cell) as not trigger a alarm after every charge. Just sharing for information sake. Regards Edited July 10, 20233 yr by ZS1SCI grammar
July 11, 20233 yr Author So after a few emails back and forth Got the RS485 software from Deye, since plugging in the BMS to the inverter makes the charging go ape sh$t. We now need to debug with it disconnected. Yay more data, need to send full error and history to technician which takes ages to download.... Regards Edited July 11, 20233 yr by ZS1SCI
July 12, 20233 yr Author Good morning I've finally managed to get the batteries in a more stable state: The wacky behavior was noticed after Deye did a remote firmware update on my batteries, which changed the charging voltage on the BMS from 57.6 to 58.4V. Which I erroneously assumed was the culprit of this misbehavior: The batteries would go into an alarm state when overvoltage was reach for a cell and then drop down to a certain voltage and repeat the same cycle. After unplugging the CAN cable this routine would stop The following is over the last two days, set the battery mode to AGM and the voltage settings according to battery manual. Then after Deye sent be the software and firmware to flash locally, the same happened when I let the inverter and battery talk via CAN. So I went back to my solar assistant graphs and recalled that I had changed a default setting called Disable Float Charge some time back, it made my battery go through these 10 hours charge and discharge cycles(which I thought strange at the time), but not disabling float charge has seem to remedy the over voltage issue experience. The effect of which was just exacerbated by the new firmware which upped the Charging voltage. So what I have learned now with these batteries and the Deye inverter, this floating charge should not be on. Cells are happy now. Thank you for listening to my Ted-Talk. Have a nice day
July 17, 20233 yr Author Haai daar So this turned into a whole thing, storing CAN data in a database now for graphing use with grafana: My battery cabinet is very busy at the moment Working on RS485 support to read per cell metrics programmatically in the not so distant future Regards Edited July 24, 20233 yr by ZS1SCI
August 25, 20232 yr Hi @ZS1SCI I am looking to install the exact same system. I am an enthusiast at best, but still a novice as this will be my first and only system. The above information has been really helpful, thank you. If you don't mind, would you be willing to help me with the following to make my decision and life much easier? 1. Are you happy with the system and would you recommend it? 2. Are all the niggles sorted out and the batteries charging as they should, and the system functioning as it should? 3. Would I, a layman, be able to get the system up and running? I don't need to know all the intricate details. As long as the default BMS can manage the batteries and ensure they stay healthy and within prescribed limits, I'm happy. 4. Will I be able to get SA up and running without extra hardware? 5. Has SA been able to add this battery to their support or any Deye battery for that matter? Thank you for your help, much appreciated Regards, Emile
August 25, 20232 yr Author 5 hours ago, EmileA said: Hi @ZS1SCI I am looking to install the exact same system. I am an enthusiast at best, but still a novice as this will be my first and only system. The above information has been really helpful, thank you. If you don't mind, would you be willing to help me with the following to make my decision and life much easier? 1. Are you happy with the system and would you recommend it? 2. Are all the niggles sorted out and the batteries charging as they should, and the system functioning as it should? 3. Would I, a layman, be able to get the system up and running? I don't need to know all the intricate details. As long as the default BMS can manage the batteries and ensure they stay healthy and within prescribed limits, I'm happy. 4. Will I be able to get SA up and running without extra hardware? 5. Has SA been able to add this battery to their support or any Deye battery for that matter? Thank you for your help, much appreciated Regards, Emile Good day Glad you found the information here helpful To answer your questions Very satisfied Yes, with the work mode set to use timer and the state of charge set to 99% If you mean SA, then sure You need a Raspberry Pi or equivalent hardware and a RS485 adapter, the SA site is very helpful in this regard They have not added support, after multiple emails on the matter, I resorted to using my own solution to monitoring battery specific metrics My solution needs another Pi and the self crimp CAN adapter from the SA site How many batteries do you intend to get? I would gladly assist if the need arises Cheers Edited August 25, 20232 yr by ZS1SCI RS485 HW
August 28, 20232 yr On 2023/08/25 at 5:09 PM, ZS1SCI said: Good day Glad you found the information here helpful To answer your questions Very satisfied Yes, with the work mode set to use timer and the state of charge set to 99% If you mean SA, then sure You need a Raspberry Pi or equivalent hardware and a RS485 adapter, the SA site is very helpful in this regard They have not added support, after multiple emails on the matter, I resorted to using my own solution to monitoring battery specific metrics My solution needs another Pi and the self crimp CAN adapter from the SA site How many batteries do you intend to get? I would gladly assist if the need arises Cheers Thank you for the response and help. I intend to put in the exact same system as you have written down with two batteries. So, does that mean if I want to have any basic remote viewing and functionality I would still have to set it up through a Rasberry Pi and the adapter? Is there no monitoring app (SA or other) that will work without additional hassle, that you know of? Thank you for offering to help, don't mind to get additional bits if it's necessary, just not sure if I'll know how to get it going!
September 3, 20232 yr Author On 2023/08/28 at 12:39 PM, EmileA said: Thank you for the response and help. I intend to put in the exact same system as you have written down with two batteries. So, does that mean if I want to have any basic remote viewing and functionality I would still have to set it up through a Rasberry Pi and the adapter? Is there no monitoring app (SA or other) that will work without additional hassle, that you know of? Thank you for offering to help, don't mind to get additional bits if it's necessary, just not sure if I'll know how to get it going! You can use Solarman which takes a data point of you system every 5mins, this is the standard software for the inverter. Providing data every 5 mins wasn't accurate enough for me and I didn't have any insights into the battery array operation. For more granular data, you would need to go the Solar Assistant route Regards
September 6, 20232 yr going similar route…4 of these batts in a deye bos system to get to 200V into deye 20kw inverter…. will let you know hownit goes in a week or two
February 3, 20242 yr On 2023/09/03 at 6:32 AM, ZS1SCI said: You can use Solarman which takes a data point of you system every 5mins, this is the standard software for the inverter. Providing data every 5 mins wasn't accurate enough for me and I didn't have any insights into the battery array operation. For more granular data, you would need to go the Solar Assistant route Regards @ZS1SCI you can request to change your sample time to 1 min but in the middle of the day it is ń bit slower
June 11, 20242 yr On 2023/07/11 at 8:48 AM, ZS1SCI said: So after a few emails back and forth Got the RS485 software from Deye, since plugging in the BMS to the inverter makes the charging go ape sh$t. We now need to debug with it disconnected. Yay more data, need to send full error and history to technician which takes ages to download.... Regards Hello, Can you please share the program
June 19, 20242 yr On 2023/07/17 at 10:04 AM, ZS1SCI said: Haai daar So this turned into a whole thing, storing CAN data in a database now for graphing use with grafana: My battery cabinet is very busy at the moment Working on RS485 support to read per cell metrics programmatically in the not so distant future Regards Hi Hope you are well. 1. To run the deye Lvess software did you have to use a windows machine? 2. To connect the battery to the pc, did you use the CANalyst-Ⅱ like deye suggest, or what can bus to usb converter did you use? That's assuming you used can bus and not RS485. I'm trying to get these metrics to monitor deye bos-g HV batteries with the HVESS-Monitor software. Deye say one must use CANalyst-Ⅱ. Thank you
June 21, 20242 yr Author On 2024/06/19 at 8:12 PM, abd7 said: Hi Hope you are well. 1. To run the deye Lvess software did you have to use a windows machine? 2. To connect the battery to the pc, did you use the CANalyst-Ⅱ like deye suggest, or what can bus to usb converter did you use? That's assuming you used can bus and not RS485. I'm trying to get these metrics to monitor deye bos-g HV batteries with the HVESS-Monitor software. Deye say one must use CANalyst-Ⅱ. Thank you Hey 1. Yes its windows software 2. I used the CAN adapter from Solar Assistant as that didn't really serve me well on that system regarding details about the battery, you however do not need CANalyst-Ⅱ, please see this repo https://github.com/tixiv/CAN-Monitor-qt. 3. Then you're welcome to use my XML files and see if the id's match(they should) https://github.com/Psynosaur/Deye_Battery_Serial_BUS/tree/main/CAN2JSON/CANInformation Regards
June 21, 20242 yr 1 hour ago, ZS1SCI said: Hey 1. Yes its windows software 2. I used the CAN adapter from Solar Assistant as that didn't really serve me well on that system regarding details about the battery, you however do not need CANalyst-Ⅱ, please see this repo https://github.com/tixiv/CAN-Monitor-qt. 3. Then you're welcome to use my XML files and see if the id's match(they should) https://github.com/Psynosaur/Deye_Battery_Serial_BUS/tree/main/CAN2JSON/CANInformation Regards Thank you for your help. I'm not really looking at monitoring them continuously, just to check detailed stats once in a while using the HVESS software itself. So using solar assistants canbus to usb cable in windows, did you have to install drivers manually to get it to work?
June 22, 20242 yr Author 23 hours ago, abd7 said: Thank you for your help. I'm not really looking at monitoring them continuously, just to check detailed stats once in a while using the HVESS software itself. So using solar assistants canbus to usb cable in windows, did you have to install drivers manually to get it to work? Hi I had to install the drivers recommended on micro robotics site for this device https://www.robotics.org.za/MKS-CAN-V2-STD?search=USB can Its cheaper than Solar Assistant's CAN adaptor and works with CAN-Monitor. I do not have the HVESS software so I cannot say if its compatible. They sent me LVESS RS485 software back then to update battery firmware. Regards Ps. Would a moderator please move this topic to batteries please Edited June 22, 20242 yr by ZS1SCI Wrong topic
June 25, 20242 yr On 2024/06/22 at 9:27 AM, ZS1SCI said: They sent me LVESS RS485 software back then to update battery firmware. Would it be possible to share this even its abit old please.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.