Enphase Envoy-S Solar Power Plugin (with Panel Monitoring)

User avatar
GlennNZ
Posts: 1873
Joined: Sun Dec 07, 2014 3:33 pm
Location: Central Coast, Australia

Re: Enphase Envoy-S Solar Power Plugin (with Panel Monitorin

Post by GlennNZ »

Bollar wrote:
GlennNZ wrote:
Bollar wrote:Neat. I wonder if it works on my legacy Envoy? I'll play with it over the weekend.
Cool,
Let me know how you go.
Yeah, no luck. the local API on my Envoy is quite limited and it doesn't even respond to your plugin.
What model?
The local API on mine is very limited as well - the plugin doesn't use the documented API - rather than undocumented javascript links/json output (hence the panel info)

Glenn
Bollar
Posts: 528
Joined: Sun Aug 11, 2013 3:14 pm

Re: Enphase Envoy-S Solar Power Plugin (with Panel Monitorin

Post by Bollar »

Insteon / Z-Wave / Bryant Evolution Connex /Tesla / Roomba / Elk M1 / SiteSage / Enphase Enlighten / NOAA Alerts
User avatar
GlennNZ
Posts: 1873
Joined: Sun Dec 07, 2014 3:33 pm
Location: Central Coast, Australia

Re: Enphase Envoy-S Solar Power Plugin (with Panel Monitorin

Post by GlennNZ »

Do you have web page access? (seems so some reading)

The basic info on Envoy-S is http://IP/production.json
But if web access - Chrome Debug will point to other links as well (googling as I type)

Glenn
Bollar
Posts: 528
Joined: Sun Aug 11, 2013 3:14 pm

Re: Enphase Envoy-S Solar Power Plugin (with Panel Monitorin

Post by Bollar »

GlennNZ wrote:
Do you have web page access? (seems so some reading)

The basic info on Envoy-S is http://IP/production.json
But if web access - Chrome Debug will point to other links as well (googling as I type)

Glenn
Yes, here's a script a wrote a couple of years ago:

Code: Select all

import urllib2
import simplejson

f = urllib2.urlopen('http://envoy.bollar.com/api/v1/production')
json_string = f.read()
parsed_json = simplejson.loads(json_string)

enphaseCurrentPower = parsed_json['wattsNow']
enphaseEnergyLifetime = parsed_json['wattHoursLifetime']
enphaseEnergyToday = parsed_json['wattHoursToday']
enphaseEnergyWeek = parsed_json['wattHoursSevenDays']

indigo.variable.updateValue(1404241247, value=str(enphaseCurrentPower))
indigo.variable.updateValue(1837054298, value=str(enphaseEnergyLifetime))
indigo.variable.updateValue(1329850163, value=str(enphaseEnergyToday))
indigo.variable.updateValue(1342408763, value=str(enphaseEnergyWeek))

f.close()
And the results from the raw call:

Code: Select all

{
  "wattHoursToday": 32167,
  "wattHoursSevenDays": 234269,
  "wattHoursLifetime": 66336922,
  "wattsNow": 0
}
Like I said. Limited. I switched to getting my data from the online version of the API.
Insteon / Z-Wave / Bryant Evolution Connex /Tesla / Roomba / Elk M1 / SiteSage / Enphase Enlighten / NOAA Alerts
User avatar
GlennNZ
Posts: 1873
Joined: Sun Dec 07, 2014 3:33 pm
Location: Central Coast, Australia

Re: Enphase Envoy-S Solar Power Plugin (with Panel Monitorin

Post by GlennNZ »

Bollar wrote:
GlennNZ wrote:
Do you have web page access? (seems so some reading)

The basic info on Envoy-S is http://IP/production.json
But if web access - Chrome Debug will point to other links as well (googling as I type)

Glenn
Yes, here's a script a wrote a couple of years ago:

Code: Select all

import urllib2
import simplejson

f = urllib2.urlopen('http://envoy.bollar.com/api/v1/production')
json_string = f.read()
parsed_json = simplejson.loads(json_string)

enphaseCurrentPower = parsed_json['wattsNow']
enphaseEnergyLifetime = parsed_json['wattHoursLifetime']
enphaseEnergyToday = parsed_json['wattHoursToday']
enphaseEnergyWeek = parsed_json['wattHoursSevenDays']

indigo.variable.updateValue(1404241247, value=str(enphaseCurrentPower))
indigo.variable.updateValue(1837054298, value=str(enphaseEnergyLifetime))
indigo.variable.updateValue(1329850163, value=str(enphaseEnergyToday))
indigo.variable.updateValue(1342408763, value=str(enphaseEnergyWeek))

f.close()
And the results from the raw call:

Code: Select all

{
  "wattHoursToday": 32167,
  "wattHoursSevenDays": 234269,
  "wattHoursLifetime": 66336922,
  "wattsNow": 0
}
Like I said. Limited. I switched to getting my data from the online version of the API.
My version has the same result from that query - but I don't use that API result - because it is so limited.

There is far much more info available through the non-API - straight to what they web client uses such as production.json result above, or
http://ip/inventory.json
&
http://IP/backbone/application.js?version=04.02.43
(for javascript app with all the links buried deep)

Presumably you get nothing with these calls?

Glenn
Bollar
Posts: 528
Joined: Sun Aug 11, 2013 3:14 pm

Re: Enphase Envoy-S Solar Power Plugin (with Panel Monitorin

Post by Bollar »

GlennNZ wrote:
Bollar wrote:
GlennNZ wrote:
Do you have web page access? (seems so some reading)

The basic info on Envoy-S is http://IP/production.json
But if web access - Chrome Debug will point to other links as well (googling as I type)

Glenn
Yes, here's a script a wrote a couple of years ago:

Code: Select all

import urllib2
import simplejson

f = urllib2.urlopen('http://envoy.bollar.com/api/v1/production')
json_string = f.read()
parsed_json = simplejson.loads(json_string)

enphaseCurrentPower = parsed_json['wattsNow']
enphaseEnergyLifetime = parsed_json['wattHoursLifetime']
enphaseEnergyToday = parsed_json['wattHoursToday']
enphaseEnergyWeek = parsed_json['wattHoursSevenDays']

indigo.variable.updateValue(1404241247, value=str(enphaseCurrentPower))
indigo.variable.updateValue(1837054298, value=str(enphaseEnergyLifetime))
indigo.variable.updateValue(1329850163, value=str(enphaseEnergyToday))
indigo.variable.updateValue(1342408763, value=str(enphaseEnergyWeek))

f.close()
And the results from the raw call:

Code: Select all

{
  "wattHoursToday": 32167,
  "wattHoursSevenDays": 234269,
  "wattHoursLifetime": 66336922,
  "wattsNow": 0
}
Like I said. Limited. I switched to getting my data from the online version of the API.
My version has the same result from that query - but I don't use that API result - because it is so limited.

There is far much more info available through the non-API - straight to what they web client uses such as production.json result above, or
http://ip/inventory.json
&
http://IP/backbone/application.js?version=04.02.43
(for javascript app with all the links buried deep)

Presumably you get nothing with these calls?
I get nothing (a 404) from the first one, even if I try the api/v1 path but a whole bunch of jquery data from the second.
Insteon / Z-Wave / Bryant Evolution Connex /Tesla / Roomba / Elk M1 / SiteSage / Enphase Enlighten / NOAA Alerts
User avatar
GlennNZ
Posts: 1873
Joined: Sun Dec 07, 2014 3:33 pm
Location: Central Coast, Australia

Re: Enphase Envoy-S Solar Power Plugin (with Panel Monitorin

Post by GlennNZ »

Can you post me the javascript - probably zip and attach.
Its essentially the web code for running the page - and will in there somewhere have the pages with the raw data.

Glenn
Bollar
Posts: 528
Joined: Sun Aug 11, 2013 3:14 pm

Re: Enphase Envoy-S Solar Power Plugin (with Panel Monitorin

Post by Bollar »

GlennNZ wrote:Can you post me the javascript - probably zip and attach.
Its essentially the web code for running the page - and will in there somewhere have the pages with the raw data.
Sure, here you go. It has a .txt extension, but it's a .zip
Attachments
Enphase Local API jquery.txt
(174.12 KiB) Downloaded 244 times
Insteon / Z-Wave / Bryant Evolution Connex /Tesla / Roomba / Elk M1 / SiteSage / Enphase Enlighten / NOAA Alerts
User avatar
GlennNZ
Posts: 1873
Joined: Sun Dec 07, 2014 3:33 pm
Location: Central Coast, Australia

Re: Enphase Envoy-S Solar Power Plugin (with Panel Monitorin

Post by GlennNZ »

Bollar wrote:
GlennNZ wrote:Can you post me the javascript - probably zip and attach.
Its essentially the web code for running the page - and will in there somewhere have the pages with the raw data.
Sure, here you go. It has a .txt extension, but it's a .zip
Cool
Thanks
Will see what I can find - when back on computer
Glenn


Sent from my iPhone using Tapatalk
User avatar
GlennNZ
Posts: 1873
Joined: Sun Dec 07, 2014 3:33 pm
Location: Central Coast, Australia

Re: Enphase Envoy-S Solar Power Plugin (with Panel Monitorin

Post by GlennNZ »

Bollar wrote:
GlennNZ wrote:Can you post me the javascript - probably zip and attach.
Its essentially the web code for running the page - and will in there somewhere have the pages with the raw data.
Sure, here you go. It has a .txt extension, but it's a .zip
Looking Now (and will edit post) Hard to tell if software is for multiple versions though.
But...

Try
http://IP/inv
http://IP/
http://IP/api/v1/production/inverters
(this should be panel ouput)
might need password
http://ivp/tpm/tpmstatus

Think that is about it -- if they work then you are missing more detailed consumption/production info - but rest depends on output of /inv and /api/v1/production/inverters (if they are similar then could add another device model for this device - and hopefully still get per panel output)

Let me know how you go.

Glenn


Glenn
Bollar
Posts: 528
Joined: Sun Aug 11, 2013 3:14 pm

Re: Enphase Envoy-S Solar Power Plugin (with Panel Monitorin

Post by Bollar »

GlennNZ wrote:
Bollar wrote:
GlennNZ wrote:Can you post me the javascript - probably zip and attach.
Its essentially the web code for running the page - and will in there somewhere have the pages with the raw data.
Sure, here you go. It has a .txt extension, but it's a .zip
Looking Now (and will edit post) Hard to tell if software is for multiple versions though.
But...

Try
http://IP/inv
http://IP/
http://IP/api/v1/production/inverters
(this should be panel ouput)
might need password
http://ivp/tpm/tpmstatus

Think that is about it -- if they work then you are missing more detailed consumption/production info - but rest depends on output of /inv and /api/v1/production/inverters (if they are similar then could add another device model for this device - and hopefully still get per panel output)

Let me know how you go.
Interesting - the password on the two pages that require passwords isn't known to me - I left it at admin/admin and confirmed that I can get into the administration page. I'll have to see if someone has published it somewhere.
Insteon / Z-Wave / Bryant Evolution Connex /Tesla / Roomba / Elk M1 / SiteSage / Enphase Enlighten / NOAA Alerts
User avatar
GlennNZ
Posts: 1873
Joined: Sun Dec 07, 2014 3:33 pm
Location: Central Coast, Australia

Re: Enphase Envoy-S Solar Power Plugin (with Panel Monitorin

Post by GlennNZ »

Password for new system is
envoy (all lowercase)
and

last 6 digits of serial number

Glenn
Bollar
Posts: 528
Joined: Sun Aug 11, 2013 3:14 pm

Re: Enphase Envoy-S Solar Power Plugin (with Panel Monitorin

Post by Bollar »

GlennNZ wrote:Password for new system is
envoy (all lowercase)
and

last 6 digits of serial number
No, that and variations I could think of didn't work - will hunt around.
Insteon / Z-Wave / Bryant Evolution Connex /Tesla / Roomba / Elk M1 / SiteSage / Enphase Enlighten / NOAA Alerts
midd
Posts: 374
Joined: Sun Apr 18, 2010 3:00 pm

Re: Enphase Envoy-S Solar Power Plugin (with Panel Monitorin

Post by midd »

I must have the Envoy legacy module too because the Envoy in my device column is saying unknown.
M4 Mac mini.
Bollar
Posts: 528
Joined: Sun Aug 11, 2013 3:14 pm

Re: Enphase Envoy-S Solar Power Plugin (with Panel Monitorin

Post by Bollar »

midd wrote:I must have the Envoy legacy module too because the Envoy in my device column is saying unknown.
The legacy Envoy looks kind of like a pill - rectangular with rounded edges. The Envoy-S is definitely rectangular with sharp edges.

I'd consider upgrading, but it's $500.
Insteon / Z-Wave / Bryant Evolution Connex /Tesla / Roomba / Elk M1 / SiteSage / Enphase Enlighten / NOAA Alerts
Post Reply

Return to “Enphase Envoy Solar”