-
Notifications
You must be signed in to change notification settings - Fork 271
Software installation
Follow these instructions if you have a compatible device that doesn't yet have Battery emulator installed.
The easiest way to install Battery Emulator is via the Web Installer, using a compatible browser (Chrome/Edge).
-
Follow the instructions to plug in your device over USB, erase it, and flash a suitable factory image.
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 https://github.com/dalathegreat/BE-Web-Installer/tree/main/images
-
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:pip install esptool esptool write-flash -e 0 BE_v9.1.4_LilygoT-CAN485.factory.bin
- Or by installing
uv(see https://docs.astral.sh/uv/getting-started/installation/) and using that:(change the filename above to match the file you downloaded).uv tool run --from=esptool esptool write-flash -e 0 BE_v9.1.4_LilygoT-CAN485.factory.bin
-
Reset or unplug/replug the device so that it starts up.
-
Connect to the
BatteryEmulatorWiFi SSID, password 123456789 -
Go to http://192.168.4.1 and configure the device (connecting it to your own WiFi, and/or changing the AP WiFi password).
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.