Browse Source

add various notes about the API...

main
John-Mark Gurney 4 years ago
parent
commit
e957ad82f1
1 changed files with 49 additions and 0 deletions
  1. +49
    -0
      NOTES.md

+ 49
- 0
NOTES.md View File

@@ -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://<ip>/home?locale=en&classic=1

but links go to pages that aren't authorized via the standard username/password

brief info urls:
http://<ip>/api/v1/production/inverters/
http://<ip>/api/v1/production/


complete info urls:
http://<ip>/inventory.json?details=1
http://<ip>/production.json?details=1


thread_panels
Fetch ever 5 minutes (10 seconds after last set):
http://<ip>/api/v1/production/inverters/

thread_inventory
Fetch every hour, log if changes, always 24h
http://<ip>/inventory.json

thread_production for reset
log every 5 minutes:
http://<ip>/production.json?details=1

decide how to alert, they stop communicating at night

Collect every 10s or so some items from:
http://<ip>/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:<installerpasswd> http://<ip>/stream/meter

Loading…
Cancel
Save