for some reason this list isn't working for me. Tried different browsers and even disabled my dns blocker just in case. I get blank pageI got it from here: https://de.aliexpress.com/item/1005004417934706.htm
Doh!! I didn't even think of checking that lolI have updated the link... missing the l in html
Hello,I got it from here:
https://de.aliexpress.com/item/1005004417934706.html
I bought this charger because it is very universal and easy to setup. The max. solar voltage is 230VDC and battery between 12V and 96V. In the menu it's possible to choose the battery type, Lead Acid, GEL, LiFePo4, Li-Ion and User - and how many batteries in series.
It has a RS485 port - On the pictures it looks like a normal RJ45 network port but I was surprised to find out that it's a RJ12 6P6C (not included)
The settings for the port is: 2400 baud, check bit NONE, data bit 8, stop bit 1
If I send 0x01 0x03 0x00 0x00 0x00 0x14 0x45 0xc5 then I get 45 bits back, the string contains all registers
$ mbpoll /dev/ttyUSB0 -m rtu -b 2400 -P none -d 8 -s 1 -v -a 1 -r 1 -t4:int16 -c20 -1
debug enabled
iGetIntList(1)
Integer found: 1
iCount=1
iGetIntList(1)
Integer found: 1
iCount=1
Set function=4
Set format=int16
Set number of values=20
Set device=/dev/ttyUSB0
mbpoll 1.0-0 - FieldTalk(tm) Modbus(R) Master Simulator
Copyright (c) 2015-2023 Pascal JEAN, https://github.com/epsilonrt/mbpoll
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions; type 'mbpoll -w' for details.
Opening /dev/ttyUSB0 at 2400 bauds (N, 8, 1)
Set response timeout to 1 sec, 0 us
Protocol configuration: Modbus RTU
Slave configuration...: address = [1]
start reference = 1, count = 20
Communication.........: /dev/ttyUSB0, 2400-8N1
t/o 1.00 s, poll rate 1000 ms
Data type.............: 16-bit register, output (holding) register table
-- Polling slave 1...
[01][03][00][00][00][14][45][C5]
Waiting for a confirmation...
<01><03><28><00><01><00><01><00><01><02><10><00><45><00><00><00><04><02><3A><02><36><01><E0><02><BC><06><BC><02><1C><00><3E><02><1C><00><00><00><2C><00><00><00><0F><A2><A2><FF><E5>
[1]: 1
[2]: 1
[3]: 1
[4]: 528
[5]: 69
[6]: 0
[7]: 4
[8]: 570
[9]: 566
[10]: 480
[11]: 700
[12]: 1724
[13]: 540
[14]: 62
[15]: 540
[16]: 0
[17]: 44
[18]: 0
[19]: 15
[20]: -23902
0x000F and 0xA2A2 = 0x000FA2A2 = 1021474 (1021.474 kWh)Using this Peacefair RS485 reader cabled as grundholm showed..
View attachment 29658
I was able to use mbpoll:
$ mbpoll /dev/ttyUSB0 -m rtu -b 2400 -P none -d 8 -s 1 -v -a 1 -r 1 -t4:int16 -c20 -1 debug enabled iGetIntList(1) Integer found: 1 iCount=1 iGetIntList(1) Integer found: 1 iCount=1 Set function=4 Set format=int16 Set number of values=20 Set device=/dev/ttyUSB0 mbpoll 1.0-0 - FieldTalk(tm) Modbus(R) Master Simulator Copyright (c) 2015-2023 Pascal JEAN, https://github.com/epsilonrt/mbpoll This program comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions; type 'mbpoll -w' for details. Opening /dev/ttyUSB0 at 2400 bauds (N, 8, 1) Set response timeout to 1 sec, 0 us Protocol configuration: Modbus RTU Slave configuration...: address = [1] start reference = 1, count = 20 Communication.........: /dev/ttyUSB0, 2400-8N1 t/o 1.00 s, poll rate 1000 ms Data type.............: 16-bit register, output (holding) register table -- Polling slave 1... [01][03][00][00][00][14][45][C5] Waiting for a confirmation... <01><03><28><00><01><00><01><00><01><02><10><00><45><00><00><00><04><02><3A><02><36><01><E0><02><BC><06><BC><02><1C><00><3E><02><1C><00><00><00><2C><00><00><00><0F><A2><A2><FF><E5> [1]: 1 [2]: 1 [3]: 1 [4]: 528 [5]: 69 [6]: 0 [7]: 4 [8]: 570 [9]: 566 [10]: 480 [11]: 700 [12]: 1724 [13]: 540 [14]: 62 [15]: 540 [16]: 0 [17]: 44 [18]: 0 [19]: 15 [20]: -23902
From the documentation you can see the battery voltage is currently [15]: 540 or 54V.
The measured voltage is actually 52.9 so this is a long way out.
The documentation seems to suggest it could be as simple as writing the correct value??
If I understand the documentation total energy produced is 1541.790Wh?
I had the same idea when I started to read the RS485 from this unit. Never really had the time to find out how to do it and ended up with a quick Esphome script for my Home Assistant.driver to integrate the charger into Victron Venus OS