scooterhacking / scooterhacking-issues-public

GitHub Issues for bug reports and feature requests for Scooterhacking Tools
11 stars 0 forks source link

BUG: Broken profile triggers on Mi Scooter Pro #128

Open Samybigio opened 1 month ago

Samybigio commented 1 month ago

Scooterhacking Tool

Firmware (SHFW)

Type of issue

Other

Severity of issue

medium (affects usability but has a workaround)

SHUT Version

2.6.1

SHFW Version

3.9.1

Scooter model

Xiaomi Pro, Pro2, 1s, essential, 3

Description of the Bug

profile triggers will switch profile even if brake isnt pressed (example: brake and single power button press will activate despite brake not being pressed). this means that turning the headlight on/off or changing speed mode (eco, drive and sport) to trigger profile change by accident. this only happens on my Mi scooter Pro, the functionality works as expected in my Scooter Pro 2. this happened on older versions of SHFW as well. oh and another thing: this happens on "hold brake and power button press" and "hold brake and double power button press", for some reason "hold brake and hold throttle" works as expected since holding accelerator by itself wont do anything.

Steps to Reproduce

  1. set brake + single power button press profile trigger to switch to profile 2
  2. when turning on the scooter, switching on the headlight works fine but once you try to turn it off it will trigger a profile change (from profile 1 to 2 in this case)

Expected vs. Actual Behavior

i expect to need to hold the brake and press the power button when i want to switch to another profile. instead it will switch to another profile even without holding the brake which makes using the dashboard clunky as you need to switch back profile everytime you trigger it by accident

Contact Information

Samybigio