we have updated Generation power and energy to PVoutput with a Wi-Fi energy meter.
code in github: https://github.com/lewei50/iammeter
The Bi-directional wifi energy meter have a promotion recently. 100 US dollars, including two WEM3162(bi-directional ,one phase wifi energy meter) and freight fee to Australia(Not in remote areas) https://www.alibaba.com/product-detail/Promotion-Package-WiFi-Energy-Meter-x_62325471050.html
The wifi energy meter provide some local api,such as below.
API url: ip/monitorjson
method: http get
data description: voltage,current,power,import Energy,export Energy.
one phase(wem3162 wem3080) meter response
#pvo = PVOutput.PVOutputApi(“deviceId”, “apiKey”)
I once want to update generation and grid (import/export ) energy simultaneously. But the API(add status) has not support it yet.
I hope addstatus can be upgraded later to include export/import energy as well.