The data contained on the production.json is wrong in the R4.10.35 (6ed292) firmware, returning incorrect values when compared to the values obtained in the http://envoy/api/v1/production URL
As you can see the values for wNow, whToday, whLastSevenDays and whLifetime do not match the ones on the production API (that the enphase smartphone app shows). So the correct values should be scraped from the /api/v1/production API
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
Home Assistant release with the issue:
Home Assistant 0.104.0
Last working Home Assistant release (if known): Unknown
Operating environment (Hass.io/Docker/Windows/etc.):
Hassio running Docker on Ubuntu 18.04
Integration:
https://www.home-assistant.io/integrations/enphase_envoy/
Description of problem:
First, the sensor.py spits a python error gathering states from the /api/v1/production/inverters API. Included traceback for debugging.
Second, the Integration seems to be scraping the data from http://envoy/production.json URL and not the http://envoy/api/v1/production URL available on envoy firmware R4.10.35 (6ed292).
The data contained on the production.json is wrong in the R4.10.35 (6ed292) firmware, returning incorrect values when compared to the values obtained in the http://envoy/api/v1/production URL
Production.json.
/api/v1/production
As you can see the values for wNow, whToday, whLastSevenDays and whLifetime do not match the ones on the production API (that the enphase smartphone app shows). So the correct values should be scraped from the /api/v1/production API
Problem-relevant
configuration.yaml
entries and (fill out even if it seems unimportant):Traceback (if applicable):
Additional information: Enphase Envoy Firmware: R4.10.35
Sample of the output for the http://envoy/api/v1/production/inverters on the R4.10.35 is as follows: