Replies: 4 comments
-
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Here are some more Fresh Logs after having just rebooted again... ==> /data/var/lib/serial-starter/ttyUSB1 <== ==> /data/var/lib/serial-starter/ttyUSB2 <== ==> /data/var/lib/serial-starter/ttyUSB3 <== ==> /data/var/lib/serial-starter/ttyUSB4 <== Broadcast message from root@raspberrypi4 (pts/0) (Sun Apr 27 04:08:05 2025): Stopping /service/dbus-serialbattery.ttyUSB3... root@raspberrypi4:/data/apps/dbus-serialbattery# svstat /service/dbus-serialbattery.tty* Stopping /service/dbus-serialbattery.ttyUSB3... root@raspberrypi4:/data/apps/dbus-serialbattery# reboot Broadcast message from root@raspberrypi4 (pts/0) (Sun Apr 27 04:14:38 2025): Stopping /service/dbus-serialbattery.ttyUSB3... root@raspberrypi4: ==> /data/var/lib/serial-starter/ttyUSB1 <== ==> /data/var/lib/serial-starter/ttyUSB2 <== ==> /data/var/lib/serial-starter/ttyUSB3 <== ==> /data/var/lib/serial-starter/ttyUSB4 <== ==> /data/var/lib/serial-starter/ttyUSB1 <== ==> /data/var/lib/serial-starter/ttyUSB2 <== ==> /data/var/lib/serial-starter/ttyUSB3 <== ==> /data/var/lib/serial-starter/ttyUSB4 <== |
Beta Was this translation helpful? Give feedback.
-
I see the SerialBattery 310Ah show up off n on but not keeping a good connection over the interface for some reason - not sure why? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have been struggling for over a yr with this HW12 JK-BMS Inverter kind, this is HW14A Model PB1A16S-15P which I am running with FW SW version 14.24. I am on Venus OS on Raspberry PI 4B with FW v3.55. I have two 48V DIY Batteries (with LFP 280Ah and 310Ah x16 cells each) that are wired in parallel on Victron Lynx Power In/Distributor to two Victron Quattro 3000Va Pure-Sine wave inverters in Split Phase. I have tested with dbus-serial-battery v1.5 Production nightly build as well as Beta v1.6. The batteries are connected via RS485-Serial to USB interface - I have tried RS485-1 or RS485-2 Ports.
PS: Referring to below Post as I found it similar to my thread but could not solve it still:
#176
I am able to get both the batteries to show up over Wifi- Interface no issues. However, my troubles come with the Serial interface since Wifi is not very reliable and goes away from time to time without a reasn. I ve only made the 280Ah available for Wifi and want to get the 310Ah working on Serial. When I reboot most of the time I would see the 310Ah battery show up after reboot for first 6-7minutes and then it disappears after 10-mins or so. Also, when I re-install the Driver the 310Ah battery shows up.
I would like to understand if the Serial Batery is not fully supported for the HW14A PB kind BMS and if there may be a reason why this is happening.
Attached below are my logs and my config.ini file.
INFO:SerialBattery:Venus OS v3.55 running on Raspberry Pi 4 Model B Rev 1.5
root@raspberrypi4:~# cd /data/apps/dbus-serialbattery/
root@raspberrypi4:/data/apps/dbus-serialbattery# cat config.ini
[DEFAULT]
; If you want to add custom values/settings, then check the values/settings you want to change in "config.default.ini"
; and insert them below to persist future driver updates.
; --------- Set logging level ---------
; ERROR: Only errors are logged
; WARNING: Errors and warnings are logged
; INFO: Errors, warnings, and info messages are logged
; DEBUG: Errors, warnings, info, and debug messages are logged
LOGGING = INFO
; Example (remove the semicolon ";" to uncomment and activate the value/setting):
; MAX_BATTERY_CHARGE_CURRENT = 50.0
; MAX_BATTERY_DISCHARGE_CURRENT = 60.0
; --------- Battery Current Limits ---------
; +++ Limits apply to each individual battery/BMS. +++
; +++ If you have multiple batteries, you need a battery aggregator. +++
MAX_BATTERY_CHARGE_CURRENT = 55.0
MAX_BATTERY_DISCHARGE_CURRENT = 110.0
; --------- Bluetooth BMS ---------
; +++ Bluetooth connections may be unstable on some systems. +++
; +++ For a stable connection, use the serial connection. +++
; Description:
; Specify the Bluetooth BMS and its MAC address that you want to use. Leave
; Available Bluetooth BMS:
; Jkbms_Ble, LltJbd_Ble
; Example for one BMS:
; BLUETOOTH_BMS = Jkbms_Ble C8:47:8C:00:00:00
; Example for multiple BMS:
; BLUETOOTH_BMS = Jkbms_Ble C8:47:8C:00:00:00, Jkbms_Ble C8:47:8C:00:00:11,
;BLUETOOTH_BMS = Jkbms_Ble C8:47:80:07:A7:35
;BLUETOOTH_BMS = Jkbms_Ble C8:47:80:07:A6:7E, Jkbms_Ble C8:47:80:07:A7:35
; BLUETOOTH_BMS = Jkbms_Ble C8:47:80:07:A7:35, Jkbms_Ble C8:47:80:07:A6:7E
;BLUETOOTH_BMS = Jkbms_Ble C8:47:80:07:A7:35
;BLUETOOTH_BMS = Jkbms_Ble C8:47:80:07:A6:7E
;BLUETOOTH_BMS = Jkbms_Ble C8:47:80:07:A7:35, Jkbms_Ble C8:47:80:07:A6:7E
;BLUETOOTH_BMS = Jkbms_Ble C8:47:80:07:A6:7E
;BLUETOOTH_BMS = Jkbms_Ble C8:47:80:07:A7:35, Jkbms_Ble C8:47:80:07:A6:7E
;BLUETOOTH_BMS = Jkbms_Ble C8:47:80:07:A6:7E
;BLUETOOTH_BMS = Jkbms_Ble C8:47:80:07:A7:35, Jkbms_Ble C8:47:80:07:A6:7E
; BLUETOOTH_BMS = Jkbms_Ble C8:47:80:07:A6:7E
;BLUETOOTH_BMS = Jkbms_Ble C8:47:80:07:A7:35, Jkbms_Ble C8:47:80:07:A6:7E
BLUETOOTH_BMS = Jkbms_Ble C8:47:80:07:A6:7E
; --------- CAN BMS ---------
; Description:
; Specify the CAN port(s) where the BMS is connected. Leave empty to disable
; Show available CAN ports with: canshow
; Available CAN BMS:
; Daly_Can, Jkbms_Can
; Example for one CAN port (Cerbo GX MK2, Ekrano GX):
; CAN_PORT = vecan0, vecan1
; Example for one CAN port (Cerbo GX, Raspberry Pi):
; CAN_PORT = can0
; Example for multiple CAN ports:
; CAN_PORT = can0, can8, can9
CAN_PORT = can0
; --------- Modbus (multiple BMS on one serial adapter) ---------
; Description:
; Specify the Modbus addresses as hexadecimal numbers for which a dbus-seria
; If left empty, the driver will connect only to the default address specifi
; Example:
; MODBUS_ADDRESSES = 0x30, 0x31, 0x32, 0x33
;MODBUS_ADDRESSES = 0x00, 0x01, 0x10
root@raspberrypi4:/data/apps/dbus-serialbattery# head /data/var/lib/serial-starter/*
==> /data/var/lib/serial-starter/ttyUSB0 <==
vedirect
==> /data/var/lib/serial-starter/ttyUSB1 <==
mkx
==> /data/var/lib/serial-starter/ttyUSB2 <==
vedirect
==> /data/var/lib/serial-starter/ttyUSB3 <==
sbattery
==> /data/var/lib/serial-starter/ttyUSB4 <==
sbattery
root@raspberrypi4:
# svstat /service/dbus-serialbattery.tty*# svstat /service/dbus-blebattery.*/service/dbus-serialbattery.ttyUSB3: up (pid 5447) 237 seconds
/service/dbus-serialbattery.ttyUSB4: up (pid 5494) 235 seconds
root@raspberrypi4:
/service/dbus-blebattery.0: up (pid 3913) 458 seconds
root@raspberrypi4:~# bash /data/apps/dbus-serialbattery/restart.sh
Stopping /service/dbus-serialbattery.ttyUSB3...
Stopping /service/dbus-serialbattery.ttyUSB4...
Stopping /service/dbus-blebattery.0...
Stopping /service/dbus-canbattery.can0...
Stopping bluetooth: bluetoothd.
Starting bluetooth: bluetoothd.
Starting /service/dbus-serialbattery.ttyUSB3...
Starting /service/dbus-serialbattery.ttyUSB4...
Starting /service/dbus-blebattery.0...
Starting /service/dbus-canbattery.can0...
root@raspberrypi4:
# tail -F -n 100 /data/log/dbus-serialbattery.ttyUSB3/current | tai64nlocal# tail -F -n 100 /data/log/dbus-serialbattery.ttyUSB4/current | tai64nlocal2025-04-27 04:23:23.246131500 ERROR:SerialBattery:[Errno 5] could not open port /dev/ttyUSB3: [Errno 5] Input/output error: '/dev/ttyUSB3'
2025-04-27 04:23:23.246465500 ERROR:SerialBattery:Serial port could not be opened
2025-04-27 04:23:23.250211500 INFO:SerialBattery:Testing Jkbms_pb at address "\x01"
2025-04-27 04:23:26.422924500 ERROR:SerialBattery:[Errno 5] could not open port /dev/ttyUSB3: [Errno 5] Input/output error: '/dev/ttyUSB3'
2025-04-27 04:23:26.423204500 ERROR:SerialBattery:Serial port could not be opened
2025-04-27 04:23:26.423613500 INFO:SerialBattery:Testing LltJbd at address "\x00"
2025-04-27 04:23:29.542745500 ERROR:SerialBattery:[Errno 5] could not open port /dev/ttyUSB3: [Errno 5] Input/output error: '/dev/ttyUSB3'
2025-04-27 04:23:29.543041500 ERROR:SerialBattery:Serial port could not be opened
2025-04-27 04:23:29.543485500 INFO:SerialBattery:Testing Pace at address "\x00"
2025-04-27 04:23:32.663882500 ERROR:SerialBattery:[Errno 5] could not open port /dev/ttyUSB3: [Errno 5] Input/output error: '/dev/ttyUSB3'
2025-04-27 04:23:32.664232500 ERROR:SerialBattery:Serial port could not be opened
2025-04-27 04:23:32.664698500 INFO:SerialBattery:Testing Renogy at address "\x30"
2025-04-27 04:23:35.783978500 ERROR:SerialBattery:[Errno 5] could not open port /dev/ttyUSB3: [Errno 5] Input/output error: '/dev/ttyUSB3'
2025-04-27 04:23:35.784270500 ERROR:SerialBattery:Serial port could not be opened
2025-04-27 04:23:35.784712500 INFO:SerialBattery:Testing Renogy at address "\xf7"
2025-04-27 04:23:38.902765500 ERROR:SerialBattery:[Errno 5] could not open port /dev/ttyUSB3: [Errno 5] Input/output error: '/dev/ttyUSB3'
2025-04-27 04:23:38.903061500 ERROR:SerialBattery:Serial port could not be opened
2025-04-27 04:23:38.903487500 INFO:SerialBattery:Testing Seplos at address "\x00"
2025-04-27 04:23:42.022630500 ERROR:SerialBattery:Exception occurred: SerialException(5, "could not open port /dev/ttyUSB3: [Errno 5] Input/output error: '/dev/ttyUSB3'") of type <class 'serial.serialutil.SerialException'> in /data/apps/dbus-serialbattery/bms/seplos.py line #105
2025-04-27 04:23:42.022996500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2025-04-27 04:23:42.023335500 INFO:SerialBattery:Testing Seplosv3
2025-04-27 04:23:45.152596500 ERROR:SerialBattery:Non blocking exception occurred: SerialException(5, "could not open port /dev/ttyUSB3: [Errno 5] Input/output error: '/dev/ttyUSB3'") of type <class 'serial.serialutil.SerialException'> in /data/apps/dbus-serialbattery/dbus-serialbattery.py line #215
2025-04-27 04:23:45.653740500 INFO:SerialBattery:-- Testing BMS: 3 of 3 rounds
2025-04-27 04:23:45.654136500 INFO:SerialBattery:Testing Daly at address "\x40"
2025-04-27 04:23:48.824953500 ERROR:SerialBattery:[Errno 5] could not open port /dev/ttyUSB3: [Errno 5] Input/output error: '/dev/ttyUSB3'
2025-04-27 04:23:51.942967500 ERROR:SerialBattery:[Errno 5] could not open port /dev/ttyUSB3: [Errno 5] Input/output error: '/dev/ttyUSB3'
2025-04-27 04:23:55.063036500 ERROR:SerialBattery:[Errno 5] could not open port /dev/ttyUSB3: [Errno 5] Input/output error: '/dev/ttyUSB3'
2025-04-27 04:23:55.063467500 ERROR:SerialBattery:Exception occurred: AttributeError('enter') of type <class 'AttributeError'> in /data/apps/dbus-serialbattery/bms/daly.py line #84
2025-04-27 04:23:55.063726500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2025-04-27 04:23:55.064073500 INFO:SerialBattery:Testing Daly at address "\x80"
2025-04-27 04:23:58.182782500 ERROR:SerialBattery:[Errno 5] could not open port /dev/ttyUSB3: [Errno 5] Input/output error: '/dev/ttyUSB3'
2025-04-27 04:24:01.304241500 ERROR:SerialBattery:[Errno 5] could not open port /dev/ttyUSB3: [Errno 5] Input/output error: '/dev/ttyUSB3'
2025-04-27 04:24:04.422836500 ERROR:SerialBattery:[Errno 5] could not open port /dev/ttyUSB3: [Errno 5] Input/output error: '/dev/ttyUSB3'
2025-04-27 04:24:04.423284500 ERROR:SerialBattery:Exception occurred: AttributeError('enter') of type <class 'AttributeError'> in /data/apps/dbus-serialbattery/bms/daly.py line #84
2025-04-27 04:24:04.423548500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2025-04-27 04:24:04.423897500 INFO:SerialBattery:Testing Daren485 at address "\x01"
2025-04-27 04:24:07.542511500 ERROR:SerialBattery:[Errno 5] could not open port /dev/ttyUSB3: [Errno 5] Input/output error: '/dev/ttyUSB3'
2025-04-27 04:24:10.662497500 ERROR:SerialBattery:[Errno 5] could not open port /dev/ttyUSB3: [Errno 5] Input/output error: '/dev/ttyUSB3'
2025-04-27 04:24:13.785730500 ERROR:SerialBattery:[Errno 5] could not open port /dev/ttyUSB3: [Errno 5] Input/output error: '/dev/ttyUSB3'
2025-04-27 04:24:13.786441500 ERROR:SerialBattery:Exception occurred: AttributeError('enter') of type <class 'AttributeError'> in /data/apps/dbus-serialbattery/bms/daren_485.py line #40
2025-04-27 04:24:13.786906500 INFO:SerialBattery:Testing Ecs
2025-04-27 04:24:16.902916500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2025-04-27 04:24:16.904929500 INFO:SerialBattery:Testing EG4_Lifepower at address "\x01"
2025-04-27 04:24:20.022864500 ERROR:SerialBattery:[Errno 5] could not open port /dev/ttyUSB3: [Errno 5] Input/output error: '/dev/ttyUSB3'
2025-04-27 04:24:20.023557500 ERROR:SerialBattery:Serial port could not be opened
2025-04-27 04:24:23.142894500 ERROR:SerialBattery:[Errno 5] could not open port /dev/ttyUSB3: [Errno 5] Input/output error: '/dev/ttyUSB3'
2025-04-27 04:24:23.143468500 ERROR:SerialBattery:Serial port could not be opened
2025-04-27 04:24:23.144131500 INFO:SerialBattery:Testing EG4_LL at address "\x01"
2025-04-27 04:24:26.262944500 ERROR:SerialBattery:[Errno 5] could not open port /dev/ttyUSB3: [Errno 5] Input/output error: '/dev/ttyUSB3'
2025-04-27 04:24:26.263543500 ERROR:SerialBattery:Serial port could not be opened
2025-04-27 04:24:26.264211500 INFO:SerialBattery:Testing Felicity at address "\x01"
2025-04-27 04:24:29.383257500 ERROR:SerialBattery:[Errno 5] could not open port /dev/ttyUSB3: [Errno 5] Input/output error: '/dev/ttyUSB3'
2025-04-27 04:24:29.383734500 ERROR:SerialBattery:Serial port could not be opened
2025-04-27 04:24:29.384306500 INFO:SerialBattery:Testing HeltecModbus at address "\x01"
2025-04-27 04:24:32.503316500 ERROR:SerialBattery:Non blocking exception occurred: SerialException(5, "could not open port /dev/ttyUSB3: [Errno 5] Input/output error: '/dev/ttyUSB3'") of type <class 'serial.serialutil.SerialException'> in /data/apps/dbus-serialbattery/dbus-serialbattery.py line #215
2025-04-27 04:24:32.505053500 INFO:SerialBattery:Testing HLPdataBMS4S
2025-04-27 04:24:35.622792500 ERROR:SerialBattery:[Errno 5] could not open port /dev/ttyUSB3: [Errno 5] Input/output error: '/dev/ttyUSB3'
2025-04-27 04:24:35.624380500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2025-04-27 04:24:35.624387500 INFO:SerialBattery:Testing Jkbms
2025-04-27 04:24:38.742888500 ERROR:SerialBattery:[Errno 5] could not open port /dev/ttyUSB3: [Errno 5] Input/output error: '/dev/ttyUSB3'
2025-04-27 04:24:38.743171500 ERROR:SerialBattery:Serial port could not be opened
2025-04-27 04:24:38.743602500 INFO:SerialBattery:Testing Jkbms_pb at address "\x01"
2025-04-27 04:24:41.862390500 ERROR:SerialBattery:[Errno 5] could not open port /dev/ttyUSB3: [Errno 5] Input/output error: '/dev/ttyUSB3'
2025-04-27 04:24:41.862665500 ERROR:SerialBattery:Serial port could not be opened
2025-04-27 04:24:41.863074500 INFO:SerialBattery:Testing LltJbd at address "\x00"
2025-04-27 04:24:44.983474500 ERROR:SerialBattery:[Errno 5] could not open port /dev/ttyUSB3: [Errno 5] Input/output error: '/dev/ttyUSB3'
2025-04-27 04:24:44.983933500 ERROR:SerialBattery:Serial port could not be opened
2025-04-27 04:24:44.984488500 INFO:SerialBattery:Testing Pace at address "\x00"
2025-04-27 04:24:48.102851500 ERROR:SerialBattery:[Errno 5] could not open port /dev/ttyUSB3: [Errno 5] Input/output error: '/dev/ttyUSB3'
2025-04-27 04:24:48.103128500 ERROR:SerialBattery:Serial port could not be opened
2025-04-27 04:24:48.103549500 INFO:SerialBattery:Testing Renogy at address "\x30"
2025-04-27 04:24:51.231134500 ERROR:SerialBattery:[Errno 5] could not open port /dev/ttyUSB3: [Errno 5] Input/output error: '/dev/ttyUSB3'
2025-04-27 04:24:51.231683500 ERROR:SerialBattery:Serial port could not be opened
2025-04-27 04:24:51.232271500 INFO:SerialBattery:Testing Renogy at address "\xf7"
2025-04-27 04:24:54.422474500 ERROR:SerialBattery:[Errno 5] could not open port /dev/ttyUSB3: [Errno 5] Input/output error: '/dev/ttyUSB3'
2025-04-27 04:24:54.422752500 ERROR:SerialBattery:Serial port could not be opened
2025-04-27 04:24:54.423168500 INFO:SerialBattery:Testing Seplos at address "\x00"
2025-04-27 04:24:57.542941500 ERROR:SerialBattery:Exception occurred: SerialException(5, "could not open port /dev/ttyUSB3: [Errno 5] Input/output error: '/dev/ttyUSB3'") of type <class 'serial.serialutil.SerialException'> in /data/apps/dbus-serialbattery/bms/seplos.py line #105
2025-04-27 04:24:57.544928500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2025-04-27 04:24:57.544934500 INFO:SerialBattery:Testing Seplosv3
2025-04-27 04:25:00.664603500 ERROR:SerialBattery:Non blocking exception occurred: SerialException(5, "could not open port /dev/ttyUSB3: [Errno 5] Input/output error: '/dev/ttyUSB3'") of type <class 'serial.serialutil.SerialException'> in /data/apps/dbus-serialbattery/dbus-serialbattery.py line #215
2025-04-27 04:25:01.170075500 ERROR:SerialBattery:ERROR >>> No battery connection at /dev/ttyUSB3
2025-04-27 04:25:01.170085500 INFO:SerialBattery:Exit signal received, exiting gracefully...
2025-04-27 04:25:01.170089500 INFO:SerialBattery:Stopped dbus-serialbattery with exit code 1
2025-04-27 04:25:33.362201500 INFO:SerialBattery:
2025-04-27 04:25:33.362528500 INFO:SerialBattery:Starting dbus-serialbattery
2025-04-27 04:25:33.364409500 INFO:SerialBattery:Venus OS v3.55 running on Raspberry Pi 4 Model B Rev 1.5
2025-04-27 04:25:33.364709500 INFO:SerialBattery:dbus-serialbattery v2.0.20250324dev
2025-04-27 04:25:49.381455500 INFO:SerialBattery:-- Testing BMS: 1 of 3 rounds
2025-04-27 04:25:49.381849500 INFO:SerialBattery:Testing Daly at address "\x40"
2025-04-27 04:25:52.503031500 INFO:SerialBattery:Exit signal received, exiting gracefully...
2025-04-27 04:25:52.503424500 INFO:SerialBattery:Stopped dbus-serialbattery with exit code 0
2025-04-27 04:25:55.492883500 INFO:SerialBattery:
2025-04-27 04:25:55.493245500 INFO:SerialBattery:Starting dbus-serialbattery
2025-04-27 04:25:55.495165500 INFO:SerialBattery:Venus OS v3.55 running on Raspberry Pi 4 Model B Rev 1.5
2025-04-27 04:25:55.495510500 INFO:SerialBattery:dbus-serialbattery v2.0.20250324dev
2025-04-27 04:26:11.510918500 INFO:SerialBattery:-- Testing BMS: 1 of 3 rounds
2025-04-27 04:26:11.511562500 INFO:SerialBattery:Testing Daly at address "\x40"
2025-04-27 04:26:14.985179500 ERROR:SerialBattery:[Errno 5] could not open port /dev/ttyUSB3: [Errno 5] Input/output error: '/dev/ttyUSB3'
2025-04-27 04:26:18.102806500 ERROR:SerialBattery:[Errno 5] could not open port /dev/ttyUSB3: [Errno 5] Input/output error: '/dev/ttyUSB3'
^C
root@raspberrypi4:
2025-04-27 04:23:27.544006500 ERROR:SerialBattery:Serial port could not be opened
2025-04-27 04:23:27.544653500 INFO:SerialBattery:Testing LltJbd at address "\x00"
2025-04-27 04:23:30.662775500 ERROR:SerialBattery:[Errno 5] could not open port /dev/ttyUSB4: [Errno 5] Input/output error: '/dev/ttyUSB4'
2025-04-27 04:23:30.664487500 ERROR:SerialBattery:Serial port could not be opened
2025-04-27 04:23:30.665271500 INFO:SerialBattery:Testing Pace at address "\x00"
2025-04-27 04:23:33.786930500 ERROR:SerialBattery:[Errno 5] could not open port /dev/ttyUSB4: [Errno 5] Input/output error: '/dev/ttyUSB4'
2025-04-27 04:23:33.787212500 ERROR:SerialBattery:Serial port could not be opened
2025-04-27 04:23:33.787619500 INFO:SerialBattery:Testing Renogy at address "\x30"
2025-04-27 04:23:36.902380500 ERROR:SerialBattery:[Errno 5] could not open port /dev/ttyUSB4: [Errno 5] Input/output error: '/dev/ttyUSB4'
2025-04-27 04:23:36.902643500 ERROR:SerialBattery:Serial port could not be opened
2025-04-27 04:23:36.903043500 INFO:SerialBattery:Testing Renogy at address "\xf7"
2025-04-27 04:23:40.033107500 ERROR:SerialBattery:[Errno 5] could not open port /dev/ttyUSB4: [Errno 5] Input/output error: '/dev/ttyUSB4'
2025-04-27 04:23:40.033395500 ERROR:SerialBattery:Serial port could not be opened
2025-04-27 04:23:40.033808500 INFO:SerialBattery:Testing Seplos at address "\x00"
2025-04-27 04:23:43.222816500 ERROR:SerialBattery:Exception occurred: SerialException(5, "could not open port /dev/ttyUSB4: [Errno 5] Input/output error: '/dev/ttyUSB4'") of type <class 'serial.serialutil.SerialException'> in /data/apps/dbus-serialbattery/bms/seplos.py line #105
2025-04-27 04:23:43.223204500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2025-04-27 04:23:43.223621500 INFO:SerialBattery:Testing Seplosv3
2025-04-27 04:23:46.343291500 ERROR:SerialBattery:Non blocking exception occurred: SerialException(5, "could not open port /dev/ttyUSB4: [Errno 5] Input/output error: '/dev/ttyUSB4'") of type <class 'serial.serialutil.SerialException'> in /data/apps/dbus-serialbattery/dbus-serialbattery.py line #215
2025-04-27 04:23:46.844432500 INFO:SerialBattery:-- Testing BMS: 3 of 3 rounds
2025-04-27 04:23:46.844855500 INFO:SerialBattery:Testing Daly at address "\x40"
2025-04-27 04:23:50.022631500 ERROR:SerialBattery:[Errno 5] could not open port /dev/ttyUSB4: [Errno 5] Input/output error: '/dev/ttyUSB4'
2025-04-27 04:23:53.142911500 ERROR:SerialBattery:[Errno 5] could not open port /dev/ttyUSB4: [Errno 5] Input/output error: '/dev/ttyUSB4'
2025-04-27 04:23:56.273276500 ERROR:SerialBattery:[Errno 5] could not open port /dev/ttyUSB4: [Errno 5] Input/output error: '/dev/ttyUSB4'
2025-04-27 04:23:56.273285500 ERROR:SerialBattery:Exception occurred: AttributeError('enter') of type <class 'AttributeError'> in /data/apps/dbus-serialbattery/bms/daly.py line #84
2025-04-27 04:23:56.273291500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2025-04-27 04:23:56.273295500 INFO:SerialBattery:Testing Daly at address "\x80"
2025-04-27 04:23:59.462195500 ERROR:SerialBattery:[Errno 5] could not open port /dev/ttyUSB4: [Errno 5] Input/output error: '/dev/ttyUSB4'
2025-04-27 04:24:02.592708500 ERROR:SerialBattery:[Errno 5] could not open port /dev/ttyUSB4: [Errno 5] Input/output error: '/dev/ttyUSB4'
2025-04-27 04:24:05.783023500 ERROR:SerialBattery:[Errno 5] could not open port /dev/ttyUSB4: [Errno 5] Input/output error: '/dev/ttyUSB4'
2025-04-27 04:24:05.784357500 ERROR:SerialBattery:Exception occurred: AttributeError('enter') of type <class 'AttributeError'> in /data/apps/dbus-serialbattery/bms/daly.py line #84
2025-04-27 04:24:05.784821500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2025-04-27 04:24:05.785304500 INFO:SerialBattery:Testing Daren485 at address "\x01"
2025-04-27 04:24:08.902751500 ERROR:SerialBattery:[Errno 5] could not open port /dev/ttyUSB4: [Errno 5] Input/output error: '/dev/ttyUSB4'
2025-04-27 04:24:12.022332500 ERROR:SerialBattery:[Errno 5] could not open port /dev/ttyUSB4: [Errno 5] Input/output error: '/dev/ttyUSB4'
2025-04-27 04:24:15.153881500 ERROR:SerialBattery:[Errno 5] could not open port /dev/ttyUSB4: [Errno 5] Input/output error: '/dev/ttyUSB4'
2025-04-27 04:24:15.154828500 ERROR:SerialBattery:Exception occurred: AttributeError('enter') of type <class 'AttributeError'> in /data/apps/dbus-serialbattery/bms/daren_485.py line #40
2025-04-27 04:24:15.155627500 INFO:SerialBattery:Testing Ecs
2025-04-27 04:24:18.344282500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2025-04-27 04:24:18.344288500 INFO:SerialBattery:Testing EG4_Lifepower at address "\x01"
2025-04-27 04:24:21.462667500 ERROR:SerialBattery:[Errno 5] could not open port /dev/ttyUSB4: [Errno 5] Input/output error: '/dev/ttyUSB4'
2025-04-27 04:24:21.463518500 ERROR:SerialBattery:Serial port could not be opened
2025-04-27 04:24:24.582624500 ERROR:SerialBattery:[Errno 5] could not open port /dev/ttyUSB4: [Errno 5] Input/output error: '/dev/ttyUSB4'
2025-04-27 04:24:24.582898500 ERROR:SerialBattery:Serial port could not be opened
2025-04-27 04:24:24.583311500 INFO:SerialBattery:Testing EG4_LL at address "\x01"
2025-04-27 04:24:27.702645500 ERROR:SerialBattery:[Errno 5] could not open port /dev/ttyUSB4: [Errno 5] Input/output error: '/dev/ttyUSB4'
2025-04-27 04:24:27.702929500 ERROR:SerialBattery:Serial port could not be opened
2025-04-27 04:24:27.703333500 INFO:SerialBattery:Testing Felicity at address "\x01"
2025-04-27 04:24:30.822293500 ERROR:SerialBattery:[Errno 5] could not open port /dev/ttyUSB4: [Errno 5] Input/output error: '/dev/ttyUSB4'
2025-04-27 04:24:30.822859500 ERROR:SerialBattery:Serial port could not be opened
2025-04-27 04:24:30.823506500 INFO:SerialBattery:Testing HeltecModbus at address "\x01"
2025-04-27 04:24:33.943025500 ERROR:SerialBattery:Non blocking exception occurred: SerialException(5, "could not open port /dev/ttyUSB4: [Errno 5] Input/output error: '/dev/ttyUSB4'") of type <class 'serial.serialutil.SerialException'> in /data/apps/dbus-serialbattery/dbus-serialbattery.py line #215
2025-04-27 04:24:33.943571500 INFO:SerialBattery:Testing HLPdataBMS4S
2025-04-27 04:24:37.062349500 ERROR:SerialBattery:[Errno 5] could not open port /dev/ttyUSB4: [Errno 5] Input/output error: '/dev/ttyUSB4'
2025-04-27 04:24:37.062665500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2025-04-27 04:24:37.062976500 INFO:SerialBattery:Testing Jkbms
2025-04-27 04:24:40.186165500 ERROR:SerialBattery:[Errno 5] could not open port /dev/ttyUSB4: [Errno 5] Input/output error: '/dev/ttyUSB4'
2025-04-27 04:24:40.186841500 ERROR:SerialBattery:Serial port could not be opened
2025-04-27 04:24:40.187474500 INFO:SerialBattery:Testing Jkbms_pb at address "\x01"
2025-04-27 04:24:43.315068500 ERROR:SerialBattery:[Errno 5] could not open port /dev/ttyUSB4: [Errno 5] Input/output error: '/dev/ttyUSB4'
2025-04-27 04:24:43.315368500 ERROR:SerialBattery:Serial port could not be opened
2025-04-27 04:24:43.315788500 INFO:SerialBattery:Testing LltJbd at address "\x00"
2025-04-27 04:24:46.503085500 ERROR:SerialBattery:[Errno 5] could not open port /dev/ttyUSB4: [Errno 5] Input/output error: '/dev/ttyUSB4'
2025-04-27 04:24:46.503389500 ERROR:SerialBattery:Serial port could not be opened
2025-04-27 04:24:46.504050500 INFO:SerialBattery:Testing Pace at address "\x00"
2025-04-27 04:24:49.622492500 ERROR:SerialBattery:[Errno 5] could not open port /dev/ttyUSB4: [Errno 5] Input/output error: '/dev/ttyUSB4'
2025-04-27 04:24:49.622780500 ERROR:SerialBattery:Serial port could not be opened
2025-04-27 04:24:49.623380500 INFO:SerialBattery:Testing Renogy at address "\x30"
2025-04-27 04:24:52.754046500 ERROR:SerialBattery:[Errno 5] could not open port /dev/ttyUSB4: [Errno 5] Input/output error: '/dev/ttyUSB4'
2025-04-27 04:24:52.754551500 ERROR:SerialBattery:Serial port could not be opened
2025-04-27 04:24:52.755071500 INFO:SerialBattery:Testing Renogy at address "\xf7"
2025-04-27 04:24:55.942856500 ERROR:SerialBattery:[Errno 5] could not open port /dev/ttyUSB4: [Errno 5] Input/output error: '/dev/ttyUSB4'
2025-04-27 04:24:55.943149500 ERROR:SerialBattery:Serial port could not be opened
2025-04-27 04:24:55.943684500 INFO:SerialBattery:Testing Seplos at address "\x00"
2025-04-27 04:24:59.062349500 ERROR:SerialBattery:Exception occurred: SerialException(5, "could not open port /dev/ttyUSB4: [Errno 5] Input/output error: '/dev/ttyUSB4'") of type <class 'serial.serialutil.SerialException'> in /data/apps/dbus-serialbattery/bms/seplos.py line #105
2025-04-27 04:24:59.062801500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2025-04-27 04:24:59.063272500 INFO:SerialBattery:Testing Seplosv3
2025-04-27 04:25:02.183653500 ERROR:SerialBattery:Non blocking exception occurred: SerialException(5, "could not open port /dev/ttyUSB4: [Errno 5] Input/output error: '/dev/ttyUSB4'") of type <class 'serial.serialutil.SerialException'> in /data/apps/dbus-serialbattery/dbus-serialbattery.py line #215
2025-04-27 04:25:02.684987500 ERROR:SerialBattery:ERROR >>> No battery connection at /dev/ttyUSB4
2025-04-27 04:25:02.685840500 INFO:SerialBattery:Exit signal received, exiting gracefully...
2025-04-27 04:25:02.688714500 INFO:SerialBattery:Stopped dbus-serialbattery with exit code 1
2025-04-27 04:25:34.559317500 INFO:SerialBattery:
2025-04-27 04:25:34.559916500 INFO:SerialBattery:Starting dbus-serialbattery
2025-04-27 04:25:34.561755500 INFO:SerialBattery:Venus OS v3.55 running on Raspberry Pi 4 Model B Rev 1.5
2025-04-27 04:25:34.562189500 INFO:SerialBattery:dbus-serialbattery v2.0.20250324dev
2025-04-27 04:25:50.576234500 INFO:SerialBattery:-- Testing BMS: 1 of 3 rounds
2025-04-27 04:25:50.576241500 INFO:SerialBattery:Testing Daly at address "\x40"
2025-04-27 04:25:53.735680500 INFO:SerialBattery:Exit signal received, exiting gracefully...
2025-04-27 04:25:53.736437500 INFO:SerialBattery:Stopped dbus-serialbattery with exit code 0
2025-04-27 04:25:55.411419500 INFO:SerialBattery:
2025-04-27 04:25:55.412150500 INFO:SerialBattery:Starting dbus-serialbattery
2025-04-27 04:25:55.414461500 INFO:SerialBattery:Venus OS v3.55 running on Raspberry Pi 4 Model B Rev 1.5
2025-04-27 04:25:55.415094500 INFO:SerialBattery:dbus-serialbattery v2.0.20250324dev
2025-04-27 04:26:11.430009500 INFO:SerialBattery:-- Testing BMS: 1 of 3 rounds
2025-04-27 04:26:11.430295500 INFO:SerialBattery:Testing Daly at address "\x40"
2025-04-27 04:26:15.072809500 ERROR:SerialBattery:[Errno 5] could not open port /dev/ttyUSB4: [Errno 5] Input/output error: '/dev/ttyUSB4'
2025-04-27 04:26:21.382729500 ERROR:SerialBattery:[Errno 5] could not open port /dev/ttyUSB4: [Errno 5] Input/output error: '/dev/ttyUSB4'
2025-04-27 04:26:27.624894500 ERROR:SerialBattery:[Errno 5] could not open port /dev/ttyUSB4: [Errno 5] Input/output error: '/dev/ttyUSB4'
2025-04-27 04:26:27.626919500 ERROR:SerialBattery:Exception occurred: AttributeError('enter') of type <class 'AttributeError'> in /data/apps/dbus-serialbattery/bms/daly.py line #84
2025-04-27 04:26:27.626928500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2025-04-27 04:26:27.626931500 INFO:SerialBattery:Testing Daly at address "\x80"
2025-04-27 04:26:30.742529500 ERROR:SerialBattery:[Errno 5] could not open port /dev/ttyUSB4: [Errno 5] Input/output error: '/dev/ttyUSB4'
^C
root@raspberrypi4:
# ls -l /dev/ttyUSB*# head /data/var/lib/serial-starter/*crw-rw---- 1 root dialout 188, 0 Apr 27 04:15 /dev/ttyUSB0
crw-rw---- 1 root dialout 188, 1 Apr 27 04:26 /dev/ttyUSB1
crw-rw---- 1 root dialout 188, 2 Apr 27 04:26 /dev/ttyUSB2
crw-rw---- 1 root dialout 188, 3 Apr 27 04:15 /dev/ttyUSB3
crw-rw---- 1 root dialout 188, 4 Apr 27 04:15 /dev/ttyUSB4
root@raspberrypi4:
==> /data/var/lib/serial-starter/ttyUSB0 <==
vedirect
==> /data/var/lib/serial-starter/ttyUSB1 <==
mkx
==> /data/var/lib/serial-starter/ttyUSB2 <==
vedirect
==> /data/var/lib/serial-starter/ttyUSB3 <==
sbattery
==> /data/var/lib/serial-starter/ttyUSB4 <==
sbattery
root@raspberrypi4:~#
The system is going down for reboot NOW! (console) (Sun Apr 27 15:57:21 2025):
Beta Was this translation helpful? Give feedback.
All reactions