ai-republic / bms-to-inverter

Use, monitor and control any battery brand with any inverter! Application to read and monitor data from BMSes and write data to an inverter using any protocol (e.g. UART, RS485, ModBus or CAN)
https://github.com/ai-republic/bms-to-inverter
Other
33 stars 6 forks source link

Growatt Inverter support via RS 485 / CAN #1

Open sanitariu opened 9 months ago

sanitariu commented 9 months ago

Hello, Do you plan any support for Growatt Inverter support via RS 485 ?

funkydeo commented 1 month ago

Hi Jimmy, thanks very much for your response. Yes i think i may have to rotate the batteris in this case with my syatem. At the moment my setting 36 is on 01 which was mentioned by the seller who sold me the battery(OT-LV-5120WH)/inverter(SPF 5000 ES). I havent tried it on 52 yet, is it just a protocol for the battery brand? Im also waiting for the RS-232 connection from battery to check detailed info. thanks

ai-republic commented 1 month ago

@funkydeo yes, the Growatt SPF should be working with either the Growatt inverter CAN binding or the Pylon inverter CAN binding

KelasHA00 commented 1 week ago

Hi, i have attempted and just now succeeded in coupling a Daly HV BMS to a Growatt SPH TL3 BH UP thank to this thread. i was stuck for some time, but changing from Growatt Can to Pylontech HV Can solved the communication to Inverter. Could you update the wiki to make this clear?

I will definitly send support to this project. Great work!

i have some minor issues with 'Next frame: Buffer (HEX): Null - No bytes recieved' from Daly HV BMS every 8 or so seconds. But communication works.

ai-republic commented 1 week ago

Hi @KelasHA00, great to hear you got it working and thanks for the donation!!! Yes, the message 'Next frame: Buffer (HEX): Null - No bytes recieved' is normal. Occasionally the read frame buffer has not been received yet or is not fully filled with frame bytes.

Your suggestion is great to add a Wiki page documenting which binding works with which BMS and which Inverter! Thanks I will definitely create that and always great to get feedback to make it more complete.

KelasHA00 commented 1 week ago

Well, the description in the Inverter settings leads to think the Growatt Can is the correct one. But i guess it only applies to LV Growatt inverters. I spend quite some hours double checking my wiring and resetting the Pi.

The daly only works on rs485, but should be able to communicate on Can also. I have some Pi 4bs and both the waveshare 2ch can and rs485 can hat i can test on. Is this something we can look into?

KelasHA00 commented 1 week ago

One issue i just noticed now is, the inverter is mostly idling the battery when using Lithium setting. In the log its reporting 'dis-/charge-state: stationary.

Battery at 40% and no change when excess power should trigger a charge. And no discharge when load is introduced. i will monitor the behavior over the day when more sun is available.

Daly is a HV / 48s LiIon series the Inverter a SPH TL3 BH UP running firmware YA1.0.

ai-republic commented 1 week ago

Well, the description in the Inverter settings leads to think the Growatt Can is the correct one. But i guess it only applies to LV Growatt inverters. I spend quite some hours double checking my wiring and resetting the Pi.

The daly only works on rs485, but should be able to communicate on Can also. I have some Pi 4bs and both the waveshare 2ch can and rs485 can hat i can test on. Is this something we can look into?

Yes, the CAN protocol works definetly better with the Daly. I have also 8 Daly's running via the Waveshare 2CH CAN hat on my RPI 4B. Must make sure that the Daly is really a CAN-enabled version (they do advertise CAN but need it specifically enabled on ordering), otherwise you're stuck with RS485.

ai-republic commented 1 week ago

ne issue i just noticed now is, the inverter is mostly idling the battery when using Lithium setting. In the log its reporting 'dis-/charge-state: stationary.

Battery at 40% and no change when excess power should trigger a charge. And no discharge when load is introduced. i will monitor the behavior over the day when more sun is available.

Daly is a HV / 48s LiIon series the Inverter a SPH TL3 BH UP running firmware YA1.0.

Have you checked the maximum discharge voltage for you Daly? This might cut off at 40% charge.