Skip to content
View in the app

A better way to browse. Learn more.

Power Forum - Renewable Energy Discussion

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Anenji battery pack using JKBMS BMS communication problem

Featured Replies

On 2025/03/28 at 8:18 PM, andrew96a said:

UART1 is a esp32 type device your referring to? if so then nope not using one. All i am trying to do is monitor anything, be it can, rs485 or rs232 from any of the ports using any software on a pc! the Victron inverter wont see it either. still not been able to get any information from any port on the battery pack even though I can see data is there using a oscilloscope.

Try this. Log into JK BMS app, go to settings and set UART1 to (007) Voltronic protocol. Set inverter battery type as (05) LIB. This should enable communication between inverter and battery pack.

Dear g szo,

could you inform what bms protocol shbms uses? I try to use it with solar assistant, so far, no luck.

With SaiHang sw it works OK when rs232 is selected even adapter must be rs485-usb connected to HC port ;-). A-2,B-1,Gnd-3 must be also connected,
Battery I use is Ibattery 51.2 200Ah (Easun) without dip switches. (Address is selected from lcd-menu).

Easun Isolar SM IV 5.6kW inverter also working w battery OK with 74.04 fw and panel sw updated 22.20 and 05 value set pylon (Model is actually same as Axpert MKS 4 5.6kW).

05-LIC mode not working w battery.

Edited by Juha Panula

  • 3 weeks later...

Dear Juha, sh bms protocol changes pylon in the menu. Password "shbms". I do not use LIC setting, because it overcharges the battery. I charge max. 90% and discharge to 30%.This is my experience.

The solar assistant communicates with the sh bms rs485 port (besides the can port), the inverter does not communicate, you inverter settings 5-USE not LIC. 26 bulk and 27 float charging voltage can be set. SA looks at the battery voltage and not the SOC. You set the battery charging current according to your own battery. For me 600 Ah is enough 60-70 A. With the SH software you look at the cell voltages, check, do not exceed the COVP ( cell over protect ) limit. If you have two or more batteries, connect RS485 1 TO RS485 2 (parallel connection) . I tried it, it works, the solar assistant needs to be created as an automation, it sets everything up, if the EASUN inverter accepts the SA commands...If you replace the BMS you need a cell cable adapter, this is good SH-PACE, SH-JBD, I got it from China, maybe you can buy it. I attach a picture of it . Blue sh connectors , red pace or jbd .Screenshot_20250117-091528~3.png

  • 1 month later...
  • 2 months later...

Apparently these have practically no warranty. They hardly respond to anything, then to two different email addresses, now to a third WhatsApp number, and no one is commenting on the bulging cells or the BMS not working.

image.png

  • 1 month later...

Anenji does not use jk bms. This is Saihang SH bms. I have one too. You can communicate with it. RS485 and RS232 both work for SolarAssistant and PC communication.Screenshot_20250403-195353~2.png

Screenshot_20251101_183149_Chrome.jpg

Screenshot_20251101_183054_Chrome.jpg

Edited by g szo

Hello ,

I have an easun i-battery powerwall 51.2v with the same bms

BMS S/N SH24092400148

PACK S/N Sep152024 13:58:04

Softver : 0958-001v1.01-0740-F16100

Is there any way to incorporate it into home assistant ?

Καταγραφή201.PNG

6 minutes ago, costas said:

Hello ,

I have an easun i-battery powerwall 51.2v with the same bms

BMS S/N SH24092400148

PACK S/N Sep152024 13:58:04

Softver : 0958-001v1.01-0740-F16100

Is there any way to incorporate it into home assistant ?

Καταγραφή201.PNG

I use the following cable, cheap and good. RS485. The SA setting is in the attached picture. BMS setting pylon rs485 (1 menu), it only communicates with this.

Screenshot_20251101_183054_Chrome.jpg

Screenshot_20251107_200525_AliExpress.jpg

Edited by g szo

  • 1 month later...
  • Author

so after all this time later I have finally worked out why it wouldn't communicate!!it is a SHbms so the SHbms software did indeed connect to it on rs232 and communicate giving all the battery voltages etc! so that port worked!!

the anenji battery was bought BRAND NEW with the anenji 11kw inverter and never ever would they communicate on the rs485 port when the inverter was set to do so! always error 4b, no communication on the inverter!

355489-25ae04683a983dc1230f528f9612ad3a.jpg 355437-c4a20b44a8d8323e44af9128df456648.jpg

how difficult can it be to just connect the rs485 cable supplied with the battery, select lib2 in the battery settings, flip dip1 on the battery on and away ya go!!!!

well not that easy as it turns out! this has never worked for me! always error '4b' communication error so used it with manual battery settings.

we all now know the 'support' Anenji give once purchased, the standard for them...... NON EXISTANT!!! so just beware whatever you buy has no warranty at all once you buy it! even AVG antivirus now flags there website as a scam!!

so now i bought a proper Victron inverter for the house this I decided to move THIS Anenji inverter to the workshop with some pylontech batteries I already have recently. but again the Anenji inverter would never connect and error 4b continued when Lib2 was selected. I know what your all going to say.... wiring and dip switches!!!! but nope that's all correctly set and done! the manual shows it should be that easy!!!

355436-6a0e8a3fd8058b520d3a5d7eb73f700d.png

this has continued until recently when I tried again to connect it on the RS485 bus, nope still no joy! so thought lets dig deeper, so this may help someone in the future with RS485 troubles!!

Asking Ai which communicates first it came back with inverter polls with data and the battery reply's when it sees the correct data with its own.... ok somewhere to start!!!

I next got Ai to write a python script at 9600 baud rate to listen on the rs485 but using my usb to rs485 waveshare adapter. plugged it into the Anenji inverter, selected Lib2 in the menu....... and..... nothing... absolute silence from the bus and of course the '4b' error!

So broke open the anenji inverter and pulled from it the communication board.

355428-bf538ba2406a7a3798478475e6135a07.jpg

it has a SP485, a standard RS485 transceiver with a smaller marked 'U6' ic above it, so looked with my cheap handheld oscilloscope and the input to the Rs485 pin on the SP485 as this is what should be being transmitter out the other side of the transceiver ic.

355427-fb01c3f123f237cc5b3b69869aa0577b.jpg 355431-95b24567e9db7ea846a3b19b5446bee7.jpg

ok that's good there is data there! so why is it not passing through the transceiver? well pins 2 and 3 are connected together on the SP485 and are direction control, level high (+5v) for the chip to allow transmitting and low to enable receiving. these pins were stuck at 0v so never ever is the chip being told to transmit the data!

The direction control pins 2 and 3 are connected to a small chip marked U6 and have the markings on it as C08j

355430-63c2a03e6052a26870d3dfcb1c603049.jpg

search and search the internet i did but nothing on the chip it actually is. BUT it did come back to being a 7408 AND gate which clearly it is not! Ai to said it was a AND gate to from the markings as that is also used on a Texas ic to identify a AND gate in exactly the same package! removed it to confirm the top right pin was not connected to anything and this turned out to be the case, so definitely not a AND gate

355429-37fa1fbd6a6f2a100f07ba99e65dbacb.jpg

so to get data to pass through pin 2 and 3 need to be high, well luckily U6 power in pin was next to the output pin, so decided to put a zero ohm link so pins 2 and 3 on the sp485 would be high, the handy place to do this was from the space U6 had been removed!

355432-be38ee10b67c39d3d15fe331c7c1bcb1.jpg

powered the inverter up and out popped the strings on the rs485 sniffer program

7E 32 30 30 32 34 36 36 33 30 30 30 30 46 44 41 39 0D
7E 32 30 31 32 34 36 36 33 30 30 30 30 46 44 41 38 0D
7E 32 30 32 32 34 36 36 33 30 30 30 30 46 44 41 37 0D
7E 32 30 33 32 34 36 36 33 30 30 30 30 46 44 41 36 0D
7E 32 30 34 32 34 36 36 33 30 30 30 30 46 44 41 35 0D


and that just kept repeating! so that's good! proves the firmware is actually trying to talk and correctly and AI decoded it to it looking for any battery 1 to 4 with just the checksum changing at the end to keep it right.

more searching and came up with a blank on what that small chip U6 was!!
then with more searching came across a mention of a chip that has automatic direction control built in! found a Texas instruments ic that was a drop in replacement that just needed pins 2 and 3 held high for it to be fully automatic directing control... well I already did that so half way there!!
could not find that chip anywhere in the UK so did some more searching and found a max13488 which was easily available here in the UK, and would be a drop in replacement just fine also only needed pins 2 and 3 held at high level to work which I had already done!

355433-3222e3013595a91102b3a4ce7fd3030c.jpg

so now I connected the inverter to a pylontech battery (dip 1 on of course) connected my sniffer and switched on.
to my relief I could now see the rs485 data from the inverter AND pylontech battery reply repeating!

355434-830fcc55276044b92e16b0c79f72b510.jpg

(highlighted area is one send and reply)

the inverter was happy!!! no error 4b and even 'Li' was illuminated on the battery path!

355435-ddf0c4ed85915b6bd67d3d9255f3684b.jpg

so eventually cracked it! communication is now fine and working after 15 months of never working! so it was nothing to do with me at all, it was faulty all along!

this may help someone in the future, my advice is if there are any problems suspected on the rs485 is to monitor it and see if any data is flowing first.


So I would NEVER NEVER EVER by Anenji or one of the other cheap Chinese inverters again. as the saying goes, buy cheap buy twice! good luck to you all with Anenji stuff!!

Edited by andrew96a

  • Author

its difficult when you have no idea the sequence of events on which has to communicate first! the Anenji Battery this thread was first about is now working happily with a Victron inverter and is communicating fine on its CAN port! but not without issues too!

the Victron inverter has a VE.CAN port and from what I was reading there are cables that connect this port to the battery CAN port, but I had absolutely no luck there getting any communication either using any cables I made! looking into this deeper I got to understand the VE.CAN port on the Victron inverter has to connect to a Victron cerbo gx..... VE.CAN port and the other VE.CAN port on the cerbro gx has to be set to BMS CAN in the menus then THIS will talk to the battery on it's CAN port!. once I finally worked this out the Anenji battery is now talking perfectly with the Anenji battery's CAN port!

when you read and see on the internet connect the battery's CAN port to VE.CAN port, and cables are listed to do this which are just cables it completely fools you! (Anenji's CAN port pinout is the same as pylontech's CAN port pinout)

IMG_3290.jpg

it wasn't until i understood the two ports ran at different speeds the penny dropped and a cerbo gx was needed in between!

It Certainly is not easy this connection lark until you understand everything quite deeply!

so basically really thought it was the Anenji battery BMS was faulty because I could not get it to talk to anything! but it turned out that it was the Anenji inverter that was bad on the RS485 connection and wrong speeds using the CAN port. the battery turned out to be completely innocent!

this all wraps up my problems encountered with the Anenji battery, Anenji inverter, and Victron inverter communications!

Edited by andrew96a

  • Author

I have had other problems with the Anenji inverter too within its year of owing it! the pv MPPT tracker is very very bad at low solar generation i found here in the UK during wintertime! my solution was not to use the PV MPPT tracker in the Anenji inverter, but to use a Victron smartsolar MPPT 150/35 instead, this has pushed solar generation up by two thirds using the same panels!!

the other problem was I had 2 of the battery input mosfets blow short circuit in the Anenji inverter which also took out a bms in the plylontech battery connected to it! Replacing the 2 blown short circuit mosfets in the Anenji inverter got it back working again. the pylontech battery bms had also a blown mosfet which when replaced the pylon battery was in permeant alarm mode still! the firmware had to be reloaded and the eprom cleared in the pylontech battery to clear the permeant fault! that's fine as the battery was well outside any warranty, but if the battery HAD still been in warranty then Pylontech would certainly NOT repaired this for free! so beware Anenji inverters not only destroy themselves but other other more expensive things connected to them!

00B22AC6-B049-415D-B7ED-FE996612B32B.jpg FEBE66D6-AD80-4599-9F34-2B478F7E9A72.jpg

Edited by andrew96a

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.