Open kovaroman opened 1 week ago
Have you tried
cat /dev/ttyUSB0
and see if data is coming? If your JK is a Modbus version, then the _JKRS485 BMS binding will not work. It is for pure RS485 not for Modbus RTU protocol specification. If you can provide the JK Modbus RTU specification then I can create a binding for that :)
https://github.com/Louisvdw/dbus-serialbattery/discussions/969#discussioncomment-8668592 - here are some info about JK BMS RS485 Modbus V1.0
https://github.com/Louisvdw/dbus-serialbattery/files/14483776/BMS.RS485.Modbus.V1.0.pdf - original https://github.com/Louisvdw/dbus-serialbattery/files/14483784/Jikong.BMS.RS485.Modbus.universal.protocol.V1.0.pdf - translated
Thanks)
Hi, I have a JK B2A8S20P with a JK RS485 adapter (GPS UART port to RS485 port), it is working OK on windows with JK monitor app. I have configured on linux your configurator, tried to use ID 0 and 1, 115200 baud rate and 9600, my PC rs485 adapter is based on CH340 chip and starts on port
/dev/ttyUSB0
On windows my JK protocol is set to
JK BMS RS485 Modbus V1.0
and works well with JK monitor app, when I set this protocol and try to start your script (BMS type: JK_RS485, ID: 1, Port: /dev/ttyUSB0, Baudrate: 115200, Delay: 1000), it sends request and doesn't receive response.here is part of log:
I tried different config combinations, tried to changed UART protocol on BMS to
(9600) JK BMS RS485 Modbus V1.0
and set Baudrate 9600 in configurator, nothing changed. Does your script supportJK BMS RS485 Modbus V1.0
protocol on RS485?