You'll need to delve into it a bit, but the API is well-documented, and with some help from ChatGPT and either a D1 mini or an M5Stick or M5 Atom, you can get it up and running quite quickly using Arduino IDE.
In the energy socket (app), you first need to enable the API. After that, you can retrieve the IP address based on the device ID. To do it all properly, you should also assign a fixed IP in your router. With your WiFi SSID, password, and IP, you can connect to the socket. You can read from it and also make adjustments. In this repository you can find sketches for some remotes for socketcontrol, an automatic socket switcer and I a working on plans for a water sensor/switch and a socket datalogger. All are free to use for your own projects. The API is described here: https://api-documentation.homewizard.com/docs/introduction/
> https://github.com/gtmans/homewizard/tree/main/pibAutomatic socket switch and display based on M5 matrix and Arduino IDE. This switch turns off a specific socket depending on the total consumption of 4 Homewizard Energy sockets at a certain total value, and turns it back on when possible.
https://github.com/gtmans/homewizard/tree/main/autosocketswitch
https://github.com/gtmans/homewizard/blob/main/socketswitch/M5Stick-ApiSwitchMulti-github.ino
https://github.com/gtmans/homewizard/tree/main/socketswitch
https://github.com/gtmans/homewizard/blob/main/readme.md