Hi @TitiXsi,
first of all sorry for my English which is as it is, but French I know just a few phrases. Thank you for this QA. I have Enphase Envoy S metered EU with two clamps. Your QA is almost up to the task. problem is that I have errors that are reported regularly:
[28.04.2024] [14:59:06] [ERROR] [QA_ENPHASE_47]: Enphase:postEnphaseAPI() HTTP Status code = 500
[28.04.2024] [14:59:06] [ERROR] [QA_ENPHASE_47]: Can't get new token : HTTP Status code = 500
Also, I setup icons, but they are not set properly:
Icons are added using Enphase main QA. Maybe I did something wrong since this forum was not accessible for me for some time so I wasn't able to read all posts?
Also, it would be nice that Child-Balance Today is added and calculated from:
today imported - (today production - today consumed) = today exported
etc. Also, it is not so hard to check value of the measurements and depending on value change unit W to kW to W and also Wh to kWh to MWh to kWh to Wh
BTW - I did try to go through your code and I must agree with @Daniel Plantings that is too complicated. All I wanted is to add printing some statuses to the QA log and changing units depending on measured values, but it seems that will be easier to write my own QA
Kind regards from Croatia