question

floyd avatar image
floyd asked

Modbus via RS485 Serial USB on CCGX has intermittent responses

I am building my own Lithium BMS for my Victron setup using the example python scripts.

When my RS485 USB Serial adapter is connected to a Raspberry Pi (latest Raspbian), I am able to reliably read the appropriate registers from the lithium batteries without any errors. However, when connecting the same adapter and running the same python code on the CCGX, I only get a successful response very intermittently.

Does the CCGX lock the USB port? Or is it a pymodbus version issue? What can I look for?

Lithium BatteryBMSCCGX Color Control
1 comment
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

Hi @floyd

I've moved your topic to the 'modifications' area.

0 Likes 0 ·
1 Answer
mvader (Victron Energy) avatar image
mvader (Victron Energy) answered ·

Hi Floyd, check the here, and then especially the topics around serial-starter:

https://github.com/victronenergy/venus/wiki/howto-add-a-driver-to-Venus

1 comment
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

floyd avatar image floyd commented ·

Thanks @mvader (Victron Energy) - this answers my question. (I probably should have done a better search...)

0 Likes 0 ·