smagicld / xiaoxiangBMS

iOS app for Xiaoxang BMS
86 stars 9 forks source link

turn off, turn on charge/discharge doesn’t work #238

Open Kass271 opened 1 year ago

Kass271 commented 1 year ago

https://github.com/smagicld/xiaoxiangBMS/assets/9500962/4a4105b1-0780-46f7-b575-3f310ca51d18

Looks like when I click toggle switch, it doesn’t store on UI part it status. I added my screen video. This relates for bms on volt Polska liFePo4 battery It worked in March 2023

smagicld commented 1 year ago

Port change requires open BMS or authenticated if Hw pin is set.

Looks like your BMS has HW Pin set. Can you go into Config and read them out?

After config readout / PIN entry go back to main screen and toggle the port.

Kass271 commented 1 year ago

IMG_7510 IMG_7509 Thank you for fast reply!! I added photos

it looks like toggle rollback status to initial. Seems UI part just reset user action

Kass271 commented 1 year ago

@smagicld so after I tried different steps, problem still the same. Looks like togle reset status before it will send to bms

smagicld commented 1 year ago

You can send me the debug logs. I will take a look on it - but in two weeks. Going for holidays.

ysmolski commented 1 year ago

Same issue here with 100A LiFePO from Volt Polska. Cannot toggle the switch for charging/discharging ports. It goes back. Please let me know how can I collect debugging logs for it?

IMG_0671 IMG_0670 IMG_0672

smagicld commented 1 year ago

Hi @ysmolski

  1. Go to about screen and tap on the version / build number once:

  2. it should be confirmed:

  3. go to main screen. try to connect to your BMS. Try to switch ports on/off.

  4. go back to about screen and tap on version / build number

  5. send me the logs over email

Dillon1630 commented 1 year ago

I’m having similar issue, toggle will not stay set and I can’t clear alarms

smagicld commented 1 year ago

I’m having similar issue, toggle will not stay set and I can’t clear alarms

some battery manufacturers just set HW Pin. if this is set, you can not toggle ports on/off. in this case go into config. and if you'll be asked for HW PIN - enter the correct HW pin (ask your battery seller what they set for your battery)