I am finally getting around to trying out this driver. I imported the code from "scott1620 Ā· GitHub" (Is this the correct one to use?) and I got it working right away:
My only question now is what are these attributes? I looked through this thread but it was mostly people arguing about the financial incentives of solar.
For example: I see "Current ACT Consumption" and "Consumption": I don't have a consumption meter installed on my system so where are these numbers coming from and what do they mean?
The values come from the Enphase Application. See pictures below. Also, you can see videos explaining the app (and values) at: Enphase App - Bing video
Well first they can't come from the "App" because this driver connects to my local Envoy, not the enlighten cloud service. I have 3 Envoy's and the Enlighten cloud service combines data from all three to display in the App.
I have the app and have been using it for many years. Neither of these consumption numbers show up in the app for me. Presumably because, like I said, I don't have a consumption meter. So without a consumption meter I'm not understanding how these numbers are being derived?
There is also no "efficiency" number in the app. What could that possibly refer to? My efficiency over the last 7 days was 3.12? Lifetime efficiency is "NA"? I looked at the code and I see where this number is being calculated but I'm not sure what information it's trying to portray.
It's also odd that "energy_last7days" is larger than "energy_life". I suspect one is kWh and one is MWh. Not sure if those are expected to be different units.
I'm also curious about the "powerTable" and "energyTable" variables. Looking at the code these seem to be for graphing. And in the thread I see people have posted graphs. How does one set up these graphs?
As you can see: None of these details would be found in your YouTube video about the app.
This doesn't seem to work for me because I believe that with the new Envoy systems you cannot access your local device json endpoints without obtaining a token by login into https://entrez.enphaseenergy.com
I am not sure how long lived that token is or how to refresh it (other than going through the UI).
Once I log in, I can obtain a token and can hit the JSON endpoint. I am guessing that other gateways do it differently since you can hit the local endpoint without auth. Any chance someone has solved this issue?
Can someone help, for some reason my Installation Date in "Devices" is showing up as -1. I tried updating the code and it still not populating it. So basically when I look at my Solar Graph App, it shows Null Lifetime and Efficiency.
I am in the process of upgrading the Legacy Envoy to a Envoy-S. So, I thought I would upgrade the Hubitat driver and App. Now my current legacy envoy does not support JSON so it falls back to the HTML code. But after installing the newest driver it appears to be capped at 1000 watts.
I deleted the old App and driver code to install the new.
Once I dropped back to the old driver the power level went to normal.
Since this driver didn't work with my Envoy-S meters due to the new token based authentication method introduces with the new firmware, I have created a simple driver just to pull production data from the Envoy.
Is it possible to pull energy USAGE from the envoy using this? I have the drivers working fine to show me production, but i'd like to have the house usage nice and bold on a dashboard.
Any chance you can use this to poll the status of what the Enphase system is pulling from?
I'm hoping that there is a way we can poll the Envoy S, to know if we are running on grid, off grid, on battery or etc or battery charge level.
Then I could set a rules engine to do something, IE, if running on Battery with Grid Down, set Ecobee Temp to 78 Degree's. If battery charge level is below 15% turn Ecobee's off.
This token based driver has been great. I was wondering if anyone with more coding knowledge than me would be able to update the app that nh.schottfam made with the new token based driver so that we could get some cool production graphs out of it.
I've been using vpsupun's driver with the hubigraphs app to get graphs. Setting up the graphs is a bit painful and it's not nearly as pretty as the other app, but it does work.
Is there any way to adjust the driver to not show the consumption down to the decimal point i'm using hd+ and the consumption output is like 621.123468468549846984984 i would it to just stop at the decimal point like just 621 which is what you see when you log into the enphase envoy-s