Installing for the first time~
Follow these instructions if you have a compatible device that doesn't yet have Battery emulator installed.
Web installer~
The easiest way to install Battery Emulator is via the Web Installer, using a compatible browser (Chrome/Edge).
-
Visit BE-Web-Installer
-
Follow the instructions to plug in your device over USB, erase it, and flash a suitable factory image.
Manual installation (via terminal)~
If you are unable to use the Web Installer, you can download and flash a factory image yourself.
-
Find and download the appropriate factory image for your device from BE-Web-Installer
-
Open up a terminal and
cdto the folder you downloaded the factory image to. -
Plug in your device over USB and run
esptoolto flash the factory image. This will involve installingesptoolfirst. -
If you have Python3 and
pipavailable: - Or by installing
uv(see astral) and using that: (change the filename above to match the file you downloaded). -
Reset or unplug/replug the device so that it starts up.
-
Connect to the
BatteryEmulatorWiFi SSID, password 123456789 -
Go to 192.168.4.1 and configure the device (connecting it to your own WiFi, and/or changing the AP WiFi password).
Upgrading~
Here we assume you already have Battery emulator running on your device with access to the web interface.
-
Download the appropriate update image for your hardware from release assets
-
Navigate to Battery emulator's OTA update page.
-
Select the update image file you downloaded.
-
OTA update page should update the firmware and reboot the device.
Any settings you have saved will be preserved.
CAUTION
Working with high voltage is dangerous. Always follow local laws and regulations regarding high voltage work. If you are unsure about the rules in your country, consult a licensed electrician for more information.