grzegorz914 / homebridge-enphase-envoy

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

Requesting inventory error: TypeError: Cannot read properties of undefined (reading 'updateCharacteristic') #121

Closed echamberlain closed 8 months ago

echamberlain commented 8 months ago

I'm getting the following error while trying to set up a new install:

[15/01/2024, 08:34:22] [homebridge-enphase-envoy] Device: envoy.local Envoy, Requesting inventory error: TypeError: Cannot read properties of undefined (reading 'updateCharacteristic'). Trying again in 15s.
[15/01/2024, 08:34:45] [homebridge-enphase-envoy] Device: envoy.local Envoy, Requesting inventory error: TypeError: Cannot read properties of undefined (reading 'updateCharacteristic'). Trying again in 15s.

Any ideas on how I can fix this?

grzegorz914 commented 8 months ago

Go to,plugin settings Advanced Settings>>System>>Debug enable it and get the whole log.

grzegorz914 commented 8 months ago

Fixed in 7.9.3

echamberlain commented 8 months ago

Here are the logs:

homebridge-enphase-envoy.log

echamberlain commented 8 months ago

Hmm, I get the same error with 7.9.3.

[15/01/2024, 09:20:03] [homebridge-enphase-envoy] Device: envoy.local Envoy, debug: Prepare Ensemble 202304012499 service [15/01/2024, 09:20:03] [homebridge-enphase-envoy] Device: envoy.local Envoy, Prepare accessory error: TypeError: Service.enphaseEnsembleService is not a constructor Trying again in 15s. ... [15/01/2024, 09:20:28] [homebridge-enphase-envoy] Device: envoy.local Envoy, debug: Requesting inventory. [15/01/2024, 09:20:33] [homebridge-enphase-envoy] Device: envoy.local Envoy, debug: Inventory: [ [15/01/2024, 09:20:34] [homebridge-enphase-envoy] Device: envoy.local Envoy, Requesting inventory error: TypeError: Cannot read properties of undefined (reading 'updateCharacteristic'). Trying again in 15s.

grzegorz914 commented 8 months ago

This was other error, fixed in 7.9.4

echamberlain commented 8 months ago

Thanks for the quick turnaround. The error is gone.