briancmpbll / home_assistant_custom_envoy

176 stars 77 forks source link

Legacy Envoy stopped working in versions 0.0.12 & 0.0.13 #115

Closed madbrain76 closed 1 year ago

madbrain76 commented 1 year ago

Using an Envoy LCD (Envoy-R) I had to revert back to 0.0.11 to get it to work again. There is a regression in 0.0.12 that broke the legacy Envoy.

Note that also have an IQ Envoy in addition, but I don't think it matters. The IQ Envoy still works in versions 0.0.12/0.0.13 .

madbrain76 commented 1 year ago

Arie, http://envoy.localdomain/info.xml returns 404 (page not found) for me on my Envoy-R (LCD). Enphase just notified me yesterday they will RMA this unit for an Envoy-S, which might be XML capable. It will be interesting to see how HA integrations will handle a gateway swap. The reason for the RMA is that the R version can't update firmware on a few of my M215 IQ7, but apparently the -S can.

DMedina559 commented 1 year ago

@catsmanac 192.168.86.29/info worked for me

/info.xml gave me a 404 error

info.txt

catsmanac commented 1 year ago

Arie, http://envoy.localdomain/info.xml returns 404 (page not found) for me on my Envoy-R (LCD). Enphase just notified me yesterday they will RMA this unit for an Envoy-S, which might be XML capable. It will be interesting to see how HA integrations will handle a gateway swap. The reason for the RMA is that the R version can't update firmware on a few of my M215 IQ7, but apparently the -S can.

Thanks Julien. Did http://envoy.localdomain/info without .xml work?

That ENVOY-s standard is what I have and it does xml and as I understand it they can update inverters indeed.

catsmanac commented 1 year ago

@catsmanac 192.168.86.29/info worked for me

/info.xml gave me a 404 error

info.txt

Thanks @DMedina559, looks like your ok for that upcoming core one.

madbrain76 commented 1 year ago

Screenshot_20230807_132407_Firefox

catsmanac commented 1 year ago

Thanks, does http://envoy.localdomain/production do anything?

madbrain76 commented 1 year ago

Screenshot_20230807_134151_Firefox

catsmanac commented 1 year ago

Thanks, that's an html page which will not work with new core (not an issue anymore with your rma). Does adding .xml work?

DMedina559 commented 1 year ago

@catsmanac I got the same exact page as @madbrain76 for /production and adding .xml gave a 404 error

catsmanac commented 1 year ago

@catsmanac I got the same exact page as @madbrain76 for /production and adding .xml gave a 404 error

@DMedina559 I think yours also has /api/v1/production.json that reports numbers in the right format (json is also ok)

DMedina559 commented 1 year ago

Oh you are correct just checked and it showed up. Good to know, thank you :)

madbrain76 commented 1 year ago

On my Envoy-R device, the /api/v1/production.json URI is unavailable (404).

DMedina559 commented 1 year ago

On my Envoy-R device, the /api/v1/production.json URI is unavailable (404).

I had to remove the .json for mine to show. You could try that

madbrain76 commented 1 year ago

Same with or without .json on my Envoy-R - 404. /production works, though, but it's HTML, not json .

catsmanac commented 1 year ago

Thanks for testing @madbrain76 and @DMedina559. It confirms expectations that envoy LCD with firmware before R9 only has the data in an html page which will not be supported by new HA Core version. The newer fw from R9 and up have the api/v1/production page that is supported.

The solution for old ones is to continue using this integration from @briancmpbll with the recent adds by @posixx and the pending fix for legacy. When @posixx is back from vacation he maybe can review the pr to fix the issue with the legacy so this one has support for legacy.

madbrain76 commented 1 year ago

@catsmaniac, FYI, I got the RMA Envoy-S to replace the Envoy-R. Everything went flawlessly with this integration. I deleted the Envoy-R from the Envoy devices in the integration, and added the Envoy-S. I was still able to keep the HA statistics from the Envoy-R even though its sensor is no longer exposed by the integration. The migration went as well as it possibly could have. So, no more Envoy-R LCD testing for me.

catsmanac commented 1 year ago

Good to hear it went flawless @madbrain76. Thanks for all the testing you did on the LCD. Since I think you now have a ENVOY-s Standard, a Gateway/Envoy metered without CT clamps and a Gateway / Envoy metered one with CT clamps you still be an appreciated test candidate 😄.

madbrain76 commented 1 year ago

Yes, I'll be sure to continue testing. Both my IQ Gateways (one IQ combiner 4, one IQ Envoy PCB) have clamps actually, only the Envoy-S (standard) has no clamps, same as the Envoy-R it replaced.

catsmanac commented 1 year ago

👍

There's a beta release for v0.0.14 for https://github.com/briancmpbll/home_assistant_custom_envoy, enable beta versions in HACS. That is the version we tested in DEV-TEST and in the DEV-2-CORE before and is now migrated back here..

catsmanac commented 1 year ago

V0.0.15 is published which is v0.0.14 with a fix for battery charge and discharge not showing. @DMedina559 that would be the conclusion of this issue with legacy.

@madbrain76 and @DMedina559 if your interested in energy import and export, there's a test of that reading from ivp/meters/readings

catsmanac commented 1 year ago

Solved as of v0.0.14. Current version is v0.0.17