Giter VIP home page Giter VIP logo

Comments (24)

mr-manuel avatar mr-manuel commented on July 17, 2024

There are no Venus OS 3.2, 3.3 and 3.4 versions. Probably you mean 3.20, 3.30 and 3.40.

Also there is a BIG message that no one wants to read, when opening an issue.

grafik

What is your system load? You can check it with uptime and/or top command.

from dbus-serialbattery.

gsxarne avatar gsxarne commented on July 17, 2024

Hi Manuel,
yes i was talking about 3.20,3.30 and so on.
sorry for ignoring the important notice. Actually i concentrated on the "how to troubleshoot" Guide. Maybe you should add the info about installing the nightly there, too.

I installed 1.2.20240318dev, and will monitor the behaviour this afternoon.

Systemload seems to be normal (with 1.2.20240318dev), serialbattery running at 1-2 percent:

CPU: 26% usr 6% sys 0% nic 65% idle 0% io 1% irq 0% sirq
Load average: 3.70 2.10 1.12 1/303 4629

I'll give you a feedback later wheter the cerbo crashes again or not.

from dbus-serialbattery.

mr-manuel avatar mr-manuel commented on July 17, 2024

The load already seems pretty high. Is this only because you recently restarted? You can also check with htop: https://github.com/mr-manuel/venus-os_helpful-scripts/tree/master/htop/armv7

from dbus-serialbattery.

Albarge avatar Albarge commented on July 17, 2024

I also had similar issues yesterday after deciding to update GuiMods to v10.16 and SetupHelper from v7.1 to v7.8 and VenusOS from v3.22 to v3.30. I had already been running dbus-serialbattery v1.2.20240227beta for a few days with no issues, but decided to edit the config file to include the: CVL_ICONTROLLER_MODE = True

After doing a serialbattery reinstall I lost all communication with my 3 JK BMS's and had the dreaded ERROR # 67 and multiple shutdowns. There were some GuiMods issues from SetupHelper v7.1 -v7.8, but I think my issue also may have been related to serialbattery.

I'll try the Nightly too, as I've had to run the system dumb overnight until I could figure out what to check.
I did wonder if having my old custom battery names in the config could have confused the latest beta that doesn't use them?

CerboGX GuiMods DVCC system off grid (Not ESS)
JK BMS x 3 RS485-USB
Battery Aggregator v3.0.15

from dbus-serialbattery.

gsxarne avatar gsxarne commented on July 17, 2024

The load already seems pretty high. Is this only because you recently restarted? You can also check with htop: https://github.com/mr-manuel/venus-os_helpful-scripts/tree/master/htop/armv7

Her is a screenshot from htop. Now CPU load is constantly above 30% with serialbattery below 2%

image

from dbus-serialbattery.

gsxarne avatar gsxarne commented on July 17, 2024

The Issues don't change with 1.2.20240318dev

from dbus-serialbattery.

Albarge avatar Albarge commented on July 17, 2024

The Issues don't change with 1.2.20240318dev

Neither for me, I see the JK BMS's in the device list but "Not Connected"

With command: dbus-spy I can see them show up for a second and then disappear so the connection is unstable

from dbus-serialbattery.

Albarge avatar Albarge commented on July 17, 2024

I just reverted back to this release: https://github.com/Louisvdw/dbus-serialbattery/releases/download/v1.0.20240102beta/venus-data.tar.gz

Instantly the BMS is connected, I'll test and see if it stays stable and report back.

But there was a note in the install, I don't know if it's important, but at least the BMS's are connected now.

Reinstall with missing files

from dbus-serialbattery.

Albarge avatar Albarge commented on July 17, 2024

Yep, v1.0.20240102beta seems stable for me running VenusOS v3.30, but both v1.2.20240227beta and 1.2.20240318dev showed the BMS's as 'Not Connected'

from dbus-serialbattery.

mr-manuel avatar mr-manuel commented on July 17, 2024

Are there no errors in the log? You should see some errors, if the driver crashes. If there are no errors, check if the system restarted.

from dbus-serialbattery.

Albarge avatar Albarge commented on July 17, 2024

This is my log now, but only seems to be today since reverting back to the older driver, I don't really know what I'm looking for though, but I can see some errors.

/data/etc/dbus-serialbattery$ tail -F -n 100 /data/log/dbus-serialbattery.ttyUSB0/current | tai64nlocal
2024-03-22 14:57:43.555701500 ERROR:SerialBattery:[Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
2024-03-22 14:57:44.557163500 ERROR:SerialBattery:[Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
2024-03-22 14:57:45.558619500 ERROR:SerialBattery:[Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
2024-03-22 14:57:46.559372500 ERROR:SerialBattery:[Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
2024-03-22 14:57:47.560727500 ERROR:SerialBattery:[Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
2024-03-22 14:57:48.561390500 ERROR:SerialBattery:[Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
2024-03-22 14:57:49.562042500 ERROR:SerialBattery:[Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
2024-03-22 14:57:50.568285500 ERROR:SerialBattery:[Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
2024-03-22 14:58:03.582721500 ERROR:SerialBattery:[Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
2024-03-22 14:58:04.584167500 ERROR:SerialBattery:[Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
2024-03-22 14:58:05.586042500 ERROR:SerialBattery:[Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
2024-03-22 14:58:06.587760500 ERROR:SerialBattery:[Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
2024-03-22 14:58:07.588409500 ERROR:SerialBattery:[Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
2024-03-22 15:08:43.758641500 ERROR:SerialBattery:>>> ERROR: No reply - returning [len:205/35329]
2024-03-22 15:36:03.422655500 ERROR:SerialBattery:>>> ERROR: No reply - returning [len:205/35329]
2024-03-22 15:48:18.650431500 ERROR:SerialBattery:>>> ERROR: No reply - returning [len:254/22019]
2024-03-22 16:19:50.723147500 INFO:SerialBattery:
2024-03-22 16:19:50.723841500 INFO:SerialBattery:Starting dbus-serialbattery
2024-03-22 16:19:50.725777500 INFO:SerialBattery:dbus-serialbattery v1.0.20240102beta
2024-03-22 16:20:06.741291500 INFO:SerialBattery:-- Testing BMS: 1 of 3 rounds
2024-03-22 16:20:06.742170500 INFO:SerialBattery:Testing Jkbms
2024-03-22 16:20:06.808506500 INFO:SerialBattery:Connection established to Jkbms
2024-03-22 16:20:06.809638500 INFO:SerialBattery:Battery Jkbms connected to dbus from /dev/ttyUSB0
2024-03-22 16:20:06.810533500 INFO:SerialBattery:========== Settings ==========
2024-03-22 16:20:06.811689500 INFO:SerialBattery:> Connection voltage: 27.99V | Current: 2.75A | SoC: None%
2024-03-22 16:20:06.812376500 INFO:SerialBattery:> Cell count: 8 | Cells populated: 0
2024-03-22 16:20:06.813067500 INFO:SerialBattery:> LINEAR LIMITATION ENABLE: False
2024-03-22 16:20:06.813775500 INFO:SerialBattery:> MAX BATTERY CHARGE CURRENT: 170.0A | MAX BATTERY DISCHARGE CURRENT: 200.0A
2024-03-22 16:20:06.814657500 INFO:SerialBattery:> CVCM:     True
2024-03-22 16:20:06.815468500 INFO:SerialBattery:> MIN CELL VOLTAGE: 2.9V | MAX CELL VOLTAGE: 3.5V
2024-03-22 16:20:06.816184500 INFO:SerialBattery:> CCCM CV:  True  | DCCM CV:  False
2024-03-22 16:20:06.816834500 INFO:SerialBattery:> CCCM T:   True  | DCCM T:   True
2024-03-22 16:20:06.817449500 INFO:SerialBattery:> CCCM SOC: False | DCCM SOC: False
2024-03-22 16:20:06.818031500 INFO:SerialBattery:Serial Number/Unique Identifier: JK_Bms_2
2024-03-22 16:20:17.427009500 INFO:SerialBattery:Found existing battery with DeviceInstance = 3
2024-03-22 16:20:18.283808500 INFO:SerialBattery:DeviceInstance = 3
2024-03-22 16:20:18.285055500 INFO:SerialBattery:Used device instances: ['3', '2', '1']
2024-03-22 16:20:18.286656500 INFO:SerialBattery:com.victronenergy.battery.ttyUSB0
2024-03-22 16:20:18.363911500 INFO:SerialBattery:publish config values = True
2024-03-22 16:20:27.560649500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2024-03-22 16:20:29.559977500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2024-03-22 16:25:12.725620500 INFO:SerialBattery:
2024-03-22 16:25:12.736100500 INFO:SerialBattery:Starting dbus-serialbattery
2024-03-22 16:25:12.738541500 INFO:SerialBattery:dbus-serialbattery v1.0.20240102beta
2024-03-22 16:25:28.758525500 INFO:SerialBattery:-- Testing BMS: 1 of 3 rounds
2024-03-22 16:25:28.758532500 INFO:SerialBattery:Testing Jkbms
2024-03-22 16:25:29.084668500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2024-03-22 16:25:29.587674500 INFO:SerialBattery:-- Testing BMS: 2 of 3 rounds
2024-03-22 16:25:29.587683500 INFO:SerialBattery:Testing Jkbms
2024-03-22 16:25:29.868283500 ERROR:SerialBattery:>>> ERROR: No reply - returning
2024-03-22 16:25:30.382378500 INFO:SerialBattery:-- Testing BMS: 3 of 3 rounds
2024-03-22 16:25:30.382387500 INFO:SerialBattery:Testing Jkbms
2024-03-22 16:25:30.451056500 INFO:SerialBattery:Connection established to Jkbms
2024-03-22 16:25:30.453635500 INFO:SerialBattery:Battery Jkbms connected to dbus from /dev/ttyUSB0
2024-03-22 16:25:30.454631500 INFO:SerialBattery:========== Settings ==========
2024-03-22 16:25:30.460545500 INFO:SerialBattery:> Connection voltage: 27.95V | Current: -2.59A | SoC: None%
2024-03-22 16:25:30.463130500 INFO:SerialBattery:> Cell count: 8 | Cells populated: 0
2024-03-22 16:25:30.463976500 INFO:SerialBattery:> LINEAR LIMITATION ENABLE: False
2024-03-22 16:25:30.466322500 INFO:SerialBattery:> MAX BATTERY CHARGE CURRENT: 170.0A | MAX BATTERY DISCHARGE CURRENT: 200.0A
2024-03-22 16:25:30.473731500 INFO:SerialBattery:> CVCM:     True
2024-03-22 16:25:30.474678500 INFO:SerialBattery:> MIN CELL VOLTAGE: 2.9V | MAX CELL VOLTAGE: 3.5V
2024-03-22 16:25:30.475580500 INFO:SerialBattery:> CCCM CV:  True  | DCCM CV:  False
2024-03-22 16:25:30.476421500 INFO:SerialBattery:> CCCM T:   True  | DCCM T:   True
2024-03-22 16:25:30.477213500 INFO:SerialBattery:> CCCM SOC: False | DCCM SOC: False
2024-03-22 16:25:30.477969500 INFO:SerialBattery:Serial Number/Unique Identifier: JK_Bms_2
2024-03-22 16:25:39.153632500 INFO:SerialBattery:Found existing battery with DeviceInstance = 3
2024-03-22 16:25:41.614499500 INFO:SerialBattery:DeviceInstance = 3
2024-03-22 16:25:41.615750500 INFO:SerialBattery:Used device instances: ['3', '2', '1']
2024-03-22 16:25:41.622637500 INFO:SerialBattery:com.victronenergy.battery.ttyUSB0
2024-03-22 16:25:41.898913500 INFO:SerialBattery:publish config values = True
2024-03-22 16:26:03.861776500 ERROR:SerialBattery:>>> ERROR: No reply - returning [len:12/17275]
2024-03-22 16:26:17.264079500 INFO:SerialBattery:Saved MaxVoltageStartTime. Before 1711124777, after 1711124777
2024-03-22 16:38:19.413188500 INFO:SerialBattery:
2024-03-22 16:38:19.413978500 INFO:SerialBattery:Starting dbus-serialbattery
2024-03-22 16:38:19.415502500 INFO:SerialBattery:dbus-serialbattery v1.0.20240102beta
2024-03-22 16:38:35.433138500 INFO:SerialBattery:-- Testing BMS: 1 of 3 rounds
2024-03-22 16:38:35.433701500 INFO:SerialBattery:Testing Jkbms
2024-03-22 16:38:35.451163500 ERROR:SerialBattery:CRC checksum mismatch: Expected 0x0dab, Got 0x02da
2024-03-22 16:38:35.955183500 INFO:SerialBattery:-- Testing BMS: 2 of 3 rounds
2024-03-22 16:38:35.955192500 INFO:SerialBattery:Testing Jkbms
2024-03-22 16:38:36.024358500 INFO:SerialBattery:Connection established to Jkbms
2024-03-22 16:38:36.030878500 INFO:SerialBattery:Battery Jkbms connected to dbus from /dev/ttyUSB0
2024-03-22 16:38:36.036169500 INFO:SerialBattery:========== Settings ==========
2024-03-22 16:38:36.039530500 INFO:SerialBattery:> Connection voltage: 27.97V | Current: -2.43A | SoC: None%
2024-03-22 16:38:36.053404500 INFO:SerialBattery:> Cell count: 8 | Cells populated: 0
2024-03-22 16:38:36.057151500 INFO:SerialBattery:> LINEAR LIMITATION ENABLE: False
2024-03-22 16:38:36.058411500 INFO:SerialBattery:> MAX BATTERY CHARGE CURRENT: 170.0A | MAX BATTERY DISCHARGE CURRENT: 200.0A
2024-03-22 16:38:36.059443500 INFO:SerialBattery:> CVCM:     True
2024-03-22 16:38:36.060588500 INFO:SerialBattery:> MIN CELL VOLTAGE: 2.9V | MAX CELL VOLTAGE: 3.5V
2024-03-22 16:38:36.066275500 INFO:SerialBattery:> CCCM CV:  True  | DCCM CV:  False
2024-03-22 16:38:36.067513500 INFO:SerialBattery:> CCCM T:   True  | DCCM T:   True
2024-03-22 16:38:36.068629500 INFO:SerialBattery:> CCCM SOC: False | DCCM SOC: False
2024-03-22 16:38:36.073400500 INFO:SerialBattery:Serial Number/Unique Identifier: JK_Bms_2
2024-03-22 16:38:49.496762500 INFO:SerialBattery:Found existing battery with DeviceInstance = 3
2024-03-22 16:38:50.998216500 INFO:SerialBattery:DeviceInstance = 3
2024-03-22 16:38:50.999305500 INFO:SerialBattery:Used device instances: ['3', '2', '1']
2024-03-22 16:38:51.000511500 INFO:SerialBattery:com.victronenergy.battery.ttyUSB0
2024-03-22 16:38:51.198672500 INFO:SerialBattery:publish config values = True
2024-03-22 16:39:15.336468500 ERROR:SerialBattery:>>> ERROR: No reply - returning [len:14/47560]
2024-03-22 16:39:17.074684500 INFO:SerialBattery:Saved MaxVoltageStartTime. Before 1711125555, after 1711125555

from dbus-serialbattery.

gsxarne avatar gsxarne commented on July 17, 2024

So on my side the log file didn't show any errors:

@4000000065ff30ad072af7f4 *** starting serial-starter ***
@4000000065ff30ad2e20b164 serstart starting
@4000000065ff30ad2f63570c INFO: loading config file /etc/venus/serial-starter.conf
@4000000065ff30ae27eeb994 INFO: loading config file /data/conf/serial-starter.d/dbus-serialbattery.conf
@4000000065ff30b03b10c7ec INFO: Create daemontools service dbus-cgwacs.ttyACM0
@4000000065ff30b31028aa54 INFO: Create daemontools service mk2-dbus.ttyS4
@4000000065ff30b42b920f74 INFO: Create daemontools service vedirect-interface.ttyS5
@4000000065ff30b60e5ab884 INFO: Create daemontools service vedirect-interface.ttyS6
@4000000065ff30b712400134 INFO: Start service dbus-cgwacs.ttyACM0 once
@4000000065ff30b7262991c4 INFO: Create daemontools service vedirect-interface.ttyS7
@4000000065ff30b91691c754 INFO: Create daemontools service dbus-serialbattery.ttyUSB0
@4000000065ff30b91ef27a4c INFO: Start service mk2-dbus.ttyS4
@4000000065ff30bb0082841c INFO: Start service vedirect-interface.ttyS5
@4000000065ff30bc03ba9cdc INFO: Create daemontools service dbus-cgwacs.ttyUSB1
@4000000065ff30bc1a637c4c INFO: Start service vedirect-interface.ttyS6
@4000000065ff30bd2e492cac INFO: Start service vedirect-interface.ttyS7
@4000000065ff30bf249787e4 INFO: Start service dbus-serialbattery.ttyUSB0 once
@4000000065ff30c218b2326c INFO: Start service dbus-cgwacs.ttyUSB1 once

When it crashes and restart this log file overwrites itself.

I wanted to install an old Version of serialbattery, v.0.14.3 for example.
When i use the install script, chose 7 - specific version, paste the link from github (https://github.com/Louisvdw/dbus-serialbattery/releases/download/v0.14.3/venus-data.tar.gz) , the installprocess stops with this error after downloading the tar-file:

tar: conf/serial-starter.d: Cannot open: File exists
-sh: tar:: command not found

Do you know what went wrong here?

I also went back to Venus OS V3.01, but my issues with your nightly is still there.

I could imagine that my GridMeter (EM540) could cause the issues. it is reporting values with a quite high frequency (10Hz vs 1Hz with a ET340). I will unplug it and give you a feedback.

Best Regards

Edit: so far no lost connections after 30Minutes, cpu load without EM540 Gridmeter is down from 30-40% (with EM540) to ~10-14% ...but the Cerbo is now in Passthrough mode, for reference 20 lost connections from noon to 6p.m.

from dbus-serialbattery.

Albarge avatar Albarge commented on July 17, 2024

So what version are you on that is still causing lost connections?
Did you try the version that worked for me: v1.0.20240102beta?

from dbus-serialbattery.

gsxarne avatar gsxarne commented on July 17, 2024

So yeah, Serialbattery and the EM540 are fighting against each other causing the Cerbo to crash:

The whole night the system was running stable in Phasthrough Mode, so the cerbo was only logging the data from Serialbattery (and HomeAssistant logged the Cell-Voltages via MQTT).

This morning I plugged in the EM540. It worked for ~1.5h and crashed again. This time also the Connection to the BMS was lost according to the Cerbo and i had to unplug the USB Connection (for what ever reason?)

To Sum up what i found out so far:

After Going from Venus OS 3.00 to 3.20 and later 3.30 and back to V3.00

  • Cerbo is running stable with EM540 without Serialbattery running
  • Cerbo is running stable with Serial Battery running but without Em540 connected
  • Crashes occur with nightlys, beta and final releases of Serialbattery
  • Crashes occur with Venus Os V3.00 but also V3.30 and Beta 3.40
  • when cerbo crashes the log files get overwritten (or i make something wrong?)
  • Installing v0.14 with serialbattery installer gives error (file already exists, see above)

Edit: I have 3 USB/serial Connections on my cerbo. Could it be, that the Cerbo cannot deliver enough power for 3 USB Connections? 1 USB Hub is connected to one USB socket, here the ET340 and Serialbattery are connected, the EM540 is connected to the other USB Socket.

from dbus-serialbattery.

mr-manuel avatar mr-manuel commented on July 17, 2024

Please specify what for crashes. Does the driver or Venus OS reboot?

when cerbo crashes the log files get overwritten (or i make something wrong?)

The logs are rotated. Use

tail -F -n 100 /data/log/dbus-serialbattery.ttyUSB0/* | tai64nlocal

to see all.

Installing v0.14 with serialbattery installer gives error (file already exists, see above)

See https://louisvdw.github.io/dbus-serialbattery/general/install#downgrade-from--v100-to--v0143

Could it be, that the Cerbo cannot deliver enough power for 3 USB Connections?

Yes. There are lots of issues because also the USB hub gave problems.

from dbus-serialbattery.

gsxarne avatar gsxarne commented on July 17, 2024

Please specify what for crashes. Does the driver or Venus OS reboot?
The Cerbo Crashes

when cerbo crashes the log files get overwritten (or i make something wrong?)

The logs are rotated. Use

tail -F -n 100 /data/log/dbus-serialbattery.ttyUSB0/* | tai64nlocal

to see all.

I'll use it and report later

Installing v0.14 with serialbattery installer gives error (file already exists, see above)

See https://louisvdw.github.io/dbus-serialbattery/general/install#downgrade-from--v100-to--v0143

Could it be, that the Cerbo cannot deliver enough power for 3 USB Connections?

Yes. There are lots of issues because also the USB hub gave problems.

Now i let it run only with the EM540(grid) and Serialbattery, but without the USBHub and without the ET340 (PV Meter).
If the USB Hub is the root cause, why was it never a problem before all the Update from Venus Os 3.00 to 3.20 and updating serial battery from 0,14 to the nightly / beta?

from dbus-serialbattery.

gsxarne avatar gsxarne commented on July 17, 2024

Ok, also without USB Hub & the ET340, these "Crashes" occur... So it is probably not related to to any USBHub related Issue.

I used
tail -F -n 100 /data/log/dbus-serialbattery.ttyUSB0/* | tai64nlocal

but the files in /data/log/dbus-serialbattery.ttyUSB0 are anyhow created on restart.
I added the content of the putty console to the attached txt file but i cannot see any relevant output.
log.txt

from dbus-serialbattery.

gsxarne avatar gsxarne commented on July 17, 2024

Soooo
i have news...

I took my Spare-Cerbo, which i had on stock in case I brick my current one (which has a high probability due to my limited Linux-Knowlegde) :-D

I used the V0.14 of Serialbattery and Venus OS 3.30, AND .....got the same issues.
BUT, after i disconnected the Comunication of my EM540 and could actually use the RemoteConsole I got an Info that my Multiplus should get a Software Update. Hell Yeah, after the experience of the past days, another Software Update made me anxious (insert Ralph Wigum's I am in Danger meme). But obviously i am not capable of learning and so I hit the button and updated the MK3 Version (now 1170216), and after sweating of fear the system is at least up and running again.

CPU load is now lower,rather 20-30% than 30-40% like before. But will it help? I doubt it and will report tomorrow.

from dbus-serialbattery.

gsxarne avatar gsxarne commented on July 17, 2024

I still had 5 "loss of communication" since my last post.

from dbus-serialbattery.

darkdaydreamer avatar darkdaydreamer commented on July 17, 2024

i have also the same issue.... i have 2 JKBMS and only one is working since the update.... i tried
2) latest release "v1.1.20240121" (mr-manuel's repo, stable, most up to date)
4) beta build "v1.2.20240227beta" (mr-manuel's repo, no errors after 72 h runtime, long time testing needed)
6) nightly build "v1.2.20240318dev" (mr-manuel's repo, newest features and fixes, bugs possible)
and also the link from above
https://github.com/Louisvdw/dbus-serialbattery/releases/download/v1.0.20240102beta/venus-data.tar.gz

in case i added the working JKBMS the trail look like

2024-03-26 19:01:09.356506500
2024-03-26 19:01:11.990921500 INFO:SerialBattery:
2024-03-26 19:01:11.992300500 INFO:SerialBattery:Starting dbus-serialbattery
2024-03-26 19:01:11.999613500 INFO:SerialBattery:dbus-serialbattery v1.0.20240102beta
2024-03-26 19:01:12.581343500 INFO:SerialBattery:Init of Jkbms_Ble at C8:47:8C:E8:E0:62
2024-03-26 19:01:12.582415500 INFO:SerialBattery:Test of Jkbms_Ble at C8:47:8C:E8:E0:62
2024-03-26 19:01:17.102519500 INFO:SerialBattery:BAT: JKBMS 11.XW 16 cells (20240118)
2024-03-26 19:01:17.113570500 INFO:SerialBattery:Connection established to Jkbms_Ble
2024-03-26 19:01:17.114743500 INFO:SerialBattery:Battery Jkbms_Ble connected to dbus from c8478ce8e062
2024-03-26 19:01:17.119311500 INFO:SerialBattery:========== Settings ==========
2024-03-26 19:01:17.120561500 INFO:SerialBattery:> Connection voltage: 53.23V | Current: 0.0A | SoC: None%
2024-03-26 19:01:17.126381500 INFO:SerialBattery:> Cell count: 16 | Cells populated: 16
2024-03-26 19:01:17.131688500 INFO:SerialBattery:> LINEAR LIMITATION ENABLE: True
2024-03-26 19:01:17.135877500 INFO:SerialBattery:> MAX BATTERY CHARGE CURRENT: 200.0A | MAX BATTERY DISCHARGE CURRENT: 400.0A
2024-03-26 19:01:17.138752500 INFO:SerialBattery:> MAX BATTERY CHARGE CURRENT: 100.0A | MAX BATTERY DISCHARGE CURRENT: 200.0A (read from BMS)
2024-03-26 19:01:17.143210500 INFO:SerialBattery:> CVCM: True
2024-03-26 19:01:17.144590500 INFO:SerialBattery:> MIN CELL VOLTAGE: 2.9V | MAX CELL VOLTAGE: 3.45V
2024-03-26 19:01:17.145886500 INFO:SerialBattery:> CCCM CV: True | DCCM CV: True
2024-03-26 19:01:17.147204500 INFO:SerialBattery:> CCCM T: True | DCCM T: True
2024-03-26 19:01:17.148550500 INFO:SerialBattery:> CCCM SOC: True | DCCM SOC: True
2024-03-26 19:01:17.149816500 INFO:SerialBattery:Serial Number/Unique Identifier: 2092447590
2024-03-26 19:01:18.117762500 [��CHG��] Device C8:47:8C:E8:E0:62 RSSI: -64
2024-03-26 19:01:21.635118500 INFO:SerialBattery:Remove /Settings/Devices/serialbattery_2092447188 from dbus. Old entry. Delete result: False
2024-03-26 19:01:21.636082500 INFO:SerialBattery:Found existing battery with DeviceInstance = 1
2024-03-26 19:01:21.898517500 INFO:SerialBattery:DeviceInstance = 1
2024-03-26 19:01:21.899383500 INFO:SerialBattery:Used device instances: ['1']
2024-03-26 19:01:21.900261500 INFO:SerialBattery:com.victronenergy.battery.c8478ce8e062
2024-03-26 19:01:21.902316500 INFO:SerialBattery:BAT: JKBMS 11.XW 16 cells (20240118)
2024-03-26 19:01:21.938610500 INFO:SerialBattery:publish config values = True

in case i try to add the not working one following was written to the log
2024-03-26 17:07:14.029740500 INFO:SerialBattery:
2024-03-26 17:07:14.030907500 INFO:SerialBattery:Starting dbus-serialbattery
2024-03-26 17:07:14.032654500 INFO:SerialBattery:dbus-serialbattery v1.1.20240121
2024-03-26 17:07:14.596695500 INFO:SerialBattery:Init of Jkbms_Ble at C8:47:8C:E8:E0:94
2024-03-26 17:07:14.597800500 INFO:SerialBattery:Test of Jkbms_Ble at C8:47:8C:E8:E0:94
2024-03-26 17:07:20.118210500 INFO:SerialBattery:BAT: JKBMS 11.XW 16 cells (20240119)
2024-03-26 17:07:20.121195500 INFO:SerialBattery:Connection established to Jkbms_Ble
2024-03-26 17:07:20.122543500 INFO:SerialBattery:Battery Jkbms_Ble connected to dbus from c8478ce8e094
2024-03-26 17:07:20.123373500 INFO:SerialBattery:========== Settings ==========
2024-03-26 17:07:20.124917500 INFO:SerialBattery:> Connection voltage: 52.7V | Current: -30.0A | SoC: None%
2024-03-26 17:07:20.125133500 INFO:SerialBattery:> Cell count: 16 | Cells populated: 16
2024-03-26 17:07:20.128180500 INFO:SerialBattery:> LINEAR LIMITATION ENABLE: True
2024-03-26 17:07:20.129898500 INFO:SerialBattery:> MAX BATTERY CHARGE CURRENT: 200.0A | MAX BATTERY DISCHARGE CURRENT: 400.0A
2024-03-26 17:07:20.135057500 INFO:SerialBattery:> MAX BATTERY CHARGE CURRENT: 100.0A | MAX BATTERY DISCHARGE CURRENT: 200.0A (read from BMS)
2024-03-26 17:07:20.135798500 INFO:SerialBattery:> CVCM: True
2024-03-26 17:07:20.136511500 INFO:SerialBattery:> MIN CELL VOLTAGE: 2.9V | MAX CELL VOLTAGE: 3.45V
2024-03-26 17:07:20.137277500 INFO:SerialBattery:> CCCM CV: True | DCCM CV: True
2024-03-26 17:07:20.137996500 INFO:SerialBattery:> CCCM T: True | DCCM T: True
2024-03-26 17:07:20.138643500 INFO:SerialBattery:> CCCM SOC: True | DCCM SOC: True
2024-03-26 17:07:20.139407500 INFO:SerialBattery:Serial Number/Unique Identifier: 2092447188
2024-03-26 17:07:25.185917500 Traceback (most recent call last):
2024-03-26 17:07:25.185926500 File "/opt/victronenergy/dbus-serialbattery/dbus-serialbattery.py", line 239, in
2024-03-26 17:07:25.185930500 main()
2024-03-26 17:07:25.185932500 File "/opt/victronenergy/dbus-serialbattery/dbus-serialbattery.py", line 222, in main
2024-03-26 17:07:25.185935500 if not helper.setup_vedbus():
2024-03-26 17:07:25.185937500 File "/opt/victronenergy/dbus-serialbattery/dbushelper.py", line 356, in setup_vedbus
2024-03-26 17:07:25.185941500 self.setup_instance()
2024-03-26 17:07:25.186114500 File "/opt/victronenergy/dbus-serialbattery/dbushelper.py", line 155, in setup_instance
2024-03-26 17:07:25.186120500 value["ClassAndVrmInstance"][
2024-03-26 17:07:25.186122500 KeyError: 'ClassAndVrmInstance'
2024-03-26 17:07:27.048624500 INFO:SerialBattery:--> asy_connect_and_scrape(): Exit
2024-03-26 17:07:27.840562500
2024-03-26 17:07:27.845801500 INFO:Bluetooth details
2024-03-26 17:07:28.415616500 [��CHG��] Device C8:47:8C:E8:E0:94 RSSI: -62
2024-03-26 17:07:28.415627500 [��CHG��] Device C8:47:8C:E8:E0:94 RSSI: -64

when i take a look with dbus-spy the working one will stay there.... the not working one just apear short and disapear directly again.....

possible some interesting info.... today I updated from 3.13 to 3.30..... and yeah... as I know it in front I told to my friend I am not sure if I should do.... oh, i switched to large OS with this step.... but not sure if that has also an effect (needing large OS was the reason for my fail =D )

THX in advance!

from dbus-serialbattery.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.