Closed HunterEnphase closed 1 year ago
This is already integrated but not tested because I don’t have encharges and empower, if you want to help please enable debug mode in plugin Config advanced section and get the log after HB restart.
I have 28 microinverters, IQ system controller, Envoy, and I have 3 10T encharge batteries, it should show 9 3T batteries. Hope this helps!
[27/12/2022, 19:42:38] [homebridge-enphase-envoy] Restarting Process... [27/12/2022, 19:42:39] [homebridge-enphase-envoy] Launched child bridge with PID 31406 [27/12/2022, 19:42:40] Registering platform 'homebridge-enphase-envoy.enphaseEnvoy' [27/12/2022, 19:42:40] [homebridge-enphase-envoy] Loaded homebridge-enphase-envoy v6.0.4 child bridge successfully [27/12/2022, 19:42:40] Loaded 0 cached accessories from cachedAccessories.. [27/12/2022, 19:42:40] Homebridge v1.6.0 (HAP v0.11.0) (homebridge-enphase-envoy) is running on port 38124. [27/12/2022, 19:42:40] [homebridge-enphase-envoy] Device: envoy Envoy, debug validate jwt token: <!DOCTYPE html>
Thanks for the log this help me to fully integrate ensemble devices, im pushed 6.0.5-beta.0 to test. Please check this version and let me know, the log can be attached as a file.
Getting this error Device: envoy Envoy, ensemble inventory error: TypeError: Cannot read properties of undefined (reading 'part_num'), reconnect in 15s. homebridge.log (1).txt
fixed in beta.4, try again
Getting this error now Device: envoy Envoy, ensemble inventory error: TypeError: Cannot read properties of undefined (reading 'grid_profile_name'), reconnect in 15s. homebridge.log.txt
fixed in beta.5
New error lol Device: envoy Envoy, ensemble status error: AxiosError: Request failed with status code 401, reconnect in 15s. homebridge.log (1).txt
please try beta.6
Showing this now. Device: envoy Envoy, ensemble status error: Error: self-signed certificate, reconnect in 15s. homebridge.log.txt
try again beta.7
Back to this Device: envoy Envoy, ensemble status error: AxiosError: Request failed with status code 401, reconnect in 15s.
Strange, beta.8 ready
Device: envoy Envoy, home error: TypeError: Cannot read properties of undefined (reading 'updateCharacteristic'), reconnect in 15s.
OK, beta.9 fixed
It started reading again, but same error. [28/12/2022, 14:39:26] [homebridge-enphase-envoy] Device: envoy Envoy, home error: TypeError: Cannot read properties of undefined (reading 'updateCharacteristic'), reconnect in 15s.
Try beta.10
Same also new one. [28/12/2022, 15:35:19] [homebridge-enphase-envoy] Device: envoy Envoy, home error: TypeError: Cannot read properties of undefined (reading 'updateCharacteristic'), reconnect in 15s. [28/12/2022, 15:35:26] [homebridge-enphase-envoy] This plugin generated a warning from the characteristic 'Real power': characteristic value expected valid finite number and received "NaN" (number). See https://homebridge.io/w/JtMGR for more info.
Beta.11 ready
[28/12/2022, 16:30:56] [homebridge-enphase-envoy] Device: envoy Envoy, requesting info error: AxiosError: Request failed with status code 504, reconnect in 15s.
Looks like the gateway timed out, going to disable the plugin for a bit, might be too many requests, will report back later.
Looks like it's reporting fine according to the logs, but I removed the bridge and added again but the accessories for it is not showing up, does it take awhile before it shows up?
Can you post the log too? Are you added it to the Home.app? If yes to show all data need to use EVE or Controller app because Home.app does not support custom characteristics.
Yes I've added to the Home.app and it only shows that I've added the bridge, no accessories show up. Yes I use the Eve app to see the stats. Here is the log. Thanks! homebridge.log (1).txt
You need add the accessory itself to the Home.app, the bridge is irrelevant. If you don’t see the accessory to add in Home.app try this: https://github.com/grzegorz914/homebridge-enphase-envoy/wiki#troubleshooting
In other case can you check this link: https://envoy.local/ivp/livedata/status and get me the output?
Here you go, will try the troubleshooting. livestatus.txt
Got it! Had to go into Homebridge settings, Unpair Bridges / Cameras / TVs / External Accessories and removed the envoy bridges and accessories as the troubleshooting didn't work. The Eve app reports now! Thanks!
Im pushed beta.12 added wirelecconnectionskit to test, please try it with log
Error showed up [29/12/2022, 00:26:14] [homebridge-enphase-envoy] Device: envoy Envoy, home error: TypeError: Cannot read properties of undefined (reading 'updateCharacteristic'), reconnect in 15s.
ok, try beta.13
Same error but still reports [29/12/2022, 00:41:57] [homebridge-enphase-envoy] Device: envoy Envoy, home error: TypeError: Cannot read properties of undefined (reading 'updateCharacteristic'), reconnect in 15s.
14 ready for test
Same [29/12/2022, 01:04:50] [homebridge-enphase-envoy] Device: envoy Envoy, home error: TypeError: Cannot read properties of undefined (reading 'updateCharacteristic'), reconnect in 15s.
try 15
Yep that was 15.
then check 16
Same: "alerts": [], "update_status": "not-satisfied", "wireless_connection": [ { "signal_strength": 0, "signal_strength_max": 0, "type": "zigbee", "connected": true }, { "signal_strength": 0, "signal_strength_max": 0, "type": "subghz", "connected": true } ], "enpower": { "connected": true, "grid_status": "closed" } } [29/12/2022, 01:19:24] [homebridge-enphase-envoy] Device: envoy Envoy, home error: TypeError: Cannot read properties of undefined (reading 'updateCharacteristic'), reconnect in 15s.
17 ready
It's good no errors.
Log please
Heading to bed, thanks! homebridge.log (1).txt
beta.22 should display enpower, try and get the log please.
Please check also output from: https://envoy.local/ivp/ensemble/status
It stops at enpower, doesn't report either to homekit either. Can't access (https://envoy.local/ivp/ensemble/status) Says 401 and returns to home, password and token inputted but still returns to home. homebridge.log (2).txt
Fixed in beta.25
Error below but reports now This plugin threw an error from the characteristic 'Status': Unhandled error thrown inside read handler for characteristic: Cannot read properties of undefined (reading '0'). See https://homebridge.io/w/JtMGR for more info.
Log will help to fix this warning
Fixed in beta.26
Ok trying 26 now
Looks like it's timing out, have to wait for a bit
[29/12/2022, 13:20:49] [homebridge-enphase-envoy] Launched child bridge with PID 18111 [29/12/2022, 13:20:49] Registering platform 'homebridge-enphase-envoy.enphaseEnvoy' [29/12/2022, 13:20:50] [homebridge-enphase-envoy] Loaded homebridge-enphase-envoy v6.0.5-beta.26 child bridge successfully [29/12/2022, 13:20:50] Loaded 0 cached accessories from cachedAccessories.0EB539B8CD32. [29/12/2022, 13:20:50] Homebridge v1.6.0 (HAP v0.11.0) (homebridge-enphase-envoy) is running on port 48054. [29/12/2022, 13:20:50] [homebridge-enphase-envoy] Device: envoy Envoy, debug validate jwt token: <!DOCTYPE html>
Here is the address below for the Encharge battery and Enpower status. Thanks. https://envoy/ivp/ensemble/inventory