Louisvdw / dbus-serialbattery

Battery Monitor driver for serial battery in VenusOS GX systems
MIT License
539 stars 165 forks source link

Ant and USB rs485-et340 not compatible #77

Closed pahorpet closed 2 years ago

pahorpet commented 2 years ago

Describe the bug When both devices(ant usb via ch340 and Original victron rs485 to read et340) are connected none of them is working.

To Reproduce Steps to reproduce the behavior:

  1. Connect both device
  2. Restart
  3. None of them work

Expected behavior Handle correct device

VenusOS (please complete the following information):

Battery/BMS (please complete the following information):

I am assuming that it is general error not only ant.

pau1phi11ips commented 2 years ago

I've been having a bit of a headache getting an ET112 working. Since I have the USB RS485 going thru a ZigBee link I assumed it was that that was the problem. Took me a while to realise it was this blocking it.

Is there a way to lock your driver to a specific USB port @Louisvdw ?

Louisvdw commented 2 years ago

@pau1phi11ips are you on Venus V2.80+ or V2.73? I do know of an issue where the ET112 is incorrectly linked to the driver on V2.80 after a power failure, but in normal case the ET112 will get it's driver linked first and only if no other driver is linked will the serial battery be tested. The problem seem to be that the ET112 responds similar to one of the BMS being tested.

For you question. No there is no way to link it to a spesific port only. Serial-starter will try it on all ports if no other driver linked to it.

pau1phi11ips commented 2 years ago

@Louisvdw I'm on 2.80. I'm updating to 2.84 now.

Louisvdw commented 2 years ago

There is a new beta4 release that should solve this issue. Please give it a test

Louisvdw commented 2 years ago

release v0.12 fix this problem

pau1phi11ips commented 2 years ago

I didn't spot this message but thought I'd give 0.12 a try anyway when I saw the new release.

Working well with my ET112, thanks!