From e957ad82f134908e3aa9f5510afdf15ade0ca63b Mon Sep 17 00:00:00 2001 From: John-Mark Gurney Date: Fri, 21 Feb 2020 16:38:27 -0800 Subject: [PATCH] add various notes about the API... --- NOTES.md | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 NOTES.md diff --git a/NOTES.md b/NOTES.md new file mode 100644 index 0000000..3af9c4f --- /dev/null +++ b/NOTES.md @@ -0,0 +1,49 @@ +https://thecomputerperson.wordpress.com/2016/08/03/enphase-envoy-s-data-scraping/ +https://thecomputerperson.wordpress.com/2016/08/28/reverse-engineering-the-enphase-installer-toolkit/ + +this page exists: +http:///home?locale=en&classic=1 + +but links go to pages that aren't authorized via the standard username/password + +brief info urls: +http:///api/v1/production/inverters/ +http:///api/v1/production/ + + +complete info urls: +http:///inventory.json?details=1 +http:///production.json?details=1 + + +thread_panels +Fetch ever 5 minutes (10 seconds after last set): +http:///api/v1/production/inverters/ + +thread_inventory +Fetch every hour, log if changes, always 24h +http:///inventory.json + +thread_production for reset +log every 5 minutes: +http:///production.json?details=1 + +decide how to alert, they stop communicating at night + +Collect every 10s or so some items from: +http:///production.json?details=1 + +When the password fails to auth: +{u'status': 401, u'info': u'Authentication required', u'moreInfo': u'', u'error': u''} + +this is from /api/v1/production/inverters/ + +from both inverters and production: +readingTime +wNow +whLifetime + +from production: + +streaming voltages, power and more: +curl --digest -u installer: http:///stream/meter