This page in German (Seite auf Deutsch)
ElecPow 2.x is a free alternative firmware for various ESP32-based WiFi power meters and offers the following functions:
No Internet connection is required for the basic functions. However, it is recommended so that the current time can be fetched via NTP at startup.
In addition, it is also possible to transfer the readings anonymously to a database on our server (location: Germany) and to have charts generated there. We will gladly activate this function for a small one-time fee, which covers our server costs. You may activate data logging at the top of the “Readings” tab.
Remote access from the Internet to the device is not possible at any time, i.e. no switching off or altering of any settings.
Each archive contains the firmware (ElecPow), the flash tool esptool and a batch file to control a serial adapter.
Once installed, later updates of the firmware can easily be done via the tab “WiFi / Firmware update”.
Never operate the power meter with its case open! Do not connect any programming cables while the device is connected to mains power!!!
A serial adapter is required (e.g. “FTDI USB to TTL serial adapter”). The above download includes all needed files.
Create a backup:
Install ElecPow:
If you are using Linux instead of Windows, execute the following commands after installing esptool. Before each step, press and hold the button on the device and then reconnect the serial adapter to the PC. This is necessary for the chip to start in programming mode:
Create a backup:
esptool read_flash 0 0x400000 backup.bin
Install ElecPow (replace the .bin file name according to your needs):
esptool –baud 2000000 write_flash –erase-all 0x01000 bootloader.bin 0x08000 partition-table.bin 0x0E000 ota_data_initial.bin 0x10000 SONOFF_DUAL_R3.bin
Finally, we would like to emphasize that the device must not be connected to mains power with the case open and/or with programming cables connected!!!
If you are using Linux instead of Windows, execute the following commands after installing esptool. The programming adapter must be reconnected to the PC before each step. This is necessary so that the chip starts in programming mode:
Create a backup:
esptool read_flash 0 0x100000 backup.bin
Install ElecPow:
esptool –baud 2000000 write_flash –erase-all 0x01000 bootloader.bin 0x08000 partition-table.bin 0x0E000 ota_data_initial.bin 0x10000 SONOFF_POW_ELITE.bin
Finally, we would like to emphasize that the device must not be connected to mains power with the case open and/or with programming cables connected!!!
As long as WiFi is not yet set up, ElecPow will, via WPS, search for an access point during the first few seconds after power on (press the WPS button on your router prior to connecting the device to mains power).
If WPS does not work, ElecPow itself opens an access point named ElecPow and the password Coolhardware.de The blue LED will then light up permanently. After connecting to this WiFi, access is possible via the address http://192.168.4.1. On the “WiFi” tab an existing network can then be selected and its password entered manually.
The blue LED will turn off once WiFi has been set up correctly. The device then can be accessed there (locally) by browsing to http://elecpow.local.
To force a reset to default settings, press and hold the button on the powered up device for about 5 seconds. Subsequently, all settings including the WiFi data are erased. You can set up the device again the same way as described above.