briancmpbll / home_assistant_custom_envoy

177 stars 77 forks source link

Improvment #152

Open TGgrimreaper opened 1 year ago

TGgrimreaper commented 1 year ago

Is it possible to ad; Microinverter temperature DC voltage DC current?

I see them in my app from enphase so the data shut be there.

catsmanac commented 1 year ago

Thanks for asking @TGgrimreaper.

Micro Inverter temperature is only accessible using an installer account for the Envoy. This integration does not provide access to installer account pages, only those accessible with home owner account. If you have an installer account and want to access installer pages on the Envoy you may want to consider using @vincentwolsink 's installer integration or some other alternative.

DC Voltage and DC Current are not available either and are Micro Inverter based as well. I assume, but don't know, these are available using the installer account as well as that seems to provide access to inverter details.

TGgrimreaper commented 1 year ago

Well the weird part then is that i dont have a installer account but i can see them when i logon to the enphase website>?

catsmanac commented 1 year ago

The integration is not accessing the Enphase website but the Envoy locally. I'm not aware of a page on the Envoy we can access with homeowner account to get that data. If you know one we can add it I guess.

catsmanac commented 1 year ago

The DC Voltage and current are available in https://{}/ivp/peb/devstatus. I tried om my Envoy but I get 401 unauthorized when using my Home owner account.

simonvanderveldt commented 1 year ago

@catsmanac Wouldn't it make more sense to have one integration for all types of accounts (home owner, DIY, intaller)? Or is this problematic/not feasible for some reason?

catsmanac commented 1 year ago

@simonvanderveldt Yes generally that would make more sense. Looks like history did not see that happen.

Within the limitations I have I don't mind adding this functionality, now I'm retired it's actually fun doing. Glad I can contribute to this as @briancmpbll's solution helped me out in February when I got my installation and was hit by the token issue right away. But just duplication something that's out there already doesn't make too much sense either.