Comments (9)
Hi @greggitter, any idea if anything happened around the time of the red circle? HA update, HA restart, power outage.......
The first day on the left in the screenshot is drawn from state data, while on the right of the red circle the data seems to be drawn from statistical data, the 1 hour intervals you refer too. Typically it's the other way around as state data is only stored for a limited number of days. So this could be something related to your HA internals as well (https://community.home-assistant.io/t/psa-2024-7-recorder-problems/746428).
To start with a simple check to validate if this is an envoy issue or not, first enable debug on the Envoy integration. Let it run for some 30 min and disable it again. The log file will download to your device. In the log file you can find the raw data that came from the envoy. Look for log entries like below. as you mentioned, individual entries should update every 5 minutes. And each inverter will probably change at a different moment in time
2024-06-06 08:08:03.049 DEBUG (MainThread) [custom_components.enphase_envoy.envoy_reader] Fetched (1 of 2) in 0.2 sec from https://10.1.6.126/api/v1/production/inverters: <Response [200 OK]>: [
{
"serialNumber": "987654321012",
"lastReportDate": 1717657462,
"devType": 1,
"lastReportWatts": 99,
"maxReportWatts": 294
},
{
"serialNumber": "987654321013",
"lastReportDate": 1717657013,
"devType": 1,
"lastReportWatts": 101,
"maxReportWatts": 292
},
{
If no changes are visible resume the debug log to span at least 2 hours and check again.
from home_assistant_custom_envoy.
No, no power anomalies or anything...I verified the api inverter page and it is definitely the source of the aged data. Nothing wrong with HA. Just wondered if anyone else is now seeing this. Haven't heard back from Enphase yet. I think I'll try rebooting the Envoy tonight after the sun sets (or just before). Thx.
from home_assistant_custom_envoy.
I think I'll try rebooting the Envoy tonight after the sun sets (or just before).
Rebooting the envoy would be my next suggestion indeed.
So the inverter data is stale, but HA communication with the Envoy is just working fine?
from home_assistant_custom_envoy.
I think I'll try rebooting the Envoy tonight after the sun sets (or just before).
Rebooting the envoy would be my next suggestion indeed.
So the inverter data is stale, but HA communication with the Envoy is just working fine?
Yes, that's what I'm seeing...HA is updating my dashboard every 15 seconds with correct data regarding production and load, which is obviously more important for history tracking. Verifying the enphase api web page for inverters...that data appears stale and basically the same data HA retrieved.
An example of some inverters from the API now shows as below (local time is 10:13 AM); I'm not sure what format the timestamp is in, but the reported watts are closer to the 295 max number at the moment (direct sun) whereas HA is reporting one hour ago (stale) but matching the API data:
{
"serialNumber": "202245078365",
"lastReportDate": 1722172923,
"devType": 1,
"lastReportWatts": 188,
"maxReportWatts": 298
},
{
"serialNumber": "202245088446",
"lastReportDate": 1722172895,
"devType": 1,
"lastReportWatts": 192,
"maxReportWatts": 298
},
{
"serialNumber": "202245080469",
"lastReportDate": 1722173044,
"devType": 1,
"lastReportWatts": 194,
"maxReportWatts": 297
},
{
"serialNumber": "202245086566",
"lastReportDate": 1722172896,
"devType": 1,
"lastReportWatts": 193,
"maxReportWatts": 299
},
{
"serialNumber": "202245086568",
"lastReportDate": 1722172924,
"devType": 1,
"lastReportWatts": 194,
"maxReportWatts": 298
},
{
"serialNumber": "202245088408",
"lastReportDate": 1722172925,
"devType": 1,
"lastReportWatts": 194,
"maxReportWatts": 299
},```
EDIT: It just updated and 250w is the real time number.
from home_assistant_custom_envoy.
The timestamp is seconds since 1 January 1970
The first timestamp 1722172923 is 2024-07-28 13:22:03 in UTC. The second timestamp is 28 seconds earlier (2024-07-28 13:21:35), the third one 121 seconds later (2024-07-28 13:24:04) and so on.
If your local time is 10:13 and you are in utc-4 (based on the github email time) then the timestamp would be 09:22:03 am, so almost 50 min stale. Really curious indeed.
from home_assistant_custom_envoy.
@catsmanac thanks for deciphering and explaining.
EDIT: Rebooting Envoy had no effect.
from home_assistant_custom_envoy.
Spoke to enphase support, here's the summary of a 45+ minute call.
Site is fully operational and no issues found however we did discover that the API settings were changed to 1 hour reporting from five min and I have submitted a email to fix the issue.
It's been escalated to a different support team which can take up to 3 days but probably sooner I'm told. I'll update this post once resolved and close this thread.
from home_assistant_custom_envoy.
Thanks for the feedback @greggitter.
from home_assistant_custom_envoy.
I had to call Enphase again and after an hour the tech said he'd call back. I didn't expect this to get this resolved because this isn't something they deal with ever (at least this individual). He did call back and reported it resolved. There is a setting in the Enlighten Manager (on their end) called Polling Configuration and somehow, mine was changed on the 26th to 3600. The tech changed it back to 300 and it is operating per spec.
Documentation....
Get inverter production data
GET http://{IQ_Gateway_ip}/api/v1/production/inverters
Description: Returns the available microinverters' maximum and last reported active power
production information. This data will get updated once every five minutes.
https://enphase.com/download/accessing-iq-gateway-local-apis-or-local-ui-token-based-authentication (page 19)
from home_assistant_custom_envoy.
Related Issues (20)
- Current and Today's Energy Production with strange values/behaviour HOT 9
- Questions on migrating to new HA Core version HOT 8
- Missing all "net" entities and consumption amps entities, but CTs are installed and enabled HOT 7
- Question: Which Sensor shows the power consumption of the house HOT 2
- Filtrage des valeurs incohérentes HOT 5
- Current measurement does not look ok HOT 4
- disable power production by negative energy prices HOT 4
- All connection attempts failed HOT 16
- HA - Invalid authentication
- Entities have no value anymore after update envoy (automatically by enphase) on 01-04-2024 HOT 10
- Binary Sensor Grid Status no longer available HOT 3
- error communicating with API HOT 5
- support for enlighten v4 API HOT 3
- Question: Which Sensor shows the energy send to the grid? HOT 28
- "Production Current" is non-zero amps at night...huh? HOT 1
- Connectivity issues since a few days HOT 2
- Microinverters appear on wrong Envoy HOT 11
- 14,000kwH generated and it's only 10am. It went whacky HOT 5
- Power factor entities flood logbook HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from home_assistant_custom_envoy.