Description
I was experimenting with this project and encountered the same issue called out in the README:
"It appears there's a new v4 route (/api/v4/systems/{System_id}/devices/micros/{serial_no}/telemetry) that can get microinverter data based on a date range. This seems the more ideal way to get daily inverter data than my current way of having to get the current lifetime data minus the stored value. But unfortunately I have not been able to successfully call this route using the Enlighten API v4 docs. So maybe this route doesn't do what I think it does, and their docs don't make it very clear what it does. I always get a 401 - Not Authorized. If someone is able to get that figured out, please feel free to let me know."
I believe the issue (at least for me) stems from the free developer "Watt" plan which does not include device level monitoring. This is only included with the paid plans:
Unrelated, a few typos in the README:
"The Enphase API lacks the granulatiry granularity of seeing per inveter inverter daily stats."
Thank you for sharing this project.