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 grid profile error: AxiosError: Request failed with status code 401. Trying again in 15s. #130

Closed rrebel01 closed 6 months ago

rrebel01 commented 6 months ago

After version update getting error: Requesting grid profile error: AxiosError: Request failed with status code 401. Trying again in 15s.

Tried reverting but no luck.

rrebel01 commented 6 months ago

upgrading to v7.11.11 or above wil give this issues.. below still works

grzegorz914 commented 6 months ago

debug please

grzegorz914 commented 6 months ago

401 is authorization error

rrebel01 commented 6 months ago

It started after upgrade to latest version. ive tried every version error is fixed after downgrading to v7.11.10

grzegorz914 commented 6 months ago

I don’t know what happened in your system, please post the debug log.

cyberb0b commented 6 months ago

Same issue here now. I received a firmware update last night (According to Enphase. I called with Enphase NL after missing all my Microinverters. I was told told that my grid profile was gone) . First local certificate error so I have entered Username, pass& serial and v7 firmware checkbox. (Now on fw D7.3.88). Message "Device: 10.10.1.248 Solar, Requesting grid profile error: AxiosError: Request failed with status code 401. Trying again in 15s." debug.txt

I paused the plugin for now. I doubt they like me knocking on their door, every 15 seconds.

grzegorz914 commented 6 months ago

Should be fixed, please let me know.

cyberb0b commented 6 months ago

(7.11.26) Homebridge does not want to start. Tried to enable debug log, but not getting any log entry at all, except for

[3/19/2024, 4:00:51 PM] ReferenceError: profile is not defined at /var/lib/homebridge/node_modules/homebridge-enphase-envoy/src/envoydevice.js:849:39 at processTicksAndRejections (node:internal/process/task_queues:95:5)

grzegorz914 commented 6 months ago

try again update

cyberb0b commented 6 months ago

So far it looks okay now! Much Appriciated. Especially with those new sensors! Time for me to put a homekit relais between my washmahine and dishwasher door sensor :)