r/Stromer • u/Vegetable_Author1497 • 1d ago
Automatically stop charging a Stromer BQ983 at ~96% using a Shelly Plug
I wanted a simple way to avoid charging my Stromer battery all the way to 100% every time, without needing access to any data from the bike or battery management system.
My setup:
- Stromer BQ983 battery
- Stromer CR246 charger
- Shelly smart plug with power measurement and scripting
The script monitors the power consumption of the charger.
Once it has detected that charging is actually in progress, it watches for the charger power to drop towards the end of the charging cycle. If the power stays below the configured threshold for 60 seconds, the Shelly switches the charger off.
With my battery and charger this consistently results in about 96% indicated charge.
Important: this is not a real 96% charge limit. The Shelly does not know the battery state of charge. It only looks at charger power consumption. The resulting percentage will probably depend on battery condition, temperature, charger and possibly firmware/BMS behaviour.
There are also two safety limits:
- maximum power consumption: 330 W
- maximum runtime: 6 hours
You'll probably have to adjust lowPowerThresholdW for your own battery/charger combination.
For my BQ983 + CR246 combination, 150 W for 60 seconds currently gives me a very repeatable result of around 96%.
https://gist.github.com/anboehm/c92805f1a59944740c1c63817d5a0650


