BotoX / xiaomi-m365-firmware-patcher

Automatize patching of Xiaomi Mijia M365 electric scooter firmware
https://m365.botox.bz
406 stars 107 forks source link

different power for eco and normal mode #18

Closed atasmohammadi closed 6 years ago

atasmohammadi commented 6 years ago

Hi, At first thanks for your great tool! well done!

Not sure if it's the right place to ask this, Is it possible to have different power levels for normal and eco mode, for example I'd like to have motor power of 25787 in normal mode and 51575 ( stock ) in the eco mode. How can I achieve that?

Thanks!

BotoX commented 6 years ago

the motor power constant is the maximum duty cycle, it doesn't differentiate between normal and eco but eco has lower acceleration by default in the throttle control algorithm so it will result in lower power than normal mode

atasmohammadi commented 6 years ago

Thanks for the reply, setting the power to max would the drain the battery very quickly, but what if I drive at a lower speed like 20-25? I tried that But I lost like 10 percent of battery in about 1 kilometre.

atasmohammadi commented 6 years ago

One more question, the motor power constant also affects the KERS's strength, right?

BotoX commented 6 years ago

It affects the brake, it probably does affect KERS a little bit too.

BotoX commented 6 years ago

And that constant is just the "maximum power" not continuous. So you get more power when accelerating and climbing hills. Speed, wind, drag, weight, heat, etc. influence range.

atasmohammadi commented 6 years ago

Thanks :)

Nickduino commented 5 years ago

I was wondering the same myself.

If the duty cycle is the same for both mode, why do we see custom firmwares advertising 400 W in Eco and 800-1000 W in Normal, then?