grzegorz914 / homebridge-enphase-envoy

Homebridge plugin for Photovoltaic Energy System manufactured by Enphase. Supported Envoy-IQ, Envoy-S and all peripheral devices.
MIT License
52 stars 9 forks source link

Is there anyway you can implement the Encharge batteries and Enpower to show their info? #66

Closed HunterEnphase closed 1 year ago

HunterEnphase commented 1 year ago

Here is the address below for the Encharge battery and Enpower status. Thanks. https://envoy/ivp/ensemble/inventory

grzegorz914 commented 1 year ago

Reboot whole Homebridge please.

HunterEnphase commented 1 year ago

Ok no errors

grzegorz914 commented 1 year ago

OK, I think can be pushed as release. Thanks for Your time and testing 👍

HunterEnphase commented 1 year ago

No problem, if you need anything else, just let me know!

grzegorz914 commented 1 year ago

I have fixed wireless connection kit characteristic, can You Check v6.0.7 and get the log?

HunterEnphase commented 1 year ago

This?

[30/12/2022, 23:29:53] [homebridge-enphase-envoy] Device: 192.168.1.11 Envoy, Wireless connection: ZigBee [30/12/2022, 23:29:53] [homebridge-enphase-envoy] Device: 192.168.1.11 Envoy, Wireless connection: ZigBee, state: Connected [30/12/2022, 23:29:53] [homebridge-enphase-envoy] Device: 192.168.1.11 Envoy, Wireless connection: ZigBee, signal strength: 0 % [30/12/2022, 23:29:53] [homebridge-enphase-envoy] Device: 192.168.1.11 Envoy, Wireless connection: ZigBee, signal strength mex: 0 % [30/12/2022, 23:29:53] [homebridge-enphase-envoy] Device: 192.168.1.11 Envoy, Wireless connection: Sub GHz [30/12/2022, 23:29:53] [homebridge-enphase-envoy] Device: 192.168.1.11 Envoy, Wireless connection: Sub GHz, state: Connected [30/12/2022, 23:29:53] [homebridge-enphase-envoy] Device: 192.168.1.11 Envoy, Wireless connection: Sub GHz, signal strength: 0 % [30/12/2022, 23:29:53] [homebridge-enphase-envoy] Device: 192.168.1.11 Envoy, Wireless connection: Sub GHz, signal strength mex: 0 %

HunterEnphase commented 1 year ago

This plugin threw an error from the characteristic 'PLC level': Unhandled error thrown inside read handler for characteristic: Cannot read properties of undefined (reading '3'). See https://homebridge.io/w/JtMGR for more info.

HunterEnphase commented 1 year ago

It's actually doing that to all the inverters and encharge batteries

grzegorz914 commented 1 year ago

Can you get the complete debug log

HunterEnphase commented 1 year ago

Sorry I am currently on vacation will be back next week and will get it to you.

This shows up when ensemble status is checked. Device: 192.168.1.11 Envoy, Update ensemble status data error: AxiosError: Request failed with status code 401, reconnect in 15s.

This shows up when PLC level is checked. Device: 192.168.1.11 Envoy, Update plc level data error: AxiosError: Request failed with status code 401, reconnect in 15s.

If these aren't checked, then it functions normally.

grzegorz914 commented 1 year ago

Thank, it added but not all firmware support this. If error occur need to disable it at this time.

HunterEnphase commented 1 year ago

6.3.2 and 6.3.3 beta shows this, reverting to 6.3.1 Device: 192.168.1.11 Envoy, Update meters data error: AxiosError: Request failed with status code 401, reconnect in 15s.

grzegorz914 commented 1 year ago

can you try 6.3.3-beta.2 and regenerate your token

grzegorz914 commented 1 year ago

please try 6.4.0 latest beta and get the debug log please

HunterEnphase commented 1 year ago

6.4 I am still on vacation, I will get it to you when I get back. Thanks. [16/01/2023, 01:16:00] [homebridge-enphase-envoy] Device: 192.168.1.11 Envoy, Update home data error: TypeError: this.wirelessConnectionsConnected.contain is not a function, reconnect in 15s.

HunterEnphase commented 1 year ago

6.4 beta 21 says the same thing

grzegorz914 commented 1 year ago

6.4.1 fixed this, will publish asap