Enphase Envoy with Energy Dashboard

Are you saying that the JSON stream takes 30 seconds to display the next dump of data when on v7.x.x?

Here is what I am talking about on v5.x.x

https://envoy.local/stream/meter
User:installer
Password:******

Then 1 second later the page appends/updates with a new block data for the next second

I also get the same 1 second update behaviour with
curl --digest -u installer:***** http://envoy.local/stream/meter

Can you confirm wether it take 40 seconds just to start the JSON stream of is it 40 seconds between updates to the JSON stream once the first block of data is shown?

The JSON stream dumps one page of data in format per your screenshots - except there is exactly one page and the data is truncated at the end of the page - there is then a 30 second pause and another single page of data is dumped. Hope that makes sense? Its one page every 30 seconds

I was assuming/hoping that the JWT token would have just affected the initial JSON stream load and then the stream would be 1 second updates.

Thanks for explaining. I can now see why this upgrade is a backward step. Would be nice if we could downgrade the software ourselves.

data: {"production":{"ph-a":{"p":952.026,"q":307.956,"s":1021.967,"v":240.945,"i":4.237,"pf":0.94,"f":50.0},"ph-b":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0},"ph-c":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0}},"net-consumption":{"ph-a":{"p":-492.54,"q":-718.046,"s":988.593,"v":241.223,"i":4.096,"pf":-0.51,"f":50.0},"ph-b":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0},"ph-c":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0}},"total-consumption":{"ph-a":{"p":459.486,"q":-1026.002,"s":34.124,"v":241.084,"i":0.142,"pf":1.0,"f":50.0},"ph-b":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0},"ph-c":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0}}}

data: {"production":{"ph-a":{"p":946.506,"q":307.001,"s":1016.685,"v":240.624,"i":4.223,"pf":0.93,"f":50.0},"ph-b":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0},"ph-c":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0}},"net-consumption":{"ph-a":{"p":-497.357,"q":-716.398,"s":985.356,"v":240.879,"i":4.088,"pf":-0.5,"f":50.0},"ph-b":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0},"ph-c":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0}},"total-consumption":{"ph-a":{"p":449.15,"q":-1023.4,"s":32.32,"v":240.752,"i":0.134,"pf":1.0,"f":50.0},"ph-b":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0},"ph-c":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0}}}

data: {"production":{"ph-a":{"p":946.506,"q":307.001,"s":1016.685,"v":240.624,"i":4.223,"pf":0.93,"f":50.0},"ph-b":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0},"ph-c":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0}},"net-consumption":{"ph-a":{"p":-497.357,"q":-716.398,"s":985.356,"v":240.879,"i":4.088,"pf":-0.5,"f":50.0},"ph-b":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0},"ph-c":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0}},"total-consumption":{"ph-a":{"p":449.15,"q":-1023.4,"s":32.32,"v":240.752,"i":0.134,"pf":1.0,"f":50.0},"ph-b":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0},"ph-c":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0}}}

data: {"production":{"ph-a":{"p":943.519,"q":307.173,"s":1012.923,"v":240.726,"i":4.206,"pf":0.93,"f":50.0},"ph-b":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0},"ph-c":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0}},"net-consumption":{"ph-a":{"p":-489.435,"q":-717.931,"s":983.303,"v":240.904,"i":4.081,"pf":-0.5,"f":50.0},"ph-b":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0},"ph-c":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0}},"total-consumption":{"ph-a":{"p":454.085,"q":-1025.104,"s":29.95,"v":240.815,"i":0.124,"pf":1.0,"f":50.0},"ph-b":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0},"ph-c":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0}}}

data: {"production":{"ph-a":{"p":943.519,"q":307.173,"s":1012.923,"v":240.726,"i":4.206,"pf":0.93,"f":50.0},"ph-b":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0},"ph-c":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0}},"net-consumption":{"ph-a":{"p":-489.435,"q":-717.931,"s":983.303,"v":240.904,"i":4.081,"pf":-0.5,"f":50.0},"ph-b":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0},"ph-c":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0}},"total-consumption":{"ph-a":{"p":454.085,"q":-1025.104,"s":29.95,"v":240.815,"i":0.124,"pf":1.0,"f":50.0},"ph-b":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0},"ph-c":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0}}}

data: {"production":{"ph-a":{"p":943.519,"q":307.173,"s":1012.923,"v":240.726,"i":4.206,"pf":0.93,"f":50.0},"ph-b":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0},"ph-c":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0}},"net-consumption":{"ph-a":{"p":-489.435,"q":-717.931,"s":983.303,"v":240.904,"i":4.081,"pf":-0.5,"f":50.0},"ph-b":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0},"ph-c":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0}},"total-consumption":{"ph-a":{"p":454.085,"q":-1025.104,"s":29.95,"v":240.815,"i":0.124,"pf":1.0,"f":50.0},"ph-b":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0},"ph-c":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0}}}

data: {"production":{"ph-a":{"p":940.187,"q":307.04,"s":1010.291,"v":240.523,"i":4.198,"pf":0.93,"f":50.0},"ph-b":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0},"ph-c":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0}},"net-consumption":{"ph-a":{"p":-486.486,"q":-718.994,"s":981.866,"v":240.687,"i":4.077,"pf":-0.5,"f":50.0},"ph-b":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0},"ph-c":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0}},"total-consumption":{"ph-a":{"p":453.701,"q":-1026.034,"s":29.225,"v":240.605,"i":0.121,"pf":1.0,"f":50.0},"ph-b":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0},"ph-c":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0}}}

data: {"production":{"ph-a":{"p":938.863,"q":307.354,"s":1008.914,"v":240.591,"i":4.19,"pf":0.93,"f":50.0},"ph-b":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0},"ph-c":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0}},"net-consumption":{"ph-a":{"p":-485.199,"q":-716.728,"s":980.882,"v":240.738,"i":4.074,"pf":-0.49,"f":50.0},"ph-b":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0},"ph-c":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0}},"total-consumption":{"ph-a":{"p":453.664,"q":-1024.082,"s":27.848,"v":240.664,"i":0.116,"pf":1.0,"f":50.0},"ph-b":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0},"ph-c":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0}}}

data: {"production":{"ph-a":{"p":937.402,"q":307.082,"s":1007.505,"v":240.821,"i":4.182,"pf":0.93,"f":50.0},"ph-b":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0},"ph-c":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0}},"net-consumption":{"ph-a":{"p":-485.655,"q":-716.626,"s":980.877,"v":240.945,"i":4.07,"pf":-0.49,"f":50.0},"ph-b":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0},"ph-c":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0}},"total-consumption":{"ph-a":{"p":451.746,"q":-1023.707,"s":26.911,"v":240.883,"i":0.112,"pf":1.0,"f":50.0},"ph-b":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0},"ph-c":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0}}}

data: {"production":{"ph-a":{"p":936.122,"q":307.924,"s":1006.463,"v":241.022,"i":4.175,"pf":0.93,"f":50.0},"ph-b":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0},"ph-c":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0}},"net-consumption":{"ph-a":{"p":-483.976,"q":-717.229,"s":980.676,"v":241.122,"i":4.069,"pf":-0.49,"f":50.0},"ph-b":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0},"ph-c":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0}},"total-consumption":{"ph-a":{"p":452.146,"q":-1025.154,"s":25.541,"v":241.072,"i":0.106,"pf":1.0,"f":50.0},"ph-b":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0},"ph-c":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0}}}

data: {"production":{"ph-a":{"p":935.581,"q":307.762,"s":1005.968,"v":241.056,"i":4.171,"pf":0.93,"f":50.0},"ph-b":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0},"ph-c":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0}},"net-consumption":{"ph-a":{"p":-481.173,"q":-718.353,"s":981.129,"v":241.125,"i":4.068,"pf":-0.48,"f":50.0},"ph-b":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0},"ph-c":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0}},"total-consumption":{"ph-a":{"p":454.408,"q":-1026.116,"s":24.824,"v":241.09,"i":0.103,"pf":1.0,"f":50.0},"ph-b":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0},"ph-c":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0}}}

data: {"production":{"ph-a":{"p":935.581,"q":307.762,"s":1005.968,"v":241.056,"i":4.171,"pf":0.93,"f":50.0},"ph-b":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0},"ph-c":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0}},"net-consumption":{"ph-a":{"p":-481.173,"q":-718.353,"s":981.129,"v":241.125,"i":4.068,"pf":-0.48,"f":50.0},"ph-b":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0},"ph-c":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0}},"total-consumption":{"ph-a":{"p":454.408,"q":-1026.116,"s":24.824,"v":241.09,"i":0.103,"pf":1.0,"f":50.0},"ph-b":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0},"ph-c":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0}}}

data: {"production":{"ph-a":{"p":935.581,"q":307.762,"s":1005.968,"v":241.056,"i":4.171,"pf":0.93,"f":50.0},"ph-b":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0},"ph-c":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0}},"net-consumption":{"ph-a":{"p":-481.173,"q":-718.353,"s":981.129,"v":241.125,"i":4.068,"pf":-0.48,"f":50.0},"ph-b":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0},"ph-c":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0}},"total-consumption":{"ph-a":{"p":454.408,"q":-1026.116,"s":24.824,"v":241.09,"i":0.103,"pf":1.0,"f":50.0},"ph-b":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0},"ph-c":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0}}}

data: {"production":{"ph-a":{"p":935.581,"q":307.762,"s":1005.968,"v":241.056,"i":4.171,"pf":0.93,"f":50.0},"ph-b":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0},"ph-c":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0}},"net-consumption":{"ph-a":{"p":-481.173,"q":-718.353,"s":981.129,"v":241.125,"i":4.068,"pf":-0.48,"f":50.0},"ph-b":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0},"ph-c":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0}},"total-consumption":{"ph-a":{"p":454.408,"q":-1026.116,"s":24.824,"v":241.09,"i":0.103,"pf":1.0,"f":50.0},"ph-b":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0},"ph-c":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0}}}

data: {"production":{"ph-a":{"p":933.152,"q":307.359,"s":1002.732,"v":240.728,"i":4.163,"pf":0.93,"f":50.0},"ph-b":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0},"ph-c":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0}},"net-consumption":{"ph-a":{"p":-476.97,"q":-717.947,"s":977.959,"v":240.727,"i":4.059,"pf":-0.49,"f":50.0},"ph-b":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0},"ph-c":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0}},"total-consumption":{"ph-a":{"p":456.183,"q":-1025.306,"s":25.082,"v":240.727,"i":0.104,"pf":1.0,"f":50.0},"ph-b":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0},"ph-c":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0}}}

data: {"production":{"ph-a":{"p":933.152,"q":307.359,"s":1002.732,"v":240.728,"i":4.163,"pf":0.93,"f":50.0},"ph-b":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0},"ph-c":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0}},"net-consumption":{"ph-a":{"p":-476.97,"q":-717.947,"s":977.959,"v":240.727,"i":4.059,"pf":-0.49,"f":50.0},"ph-b":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0},"ph-c":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0}},"total-consumption":{"ph-a":{"p":456.183,"q":-1025.306,"s":25.082,"v":240.727,"i":0.104,"pf":1.0,"f":50.0},"ph-b":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0},"ph-c":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0}}}

data: {"production":{"ph-a":{"p":929.435,"q":306.272,"s":998.97,"v":240.206,"i":4.155,"pf

Here is an example - see how the data is truncated at the end? It will sit there for 30 or so seconds then continue

So the JSON stream worked for 16 updates (every 30 seconds which would have taken 8 mins to generate this little amount data) and then the JSON stream stoped midway through delivering the 17th update leaving the update truncated?

No that was just a sample - the output seems to be random, both in length of data dumped and delay between updates. When I just did it now for that example, it took maybe two minutes (!!!) for the initial data to dump and there was more than one page of data and it was truncated at the end - the following updates took varying times from 20 - 50 seconds - all of which had incomplete truncated last line. Since there is no time displayed within the data, I have no idea how current the data is. Basically - it’s useless till they fix it :frowning:

No - that data dumped in one page without a pause - however it was part of a multi-page dump as it took over two minutes to display the first page.

While we are talking, remind me why did you originally go the stream/meter option instead of production.json? What data does stream/meter give you that production.json doesn’t? Or was it the method that the data came in (JSON stream vs JSON page)

I only ask as I can refresh the production.json page every second and I can see the wNow (Watts Now) values update every second.

Here are the obvious differences in the headers via curl —verbose

curl --verbose --digest -u installer:***** http://envoy.local/stream/meter
< Content-Type: text/event-stream
< Cache-Control: no-cache, no-store
< Connection: Keep-Alive

curl — verbose http://envoy.local/production.json
< Connection: close
< Cache-Control: no-cache
< Content-Type: application/json

I read on one of the forum pages that constantly sending enquiries to the production.json url every second can lead to the Envoy locking up - maybe a memory leak? The stream/meter is an output so doesn’t require being queried and doesn’t lead to the Envoy locking up. I’ve never tried the production.json every second TBH …

1 Like

Gosh - Enphase have really f*cked things up … I just tried dumping production.json - after getting an authorisation token, the first update took maybe 40 seconds. I then refreshed my browser and it takes over 3-4 seconds for the data to update. Previously on 5.x.x it would update immediately

1 Like

Was the data from production.json truncated though?

Production.json might be a worthy alternative worth exploring the viability of.

Hi @vk2him,

Are you able to do a waterfall test via F12 in chrome for example?

Here is 4 updates that took a total of 4 seconds when requesting
http://envoy.local/stream/meter
via google chrome

Here is what I get when I access
http://envoy.local/production.json
from google chrome

Looking at the performance of both waterfalls, it appears that stream/meter was more efficient.

Here’s stream/meter:

And Production.json

And you can see the timing is inconsistent - this one too over 3 seconds. (edit - oops I attached the wrong screenshot - this one shows just over 300ms) If you make another request for the page before the original request is served the page “hangs” with the circle spinning and you need to let it time out - this takes longer for every unresponded request.

This one I pressed refresh every second for a while - you can see it took 12 seconds

Yes that was the first thing I checked but worth asking as I can be awfully thick at times.

was all that data delivered in 1 hit?
Your TTFB (Time To First Byte) = 22 seconds
Mine was 80ms

22000ms / 80ms = 275 times slower.
That’s a massive difference.

Yes, all in one hit. That’s the issue - it seems to be buffering before output.

Sorry for that. it is a lot of information to go trough.
I can go to the link “Enphase Energy - Enlighten | Sign in to Enlighten” and i see this Battery info so that is ok
Now just one more horde to take : how do i create this API - CURL - Call ?

image

Yesterday You also answered me with a lot of info about the methods. is there a ‘Enphase APY guide for dummies’ that i could access ?

@del13r

Just got a mail from Enphase.
I realy can’t understand why they create technical documents with the information that it is included and then give Me that answer !!!

Hello Rudi,

Thank you for contacting Enphase Energy.

This is with reference to the site name and Site ID <>.

I am sorry to inform you that currently, Enlighten API is not available for Encharge batteries. You cannot pull data for Ensemble system via Enlighten API and we are working on the same.

Thank you for your patience.

Stay safe and have a beautiful day!

I found that list at the bottom of this page which shows the statistics of what api calls I have made
https://developer.enphase.com/buyer/stats

The only ‘official Cloud API documentation’ available is this link https://developer.enphase.com/docs

There is no official documentation for the local API. I did find this old page from 2016 which was written before v7.x.x came out.

This info might be helpful to you.

Due to lack of documentation of the new JWT token security feature introduced in v7.x.x. We need to all figure out how to automate obtaining a new token from the new JWT token system at https://entrez.enphaseenergy.com/

Currently, uncommissioned tokens have a 7 day expiry. This means once you obtain the token, you should be able to poke around and see what information you can gather from the local API for the next 7 days before needing to generate a new one.

I am sorry to inform you that currently, Enlighten API is not available for Encharge batteries. You cannot pull data for Ensemble system via Enlighten API and we are working on the same

This is a direct contradiction to the information found at

Monitoring
Enlighten Manager and MyEnlighten monitoring options; API integration