You can look into this, if you want. This skips all the hassle:
https://community.home-assistant.io/t/custom-component-homewizard-energy-wifi-p1-meter
You can look into this, if you want. This skips all the hassle:
https://community.home-assistant.io/t/custom-component-homewizard-energy-wifi-p1-meter