Solar ·
Enphase counts every request against the plan's monthly allowance, so the feed works out
its own pace from what is left of it rather than asking on a fixed clock. The panels and the house's
draw arrive quarter-hourly for the last fortnight and as daily totals for the whole life of the system;
the batteries' charge only goes back as far as this app has been collecting it.
Home Assistant can also push the gateway's own readings every minute over the
house's sensor token — free, live, and with no call budget at all. The two sit together: the cloud
feed owns the years of history, the push owns the last minute, and the graph prefers the live one
wherever it has something to say. The Envoy block is in deploy/home-assistant.yaml.
Create an application at developer.enphase.com, then paste its client id,
client secret and API key below. Authorise opens Enphase in a new tab: approve the
application there and paste back the code it shows you. Codes expire within minutes.