-
Notifications
You must be signed in to change notification settings - Fork 1
Installing Arska to HomeWizard P1 Meter
Please note that according to the license of the (Arska) software there is no warranty or liability. It is possible to damage the device, and even if you take a backup restoring the original software may not work. The installation was done to device model HWE-P1-C1 (PCB: P1 Dongle V0.7, MCU: ESP32-WROOM-32D)
Open the case with your fingers or carefully, e.g. using a screwdriver. You do not need to use much power.
Connecting with VoltLink serial adapter programmer was straightforward. With some other adapters, you may have to connect signals manually, e.g. IO0 to ground before upload (example) . There is no power input in the communication pads, so you need to connect 5V USB power to the USB-connector of the device.
HWE-P1-C1 VoltLink CP2102N
GND ----------- GND
IO0 ----------- IO0
RXD ----------- TX
TXD ----------- RX
EN ----------- EN
Especially the backup takes a long time, so it would be good to have the wires attached to the device. In the beginning it was hard to properly connect the 5 signal wires to the contact pads on the PCB, because I didn't have a clamp designed for that yet. Something like this (2.54mm Single row 5P) could have helped. I made an ad-hoc holder with a spring clamp, long male pin headers and a piece of prototype board.
Before upload, I backed up the original software program from the device to my computer. Recovery seemed to work too but the meter had to be paired and defined again in the application.
#backup, —port parameters depends you computer OS, adapter etc
esptool.py --port /dev/port_id --baud 115200 read_flash 0 0x800000 homewizardp1backup.bin
#recovery
esptool.py --port /dev/port_id --baud 115200 write_flash 0 homewizardp1backup.bin
The installation was done from Arska installation page using the standard installation package (v 1.1 beta).
After uploading the software connect the device to your WiFi (if not left in the standalone mode) and do initial settings. See the video tutorials and documentation. To enable grid energy metering select meter type Han P1 Serial and GPIO (RXD) 16.
Arska software does not support the push button and LEDs of the device.
Arska(r) Wiki, (C) Netgalleria Oy 2020-2024