In the software side I used HTTP Advanced controller for uploading, and the device module P251 available here: Link, to interface with the PZEM, which I've found on this forum in here: Link
After beeing able get the data from the PZEM device (minor compiler issues, only had to change the path to the include inside the module), I couldn't get HTTP Advanced to work with PVOutput.
I kept going at it for a couple of hours and finally managed to get it to work, and as someone else may need it in the future, decided to share my experience so they'll skip the troubles I've had.
First I've had to change the code in _C011.ino, in line 258, from
Code: Select all
parseControllerVariables(s, event, true);
Code: Select all
parseControllerVariables(s, event, false);
After finding this problem, it was easier to get it to work, and here is my final configuration: In my use case, %val4% is total accumulated Wh, %val1% is voltage.
The only changes in the device configuration are setting the values to 0 decimals, and send to the controller in 300s intervals (5 minutes),which is the maximum PVOutput rate.
I hope this helps someone!